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

#include "../src/kget-17.12.3/core/kget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_GenericObserver_t {
    QByteArrayData data[25];
    char stringdata0[490];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_GenericObserver_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_GenericObserver_t qt_meta_stringdata_GenericObserver = {
    {
QT_MOC_LITERAL(0, 0, 15), // "GenericObserver"
QT_MOC_LITERAL(1, 16, 15), // "groupAddedEvent"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 21), // "TransferGroupHandler*"
QT_MOC_LITERAL(4, 55, 7), // "handler"
QT_MOC_LITERAL(5, 63, 17), // "groupRemovedEvent"
QT_MOC_LITERAL(6, 81, 19), // "transfersAddedEvent"
QT_MOC_LITERAL(7, 101, 23), // "QList<TransferHandler*>"
QT_MOC_LITERAL(8, 125, 8), // "handlers"
QT_MOC_LITERAL(9, 134, 21), // "transfersRemovedEvent"
QT_MOC_LITERAL(10, 156, 21), // "transfersChangedEvent"
QT_MOC_LITERAL(11, 178, 45), // "QMap<TransferHandler*,Transfe..."
QT_MOC_LITERAL(12, 224, 9), // "transfers"
QT_MOC_LITERAL(13, 234, 18), // "groupsChangedEvent"
QT_MOC_LITERAL(14, 253, 55), // "QMap<TransferGroupHandler*,Tr..."
QT_MOC_LITERAL(15, 309, 6), // "groups"
QT_MOC_LITERAL(16, 316, 18), // "transferMovedEvent"
QT_MOC_LITERAL(17, 335, 16), // "TransferHandler*"
QT_MOC_LITERAL(18, 352, 8), // "slotSave"
QT_MOC_LITERAL(19, 361, 21), // "slotAfterFinishAction"
QT_MOC_LITERAL(20, 383, 26), // "slotAbortAfterFinishAction"
QT_MOC_LITERAL(21, 410, 24), // "slotResolveTransferError"
QT_MOC_LITERAL(22, 435, 22), // "slotNotificationClosed"
QT_MOC_LITERAL(23, 458, 24), // "slotNetworkStatusChanged"
QT_MOC_LITERAL(24, 483, 6) // "online"

    },
    "GenericObserver\0groupAddedEvent\0\0"
    "TransferGroupHandler*\0handler\0"
    "groupRemovedEvent\0transfersAddedEvent\0"
    "QList<TransferHandler*>\0handlers\0"
    "transfersRemovedEvent\0transfersChangedEvent\0"
    "QMap<TransferHandler*,Transfer::ChangesFlags>\0"
    "transfers\0groupsChangedEvent\0"
    "QMap<TransferGroupHandler*,TransferGroup::ChangesFlags>\0"
    "groups\0transferMovedEvent\0TransferHandler*\0"
    "slotSave\0slotAfterFinishAction\0"
    "slotAbortAfterFinishAction\0"
    "slotResolveTransferError\0"
    "slotNotificationClosed\0slotNetworkStatusChanged\0"
    "online"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_GenericObserver[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x0a /* Public */,
       5,    1,   82,    2, 0x0a /* Public */,
       6,    1,   85,    2, 0x0a /* Public */,
       9,    1,   88,    2, 0x0a /* Public */,
      10,    1,   91,    2, 0x0a /* Public */,
      13,    1,   94,    2, 0x0a /* Public */,
      16,    2,   97,    2, 0x0a /* Public */,
      18,    0,  102,    2, 0x08 /* Private */,
      19,    0,  103,    2, 0x08 /* Private */,
      20,    0,  104,    2, 0x08 /* Private */,
      21,    0,  105,    2, 0x08 /* Private */,
      22,    0,  106,    2, 0x08 /* Private */,
      23,    1,  107,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, 0x80000000 | 14,   15,
    QMetaType::Void, 0x80000000 | 17, 0x80000000 | 3,    2,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   24,

       0        // eod
};

void GenericObserver::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        GenericObserver *_t = static_cast<GenericObserver *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->groupAddedEvent((*reinterpret_cast< TransferGroupHandler*(*)>(_a[1]))); break;
        case 1: _t->groupRemovedEvent((*reinterpret_cast< TransferGroupHandler*(*)>(_a[1]))); break;
        case 2: _t->transfersAddedEvent((*reinterpret_cast< const QList<TransferHandler*>(*)>(_a[1]))); break;
        case 3: _t->transfersRemovedEvent((*reinterpret_cast< const QList<TransferHandler*>(*)>(_a[1]))); break;
        case 4: _t->transfersChangedEvent((*reinterpret_cast< QMap<TransferHandler*,Transfer::ChangesFlags>(*)>(_a[1]))); break;
        case 5: _t->groupsChangedEvent((*reinterpret_cast< QMap<TransferGroupHandler*,TransferGroup::ChangesFlags>(*)>(_a[1]))); break;
        case 6: _t->transferMovedEvent((*reinterpret_cast< TransferHandler*(*)>(_a[1])),(*reinterpret_cast< TransferGroupHandler*(*)>(_a[2]))); break;
        case 7: _t->slotSave(); break;
        case 8: _t->slotAfterFinishAction(); break;
        case 9: _t->slotAbortAfterFinishAction(); break;
        case 10: _t->slotResolveTransferError(); break;
        case 11: _t->slotNotificationClosed(); break;
        case 12: _t->slotNetworkStatusChanged((*reinterpret_cast< bool(*)>(_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< TransferGroupHandler* >(); 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< TransferGroupHandler* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< TransferGroupHandler* >(); break;
            }
            break;
        }
    }
}

const QMetaObject GenericObserver::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_GenericObserver.data,
      qt_meta_data_GenericObserver,  qt_static_metacall, nullptr, nullptr}
};


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

void *GenericObserver::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_GenericObserver.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

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