/****************************************************************************
** Meta object code from reading C++ file 'packplugin.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 "../../../../../client/plugins/src/pack/packplugin.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'packplugin.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_Task[] = {

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

 // signals: signature, parameters, type, tag, flags
      10,    6,    5,    5, 0x05,
      31,    6,    5,    5, 0x05,
      57,   52,    5,    5, 0x05,

       0        // eod
};

static const char qt_meta_stringdata_Task[] = {
    "Task\0\0ctx\0started(QVariantMap)\0"
    "updated(QVariantMap)\0ctx,\0"
    "finished(QVariantMap,bool)\0"
};

void Task::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        Task *_t = static_cast<Task *>(_o);
        switch (_id) {
        case 0: _t->started((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 1: _t->updated((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 2: _t->finished((*reinterpret_cast< const QVariantMap(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        default: ;
        }
    }
}

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

const QMetaObject Task::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Task,
      qt_meta_data_Task, &staticMetaObjectExtraData }
};

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

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

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

int Task::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 < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    }
    return _id;
}

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

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

// SIGNAL 2
void Task::finished(const QVariantMap & _t1, bool _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);
}
static const uint qt_meta_data_PackPlugin[] = {

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

 // signals: signature, parameters, type, tag, flags
      16,   12,   11,   11, 0x05,
      48,   37,   11,   11, 0x05,
      75,   12,   11,   11, 0x05,
      96,   12,   11,   11, 0x05,
     121,   37,   11,   11, 0x05,
     152,   12,   11,   11, 0x05,
     177,   12,   11,   11, 0x05,
     204,   37,   11,   11, 0x05,
     237,   12,   11,   11, 0x05,

 // slots: signature, parameters, type, tag, flags
     264,   37,   11,   11, 0x08,
     297,   37,   11,   11, 0x08,
     345,  340,  332,   11, 0x08,
     365,   11,   11,   11, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_PackPlugin[] = {
    "PackPlugin\0\0ctx\0started(QVariantMap)\0"
    "ctx,status\0finished(QVariantMap,bool)\0"
    "updated(QVariantMap)\0packStarted(QVariantMap)\0"
    "packFinished(QVariantMap,bool)\0"
    "packUpdated(QVariantMap)\0"
    "unpackStarted(QVariantMap)\0"
    "unpackFinished(QVariantMap,bool)\0"
    "unpackUpdated(QVariantMap)\0"
    "onPackFinished(QVariantMap,bool)\0"
    "onUnpackFinished(QVariantMap,bool)\0"
    "QString\0path\0adjustPath(QString)\0"
    "onCleanup()\0"
};

void PackPlugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        PackPlugin *_t = static_cast<PackPlugin *>(_o);
        switch (_id) {
        case 0: _t->started((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 1: _t->finished((*reinterpret_cast< const QVariantMap(*)>(_a[1])),(*reinterpret_cast< const bool(*)>(_a[2]))); break;
        case 2: _t->updated((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 3: _t->packStarted((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 4: _t->packFinished((*reinterpret_cast< const QVariantMap(*)>(_a[1])),(*reinterpret_cast< const bool(*)>(_a[2]))); break;
        case 5: _t->packUpdated((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 6: _t->unpackStarted((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 7: _t->unpackFinished((*reinterpret_cast< const QVariantMap(*)>(_a[1])),(*reinterpret_cast< const bool(*)>(_a[2]))); break;
        case 8: _t->unpackUpdated((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;
        case 9: _t->onPackFinished((*reinterpret_cast< const QVariantMap(*)>(_a[1])),(*reinterpret_cast< const bool(*)>(_a[2]))); break;
        case 10: _t->onUnpackFinished((*reinterpret_cast< const QVariantMap(*)>(_a[1])),(*reinterpret_cast< const bool(*)>(_a[2]))); break;
        case 11: { QString _r = _t->adjustPath((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 12: _t->onCleanup(); break;
        default: ;
        }
    }
}

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

const QMetaObject PackPlugin::staticMetaObject = {
    { &PackInterface::staticMetaObject, qt_meta_stringdata_PackPlugin,
      qt_meta_data_PackPlugin, &staticMetaObjectExtraData }
};

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

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

void *PackPlugin::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_PackPlugin))
        return static_cast<void*>(const_cast< PackPlugin*>(this));
    if (!strcmp(_clname, "com.lkpp.app.packager/1.0"))
        return static_cast< PackInterface*>(const_cast< PackPlugin*>(this));
    return PackInterface::qt_metacast(_clname);
}

int PackPlugin::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = PackInterface::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 PackPlugin::started(const QVariantMap & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void PackPlugin::finished(const QVariantMap & _t1, const bool & _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void PackPlugin::updated(const QVariantMap & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void PackPlugin::packStarted(const QVariantMap & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void PackPlugin::packFinished(const QVariantMap & _t1, const bool & _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);
}

// SIGNAL 5
void PackPlugin::packUpdated(const QVariantMap & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void PackPlugin::unpackStarted(const QVariantMap & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void PackPlugin::unpackFinished(const QVariantMap & _t1, const bool & _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void PackPlugin::unpackUpdated(const QVariantMap & _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}
QT_END_MOC_NAMESPACE
