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

#include "../../src/kjobwidgets-5.12.0/src/kwidgetjobtracker.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kwidgetjobtracker.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.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_KWidgetJobTracker_t {
    QByteArrayData data[26];
    char stringdata[254];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWidgetJobTracker_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWidgetJobTracker_t qt_meta_stringdata_KWidgetJobTracker = {
    {
QT_MOC_LITERAL(0, 0, 17), // "KWidgetJobTracker"
QT_MOC_LITERAL(1, 18, 11), // "registerJob"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 5), // "KJob*"
QT_MOC_LITERAL(4, 37, 3), // "job"
QT_MOC_LITERAL(5, 41, 13), // "unregisterJob"
QT_MOC_LITERAL(6, 55, 11), // "infoMessage"
QT_MOC_LITERAL(7, 67, 5), // "plain"
QT_MOC_LITERAL(8, 73, 4), // "rich"
QT_MOC_LITERAL(9, 78, 11), // "description"
QT_MOC_LITERAL(10, 90, 5), // "title"
QT_MOC_LITERAL(11, 96, 22), // "QPair<QString,QString>"
QT_MOC_LITERAL(12, 119, 6), // "field1"
QT_MOC_LITERAL(13, 126, 6), // "field2"
QT_MOC_LITERAL(14, 133, 11), // "totalAmount"
QT_MOC_LITERAL(15, 145, 10), // "KJob::Unit"
QT_MOC_LITERAL(16, 156, 4), // "unit"
QT_MOC_LITERAL(17, 161, 6), // "amount"
QT_MOC_LITERAL(18, 168, 15), // "processedAmount"
QT_MOC_LITERAL(19, 184, 7), // "percent"
QT_MOC_LITERAL(20, 192, 5), // "speed"
QT_MOC_LITERAL(21, 198, 5), // "value"
QT_MOC_LITERAL(22, 204, 9), // "slotClean"
QT_MOC_LITERAL(23, 214, 9), // "suspended"
QT_MOC_LITERAL(24, 224, 7), // "resumed"
QT_MOC_LITERAL(25, 232, 21) // "_k_showProgressWidget"

    },
    "KWidgetJobTracker\0registerJob\0\0KJob*\0"
    "job\0unregisterJob\0infoMessage\0plain\0"
    "rich\0description\0title\0QPair<QString,QString>\0"
    "field1\0field2\0totalAmount\0KJob::Unit\0"
    "unit\0amount\0processedAmount\0percent\0"
    "speed\0value\0slotClean\0suspended\0resumed\0"
    "_k_showProgressWidget"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWidgetJobTracker[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   74,    2, 0x0a /* Public */,
       5,    1,   77,    2, 0x0a /* Public */,
       6,    3,   80,    2, 0x09 /* Protected */,
       9,    4,   87,    2, 0x09 /* Protected */,
      14,    3,   96,    2, 0x09 /* Protected */,
      18,    3,  103,    2, 0x09 /* Protected */,
      19,    2,  110,    2, 0x09 /* Protected */,
      20,    2,  115,    2, 0x09 /* Protected */,
      22,    1,  120,    2, 0x09 /* Protected */,
      23,    1,  123,    2, 0x09 /* Protected */,
      24,    1,  126,    2, 0x09 /* Protected */,
      25,    0,  129,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString, QMetaType::QString,    4,    7,    8,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString, 0x80000000 | 11, 0x80000000 | 11,    4,   10,   12,   13,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 15, QMetaType::ULongLong,    4,   16,   17,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 15, QMetaType::ULongLong,    4,   16,   17,
    QMetaType::Void, 0x80000000 | 3, QMetaType::ULong,    4,   19,
    QMetaType::Void, 0x80000000 | 3, QMetaType::ULong,    4,   21,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,

       0        // eod
};

void KWidgetJobTracker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KWidgetJobTracker *_t = static_cast<KWidgetJobTracker *>(_o);
        switch (_id) {
        case 0: _t->registerJob((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 1: _t->unregisterJob((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 2: _t->infoMessage((*reinterpret_cast< KJob*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 3: _t->description((*reinterpret_cast< KJob*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QPair<QString,QString>(*)>(_a[3])),(*reinterpret_cast< const QPair<QString,QString>(*)>(_a[4]))); break;
        case 4: _t->totalAmount((*reinterpret_cast< KJob*(*)>(_a[1])),(*reinterpret_cast< KJob::Unit(*)>(_a[2])),(*reinterpret_cast< qulonglong(*)>(_a[3]))); break;
        case 5: _t->processedAmount((*reinterpret_cast< KJob*(*)>(_a[1])),(*reinterpret_cast< KJob::Unit(*)>(_a[2])),(*reinterpret_cast< qulonglong(*)>(_a[3]))); break;
        case 6: _t->percent((*reinterpret_cast< KJob*(*)>(_a[1])),(*reinterpret_cast< ulong(*)>(_a[2]))); break;
        case 7: _t->speed((*reinterpret_cast< KJob*(*)>(_a[1])),(*reinterpret_cast< ulong(*)>(_a[2]))); break;
        case 8: _t->slotClean((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 9: _t->suspended((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 10: _t->resumed((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 11: _t->d->_k_showProgressWidget(); 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< KJob* >(); 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< KJob* >(); 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< KJob* >(); 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< KJob* >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KJob* >(); break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KJob::Unit >(); break;
            }
            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< KJob* >(); break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KJob::Unit >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KJob* >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KJob* >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KJob* >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KJob* >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KJob* >(); break;
            }
            break;
        }
    }
}

const QMetaObject KWidgetJobTracker::staticMetaObject = {
    { &KAbstractWidgetJobTracker::staticMetaObject, qt_meta_stringdata_KWidgetJobTracker.data,
      qt_meta_data_KWidgetJobTracker,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWidgetJobTracker::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWidgetJobTracker.stringdata))
        return static_cast<void*>(const_cast< KWidgetJobTracker*>(this));
    return KAbstractWidgetJobTracker::qt_metacast(_clname);
}

int KWidgetJobTracker::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KAbstractWidgetJobTracker::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
