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

#include "../../src/tellico-3.0.2/src/progressmanager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'progressmanager.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.2. 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
struct qt_meta_stringdata_Tellico__ProgressItem_t {
    QByteArrayData data[8];
    char stringdata0[101];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tellico__ProgressItem_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tellico__ProgressItem_t qt_meta_stringdata_Tellico__ProgressItem = {
    {
QT_MOC_LITERAL(0, 0, 21), // "Tellico::ProgressItem"
QT_MOC_LITERAL(1, 22, 14), // "signalProgress"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 13), // "ProgressItem*"
QT_MOC_LITERAL(4, 52, 4), // "item"
QT_MOC_LITERAL(5, 57, 10), // "signalDone"
QT_MOC_LITERAL(6, 68, 15), // "signalCancelled"
QT_MOC_LITERAL(7, 84, 16) // "signalTotalSteps"

    },
    "Tellico::ProgressItem\0signalProgress\0"
    "\0ProgressItem*\0item\0signalDone\0"
    "signalCancelled\0signalTotalSteps"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tellico__ProgressItem[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   34,    2, 0x06 /* Public */,
       5,    1,   37,    2, 0x06 /* Public */,
       6,    1,   40,    2, 0x06 /* Public */,
       7,    1,   43,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,

       0        // eod
};

void Tellico::ProgressItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ProgressItem *_t = static_cast<ProgressItem *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->signalProgress((*reinterpret_cast< ProgressItem*(*)>(_a[1]))); break;
        case 1: _t->signalDone((*reinterpret_cast< ProgressItem*(*)>(_a[1]))); break;
        case 2: _t->signalCancelled((*reinterpret_cast< ProgressItem*(*)>(_a[1]))); break;
        case 3: _t->signalTotalSteps((*reinterpret_cast< ProgressItem*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ProgressItem* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ProgressItem* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ProgressItem* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ProgressItem* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (ProgressItem::*_t)(ProgressItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ProgressItem::signalProgress)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ProgressItem::*_t)(ProgressItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ProgressItem::signalDone)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (ProgressItem::*_t)(ProgressItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ProgressItem::signalCancelled)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (ProgressItem::*_t)(ProgressItem * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ProgressItem::signalTotalSteps)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject Tellico::ProgressItem::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Tellico__ProgressItem.data,
      qt_meta_data_Tellico__ProgressItem,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Tellico::ProgressItem::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Tellico__ProgressItem.stringdata0))
        return static_cast<void*>(const_cast< ProgressItem*>(this));
    return QObject::qt_metacast(_clname);
}

int Tellico::ProgressItem::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 < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    return _id;
}

// SIGNAL 0
void Tellico::ProgressItem::signalProgress(ProgressItem * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Tellico::ProgressItem::signalDone(ProgressItem * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Tellico::ProgressItem::signalCancelled(ProgressItem * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Tellico::ProgressItem::signalTotalSteps(ProgressItem * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
struct qt_meta_stringdata_Tellico__ProgressManager_t {
    QByteArrayData data[14];
    char stringdata0[171];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Tellico__ProgressManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Tellico__ProgressManager_t qt_meta_stringdata_Tellico__ProgressManager = {
    {
QT_MOC_LITERAL(0, 0, 24), // "Tellico::ProgressManager"
QT_MOC_LITERAL(1, 25, 19), // "signalTotalProgress"
QT_MOC_LITERAL(2, 45, 0), // ""
QT_MOC_LITERAL(3, 46, 8), // "progress"
QT_MOC_LITERAL(4, 55, 13), // "slotCancelAll"
QT_MOC_LITERAL(5, 69, 11), // "setProgress"
QT_MOC_LITERAL(6, 81, 5), // "owner"
QT_MOC_LITERAL(7, 87, 5), // "steps"
QT_MOC_LITERAL(8, 93, 13), // "setTotalSteps"
QT_MOC_LITERAL(9, 107, 7), // "setDone"
QT_MOC_LITERAL(10, 115, 12), // "slotItemDone"
QT_MOC_LITERAL(11, 128, 13), // "ProgressItem*"
QT_MOC_LITERAL(12, 142, 4), // "item"
QT_MOC_LITERAL(13, 147, 23) // "slotUpdateTotalProgress"

    },
    "Tellico::ProgressManager\0signalTotalProgress\0"
    "\0progress\0slotCancelAll\0setProgress\0"
    "owner\0steps\0setTotalSteps\0setDone\0"
    "slotItemDone\0ProgressItem*\0item\0"
    "slotUpdateTotalProgress"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Tellico__ProgressManager[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   49,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    0,   52,    2, 0x0a /* Public */,
       5,    2,   53,    2, 0x0a /* Public */,
       8,    2,   58,    2, 0x0a /* Public */,
       9,    1,   63,    2, 0x0a /* Public */,
      10,    1,   66,    2, 0x08 /* Private */,
      13,    0,   69,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::ULongLong,    3,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QObjectStar, QMetaType::ULongLong,    6,    7,
    QMetaType::Void, QMetaType::QObjectStar, QMetaType::ULongLong,    6,    7,
    QMetaType::Void, QMetaType::QObjectStar,    6,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void,

       0        // eod
};

void Tellico::ProgressManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ProgressManager *_t = static_cast<ProgressManager *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->signalTotalProgress((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        case 1: _t->slotCancelAll(); break;
        case 2: _t->setProgress((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< qulonglong(*)>(_a[2]))); break;
        case 3: _t->setTotalSteps((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< qulonglong(*)>(_a[2]))); break;
        case 4: _t->setDone((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 5: _t->slotItemDone((*reinterpret_cast< ProgressItem*(*)>(_a[1]))); break;
        case 6: _t->slotUpdateTotalProgress(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ProgressItem* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (ProgressManager::*_t)(qulonglong );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ProgressManager::signalTotalProgress)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject Tellico::ProgressManager::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Tellico__ProgressManager.data,
      qt_meta_data_Tellico__ProgressManager,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Tellico::ProgressManager::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Tellico__ProgressManager.stringdata0))
        return static_cast<void*>(const_cast< ProgressManager*>(this));
    return QObject::qt_metacast(_clname);
}

int Tellico::ProgressManager::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 < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    return _id;
}

// SIGNAL 0
void Tellico::ProgressManager::signalTotalProgress(qulonglong _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
