/****************************************************************************
** Meta object code from reading C++ file 'transfertreemodel.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/transfertreemodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'transfertreemodel.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_ItemMimeData_t {
    QByteArrayData data[1];
    char stringdata0[13];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ItemMimeData_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ItemMimeData_t qt_meta_stringdata_ItemMimeData = {
    {
QT_MOC_LITERAL(0, 0, 12) // "ItemMimeData"

    },
    "ItemMimeData"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ItemMimeData[] = {

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

       0        // eod
};

void ItemMimeData::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject ItemMimeData::staticMetaObject = {
    { &QMimeData::staticMetaObject, qt_meta_stringdata_ItemMimeData.data,
      qt_meta_data_ItemMimeData,  qt_static_metacall, nullptr, nullptr}
};


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

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

int ItemMimeData::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMimeData::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_TransferTreeModel_t {
    QByteArrayData data[16];
    char stringdata0[361];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TransferTreeModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TransferTreeModel_t qt_meta_stringdata_TransferTreeModel = {
    {
QT_MOC_LITERAL(0, 0, 17), // "TransferTreeModel"
QT_MOC_LITERAL(1, 18, 15), // "groupAddedEvent"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 21), // "TransferGroupHandler*"
QT_MOC_LITERAL(4, 57, 17), // "groupRemovedEvent"
QT_MOC_LITERAL(5, 75, 18), // "groupsChangedEvent"
QT_MOC_LITERAL(6, 94, 55), // "QMap<TransferGroupHandler*,Tr..."
QT_MOC_LITERAL(7, 150, 19), // "transfersAddedEvent"
QT_MOC_LITERAL(8, 170, 23), // "QList<TransferHandler*>"
QT_MOC_LITERAL(9, 194, 9), // "transfers"
QT_MOC_LITERAL(10, 204, 30), // "transfersAboutToBeRemovedEvent"
QT_MOC_LITERAL(11, 235, 21), // "transfersRemovedEvent"
QT_MOC_LITERAL(12, 257, 18), // "transferMovedEvent"
QT_MOC_LITERAL(13, 276, 16), // "TransferHandler*"
QT_MOC_LITERAL(14, 293, 21), // "transfersChangedEvent"
QT_MOC_LITERAL(15, 315, 45) // "QMap<TransferHandler*,Transfe..."

    },
    "TransferTreeModel\0groupAddedEvent\0\0"
    "TransferGroupHandler*\0groupRemovedEvent\0"
    "groupsChangedEvent\0"
    "QMap<TransferGroupHandler*,TransferGroup::ChangesFlags>\0"
    "transfersAddedEvent\0QList<TransferHandler*>\0"
    "transfers\0transfersAboutToBeRemovedEvent\0"
    "transfersRemovedEvent\0transferMovedEvent\0"
    "TransferHandler*\0transfersChangedEvent\0"
    "QMap<TransferHandler*,Transfer::ChangesFlags>"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TransferTreeModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   54,    2, 0x06 /* Public */,
       4,    1,   57,    2, 0x06 /* Public */,
       5,    1,   60,    2, 0x06 /* Public */,
       7,    1,   63,    2, 0x06 /* Public */,
      10,    1,   66,    2, 0x06 /* Public */,
      11,    1,   69,    2, 0x06 /* Public */,
      12,    2,   72,    2, 0x06 /* Public */,
      14,    1,   77,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 6,    2,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 13, 0x80000000 | 3,    2,    2,
    QMetaType::Void, 0x80000000 | 15,    2,

       0        // eod
};

void TransferTreeModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TransferTreeModel *_t = static_cast<TransferTreeModel *>(_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->groupsChangedEvent((*reinterpret_cast< QMap<TransferGroupHandler*,TransferGroup::ChangesFlags>(*)>(_a[1]))); break;
        case 3: _t->transfersAddedEvent((*reinterpret_cast< QList<TransferHandler*>(*)>(_a[1]))); break;
        case 4: _t->transfersAboutToBeRemovedEvent((*reinterpret_cast< const QList<TransferHandler*>(*)>(_a[1]))); break;
        case 5: _t->transfersRemovedEvent((*reinterpret_cast< const QList<TransferHandler*>(*)>(_a[1]))); break;
        case 6: _t->transferMovedEvent((*reinterpret_cast< TransferHandler*(*)>(_a[1])),(*reinterpret_cast< TransferGroupHandler*(*)>(_a[2]))); break;
        case 7: _t->transfersChangedEvent((*reinterpret_cast< QMap<TransferHandler*,Transfer::ChangesFlags>(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (TransferTreeModel::*_t)(TransferGroupHandler * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransferTreeModel::groupAddedEvent)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TransferTreeModel::*_t)(TransferGroupHandler * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransferTreeModel::groupRemovedEvent)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TransferTreeModel::*_t)(QMap<TransferGroupHandler*,TransferGroup::ChangesFlags> );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransferTreeModel::groupsChangedEvent)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (TransferTreeModel::*_t)(QList<TransferHandler*> );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransferTreeModel::transfersAddedEvent)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (TransferTreeModel::*_t)(const QList<TransferHandler*> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransferTreeModel::transfersAboutToBeRemovedEvent)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (TransferTreeModel::*_t)(const QList<TransferHandler*> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransferTreeModel::transfersRemovedEvent)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (TransferTreeModel::*_t)(TransferHandler * , TransferGroupHandler * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransferTreeModel::transferMovedEvent)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (TransferTreeModel::*_t)(QMap<TransferHandler*,Transfer::ChangesFlags> );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TransferTreeModel::transfersChangedEvent)) {
                *result = 7;
                return;
            }
        }
    }
}

const QMetaObject TransferTreeModel::staticMetaObject = {
    { &QStandardItemModel::staticMetaObject, qt_meta_stringdata_TransferTreeModel.data,
      qt_meta_data_TransferTreeModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int TransferTreeModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QStandardItemModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 8;
    }
    return _id;
}

// SIGNAL 0
void TransferTreeModel::groupAddedEvent(TransferGroupHandler * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void TransferTreeModel::groupRemovedEvent(TransferGroupHandler * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void TransferTreeModel::groupsChangedEvent(QMap<TransferGroupHandler*,TransferGroup::ChangesFlags> _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void TransferTreeModel::transfersAddedEvent(QList<TransferHandler*> _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void TransferTreeModel::transfersAboutToBeRemovedEvent(const QList<TransferHandler*> & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void TransferTreeModel::transfersRemovedEvent(const QList<TransferHandler*> & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void TransferTreeModel::transferMovedEvent(TransferHandler * _t1, TransferGroupHandler * _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void TransferTreeModel::transfersChangedEvent(QMap<TransferHandler*,Transfer::ChangesFlags> _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
