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

#include "../../../src/ktorrent-4.3.1/plugins/search/searchactivity.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'searchactivity.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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
static const uint qt_meta_data_kt__SearchActivity[] = {

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

 // slots: signature, parameters, type, tag, flags
      20,   19,   19,   19, 0x0a,
      31,   27,   19,   19, 0x0a,
      52,   48,   19,   19, 0x0a,
      75,   19,   19,   19, 0x0a,
      86,   19,   19,   19, 0x0a,
     105,   96,   19,   19, 0x0a,
     148,  140,   19,   19, 0x0a,
     180,   19,   19,   19, 0x0a,
     201,   19,   19,   19, 0x0a,
     210,   19,   19,   19, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_kt__SearchActivity[] = {
    "kt::SearchActivity\0\0home()\0url\0"
    "openNewTab(KUrl)\0idx\0currentTabChanged(int)\0"
    "closeTab()\0openTab()\0sw,title\0"
    "setTabTitle(SearchWidget*,QString)\0"
    "sw,icon\0setTabIcon(SearchWidget*,QIcon)\0"
    "clearSearchHistory()\0search()\0find()\0"
};

void kt::SearchActivity::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        SearchActivity *_t = static_cast<SearchActivity *>(_o);
        switch (_id) {
        case 0: _t->home(); break;
        case 1: _t->openNewTab((*reinterpret_cast< const KUrl(*)>(_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 QMetaObjectExtraData kt::SearchActivity::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject kt::SearchActivity::staticMetaObject = {
    { &kt::Activity::staticMetaObject, qt_meta_stringdata_kt__SearchActivity,
      qt_meta_data_kt__SearchActivity, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &kt::SearchActivity::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *kt::SearchActivity::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_kt__SearchActivity))
        return static_cast<void*>(const_cast< SearchActivity*>(this));
    typedef kt::Activity QMocSuperClass;
    return QMocSuperClass::qt_metacast(_clname);
}

int kt::SearchActivity::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    typedef kt::Activity QMocSuperClass;
    _id = QMocSuperClass::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;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
