/****************************************************************************
** Meta object code from reading C++ file 'searchwidget.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.4)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../src/ktorrent-5.1.0/plugins/search/searchwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'searchwidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_kt__SearchWidget_t {
    QByteArrayData data[27];
    char stringdata0[253];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_kt__SearchWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_kt__SearchWidget_t qt_meta_stringdata_kt__SearchWidget = {
    {
QT_MOC_LITERAL(0, 0, 16), // "kt::SearchWidget"
QT_MOC_LITERAL(1, 17, 10), // "enableBack"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 2), // "on"
QT_MOC_LITERAL(4, 32, 10), // "openNewTab"
QT_MOC_LITERAL(5, 43, 3), // "url"
QT_MOC_LITERAL(6, 47, 11), // "changeTitle"
QT_MOC_LITERAL(7, 59, 13), // "SearchWidget*"
QT_MOC_LITERAL(8, 73, 1), // "w"
QT_MOC_LITERAL(9, 75, 5), // "title"
QT_MOC_LITERAL(10, 81, 10), // "changeIcon"
QT_MOC_LITERAL(11, 92, 4), // "icon"
QT_MOC_LITERAL(12, 97, 6), // "search"
QT_MOC_LITERAL(13, 104, 4), // "text"
QT_MOC_LITERAL(14, 109, 6), // "engine"
QT_MOC_LITERAL(15, 116, 4), // "home"
QT_MOC_LITERAL(16, 121, 11), // "loadStarted"
QT_MOC_LITERAL(17, 133, 12), // "loadFinished"
QT_MOC_LITERAL(18, 146, 2), // "ok"
QT_MOC_LITERAL(19, 149, 12), // "loadProgress"
QT_MOC_LITERAL(20, 162, 1), // "p"
QT_MOC_LITERAL(21, 164, 18), // "unsupportedContent"
QT_MOC_LITERAL(22, 183, 14), // "QNetworkReply*"
QT_MOC_LITERAL(23, 198, 5), // "reply"
QT_MOC_LITERAL(24, 204, 23), // "torrentDownloadFinished"
QT_MOC_LITERAL(25, 228, 11), // "iconChanged"
QT_MOC_LITERAL(26, 240, 12) // "titleChanged"

    },
    "kt::SearchWidget\0enableBack\0\0on\0"
    "openNewTab\0url\0changeTitle\0SearchWidget*\0"
    "w\0title\0changeIcon\0icon\0search\0text\0"
    "engine\0home\0loadStarted\0loadFinished\0"
    "ok\0loadProgress\0p\0unsupportedContent\0"
    "QNetworkReply*\0reply\0torrentDownloadFinished\0"
    "iconChanged\0titleChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_kt__SearchWidget[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      15,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   89,    2, 0x06 /* Public */,
       4,    1,   92,    2, 0x06 /* Public */,
       6,    2,   95,    2, 0x06 /* Public */,
      10,    2,  100,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    2,  105,    2, 0x0a /* Public */,
      12,    1,  110,    2, 0x2a /* Public | MethodCloned */,
      15,    0,  113,    2, 0x0a /* Public */,
      12,    0,  114,    2, 0x0a /* Public */,
      16,    0,  115,    2, 0x08 /* Private */,
      17,    1,  116,    2, 0x08 /* Private */,
      19,    1,  119,    2, 0x08 /* Private */,
      21,    1,  122,    2, 0x08 /* Private */,
      24,    0,  125,    2, 0x08 /* Private */,
      25,    0,  126,    2, 0x08 /* Private */,
      26,    1,  127,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::QUrl,    5,
    QMetaType::Void, 0x80000000 | 7, QMetaType::QString,    8,    9,
    QMetaType::Void, 0x80000000 | 7, QMetaType::QIcon,    8,   11,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::Int,   13,   14,
    QMetaType::Void, QMetaType::QString,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   18,
    QMetaType::Void, QMetaType::Int,   20,
    QMetaType::Void, 0x80000000 | 22,   23,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   13,

       0        // eod
};

void kt::SearchWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SearchWidget *_t = static_cast<SearchWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->enableBack((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->openNewTab((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 2: _t->changeTitle((*reinterpret_cast< SearchWidget*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 3: _t->changeIcon((*reinterpret_cast< SearchWidget*(*)>(_a[1])),(*reinterpret_cast< const QIcon(*)>(_a[2]))); break;
        case 4: _t->search((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 5: _t->search((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->home(); break;
        case 7: _t->search(); break;
        case 8: _t->loadStarted(); break;
        case 9: _t->loadFinished((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->loadProgress((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->unsupportedContent((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break;
        case 12: _t->torrentDownloadFinished(); break;
        case 13: _t->iconChanged(); break;
        case 14: _t->titleChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< SearchWidget* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< SearchWidget* >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QNetworkReply* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (SearchWidget::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SearchWidget::enableBack)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (SearchWidget::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SearchWidget::openNewTab)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (SearchWidget::*_t)(SearchWidget * , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SearchWidget::changeTitle)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (SearchWidget::*_t)(SearchWidget * , const QIcon & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SearchWidget::changeIcon)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject kt::SearchWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_kt__SearchWidget.data,
      qt_meta_data_kt__SearchWidget,  qt_static_metacall, nullptr, nullptr}
};


const QMetaObject *kt::SearchWidget::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *kt::SearchWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_kt__SearchWidget.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "WebViewClient"))
        return static_cast< WebViewClient*>(this);
    return QWidget::qt_metacast(_clname);
}

int kt::SearchWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    }
    return _id;
}

// SIGNAL 0
void kt::SearchWidget::enableBack(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void kt::SearchWidget::openNewTab(const QUrl & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void kt::SearchWidget::changeTitle(SearchWidget * _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void kt::SearchWidget::changeIcon(SearchWidget * _t1, const QIcon & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
