/****************************************************************************
** Meta object code from reading C++ file 'searchactivity.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/searchactivity.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'searchactivity.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__SearchActivity_t {
    QByteArrayData data[18];
    char stringdata0[161];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_kt__SearchActivity_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_kt__SearchActivity_t qt_meta_stringdata_kt__SearchActivity = {
    {
QT_MOC_LITERAL(0, 0, 18), // "kt::SearchActivity"
QT_MOC_LITERAL(1, 19, 4), // "home"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 10), // "openNewTab"
QT_MOC_LITERAL(4, 36, 3), // "url"
QT_MOC_LITERAL(5, 40, 17), // "currentTabChanged"
QT_MOC_LITERAL(6, 58, 3), // "idx"
QT_MOC_LITERAL(7, 62, 8), // "closeTab"
QT_MOC_LITERAL(8, 71, 7), // "openTab"
QT_MOC_LITERAL(9, 79, 11), // "setTabTitle"
QT_MOC_LITERAL(10, 91, 13), // "SearchWidget*"
QT_MOC_LITERAL(11, 105, 2), // "sw"
QT_MOC_LITERAL(12, 108, 5), // "title"
QT_MOC_LITERAL(13, 114, 10), // "setTabIcon"
QT_MOC_LITERAL(14, 125, 4), // "icon"
QT_MOC_LITERAL(15, 130, 18), // "clearSearchHistory"
QT_MOC_LITERAL(16, 149, 6), // "search"
QT_MOC_LITERAL(17, 156, 4) // "find"

    },
    "kt::SearchActivity\0home\0\0openNewTab\0"
    "url\0currentTabChanged\0idx\0closeTab\0"
    "openTab\0setTabTitle\0SearchWidget*\0sw\0"
    "title\0setTabIcon\0icon\0clearSearchHistory\0"
    "search\0find"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_kt__SearchActivity[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   64,    2, 0x0a /* Public */,
       3,    1,   65,    2, 0x0a /* Public */,
       5,    1,   68,    2, 0x0a /* Public */,
       7,    0,   71,    2, 0x0a /* Public */,
       8,    0,   72,    2, 0x0a /* Public */,
       9,    2,   73,    2, 0x0a /* Public */,
      13,    2,   78,    2, 0x0a /* Public */,
      15,    0,   83,    2, 0x0a /* Public */,
      16,    0,   84,    2, 0x0a /* Public */,
      17,    0,   85,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QUrl,    4,
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 10, QMetaType::QString,   11,   12,
    QMetaType::Void, 0x80000000 | 10, QMetaType::QIcon,   11,   14,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void kt::SearchActivity::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SearchActivity *_t = static_cast<SearchActivity *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->home(); break;
        case 1: _t->openNewTab((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 2: _t->currentTabChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->closeTab(); break;
        case 4: _t->openTab(); break;
        case 5: _t->setTabTitle((*reinterpret_cast< SearchWidget*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 6: _t->setTabIcon((*reinterpret_cast< SearchWidget*(*)>(_a[1])),(*reinterpret_cast< const QIcon(*)>(_a[2]))); break;
        case 7: _t->clearSearchHistory(); break;
        case 8: _t->search(); break;
        case 9: _t->find(); break;
        default: ;
        }
    }
}

const QMetaObject kt::SearchActivity::staticMetaObject = {
    { &kt::Activity::staticMetaObject, qt_meta_stringdata_kt__SearchActivity.data,
      qt_meta_data_kt__SearchActivity,  qt_static_metacall, nullptr, nullptr}
};


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

void *kt::SearchActivity::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_kt__SearchActivity.stringdata0))
        return static_cast<void*>(this);
    return kt::Activity::qt_metacast(_clname);
}

int kt::SearchActivity::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = kt::Activity::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
