/****************************************************************************
** Meta object code from reading C++ file 'kptschedulerplugin.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/calligra-2.9.11/plan/libs/kernel/kptschedulerplugin.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kptschedulerplugin.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_KPlato__SchedulerPlugin[] = {

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

 // slots: signature, parameters, type, tag, flags
      25,   24,   24,   24, 0x09,

       0        // eod
};

static const char qt_meta_stringdata_KPlato__SchedulerPlugin[] = {
    "KPlato::SchedulerPlugin\0\0slotSyncData()\0"
};

void KPlato::SchedulerPlugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        SchedulerPlugin *_t = static_cast<SchedulerPlugin *>(_o);
        switch (_id) {
        case 0: _t->slotSyncData(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

const QMetaObjectExtraData KPlato::SchedulerPlugin::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KPlato::SchedulerPlugin::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KPlato__SchedulerPlugin,
      qt_meta_data_KPlato__SchedulerPlugin, &staticMetaObjectExtraData }
};

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

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

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

int KPlato::SchedulerPlugin::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 < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}
static const uint qt_meta_data_KPlato__SchedulerThread[] = {

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

 // signals: signature, parameters, type, tag, flags
      29,   25,   24,   24, 0x05,
      58,   25,   24,   24, 0x05,
      97,   88,   24,   24, 0x05,
     144,  138,   24,   24, 0x25,
     168,   88,   24,   24, 0x05,
     206,  138,   24,   24, 0x25,

 // slots: signature, parameters, type, tag, flags
     227,   24,   24,   24, 0x0a,
     244,   24,   24,   24, 0x0a,
     261,   24,   24,   24, 0x09,
     275,   24,   24,   24, 0x09,
     290,   24,   24,   24, 0x09,
     310,   24,   24,   24, 0x09,
     331,  327,   24,   24, 0x09,

       0        // eod
};

static const char qt_meta_stringdata_KPlato__SchedulerThread[] = {
    "KPlato::SchedulerThread\0\0job\0"
    "jobStarted(SchedulerThread*)\0"
    "jobFinished(SchedulerThread*)\0value,sm\0"
    "maxProgressChanged(int,ScheduleManager*)\0"
    "value\0maxProgressChanged(int)\0"
    "progressChanged(int,ScheduleManager*)\0"
    "progressChanged(int)\0stopScheduling()\0"
    "haltScheduling()\0slotStarted()\0"
    "slotFinished()\0setMaxProgress(int)\0"
    "setProgress(int)\0log\0slotAddLog(Schedule::Log)\0"
};

void KPlato::SchedulerThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        SchedulerThread *_t = static_cast<SchedulerThread *>(_o);
        switch (_id) {
        case 0: _t->jobStarted((*reinterpret_cast< SchedulerThread*(*)>(_a[1]))); break;
        case 1: _t->jobFinished((*reinterpret_cast< SchedulerThread*(*)>(_a[1]))); break;
        case 2: _t->maxProgressChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< ScheduleManager*(*)>(_a[2]))); break;
        case 3: _t->maxProgressChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->progressChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< ScheduleManager*(*)>(_a[2]))); break;
        case 5: _t->progressChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->stopScheduling(); break;
        case 7: _t->haltScheduling(); break;
        case 8: _t->slotStarted(); break;
        case 9: _t->slotFinished(); break;
        case 10: _t->setMaxProgress((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->setProgress((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->slotAddLog((*reinterpret_cast< const Schedule::Log(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData KPlato::SchedulerThread::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KPlato::SchedulerThread::staticMetaObject = {
    { &QThread::staticMetaObject, qt_meta_stringdata_KPlato__SchedulerThread,
      qt_meta_data_KPlato__SchedulerThread, &staticMetaObjectExtraData }
};

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

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

void *KPlato::SchedulerThread::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KPlato__SchedulerThread))
        return static_cast<void*>(const_cast< SchedulerThread*>(this));
    return QThread::qt_metacast(_clname);
}

int KPlato::SchedulerThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QThread::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    return _id;
}

// SIGNAL 0
void KPlato::SchedulerThread::jobStarted(SchedulerThread * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

// SIGNAL 2
void KPlato::SchedulerThread::maxProgressChanged(int _t1, ScheduleManager * _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 4
void KPlato::SchedulerThread::progressChanged(int _t1, ScheduleManager * _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_END_MOC_NAMESPACE
