/****************************************************************************
** Meta object code from reading C++ file 'setup.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/kdepimlibs-4.14.10/akonadi/tests/testrunner/setup.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'setup.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_SetupTest[] = {

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

 // classinfo: key, value
      37,   10,

 // signals: signature, parameters, type, tag, flags
      54,   53,   53,   53, 0x05,
      75,   66,   53,   53, 0x05,

 // slots: signature, parameters, type, tag, flags
      93,   53,   53,   53, 0x4a,
     104,   53,   53,   53, 0x4a,
     121,   53,   53,   53, 0x4a,
     150,  144,   53,   53, 0x4a,
     182,  176,   53,   53, 0x08,
     232,   66,   53,   53, 0x08,
     274,  270,   53,   53, 0x08,
     301,  270,   53,   53, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_SetupTest[] = {
    "SetupTest\0org.kde.Akonadi.Testrunner\0"
    "D-Bus Interface\0\0setupDone()\0exitCode\0"
    "serverExited(int)\0shutdown()\0"
    "shutdownHarder()\0restartAkonadiServer()\0"
    "track\0trackAkonadiProcess(bool)\0state\0"
    "serverStateChanged(Akonadi::ServerManager::State)\0"
    "slotAkonadiDaemonProcessFinished(int)\0"
    "job\0agentCreationResult(KJob*)\0"
    "synchronizationResult(KJob*)\0"
};

void SetupTest::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        SetupTest *_t = static_cast<SetupTest *>(_o);
        switch (_id) {
        case 0: _t->setupDone(); break;
        case 1: _t->serverExited((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->shutdown(); break;
        case 3: _t->shutdownHarder(); break;
        case 4: _t->restartAkonadiServer(); break;
        case 5: _t->trackAkonadiProcess((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->serverStateChanged((*reinterpret_cast< Akonadi::ServerManager::State(*)>(_a[1]))); break;
        case 7: _t->slotAkonadiDaemonProcessFinished((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->agentCreationResult((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 9: _t->synchronizationResult((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData SetupTest::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject SetupTest::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_SetupTest,
      qt_meta_data_SetupTest, &staticMetaObjectExtraData }
};

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

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

void *SetupTest::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_SetupTest))
        return static_cast<void*>(const_cast< SetupTest*>(this));
    return QObject::qt_metacast(_clname);
}

int SetupTest::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::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;
}

// SIGNAL 0
void SetupTest::setupDone()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}

// SIGNAL 1
void SetupTest::serverExited(int _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_END_MOC_NAMESPACE
