/****************************************************************************
** Meta object code from reading C++ file 'transferhistorystore_xml_p.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/transferhistorystore_xml_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'transferhistorystore_xml_p.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_XmlStore_t {
    QByteArrayData data[12];
    char stringdata0[113];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_XmlStore_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_XmlStore_t qt_meta_stringdata_XmlStore = {
    {
QT_MOC_LITERAL(0, 0, 8), // "XmlStore"
QT_MOC_LITERAL(1, 9, 4), // "load"
QT_MOC_LITERAL(2, 14, 0), // ""
QT_MOC_LITERAL(3, 15, 5), // "clear"
QT_MOC_LITERAL(4, 21, 8), // "saveItem"
QT_MOC_LITERAL(5, 30, 19), // "TransferHistoryItem"
QT_MOC_LITERAL(6, 50, 4), // "item"
QT_MOC_LITERAL(7, 55, 10), // "deleteItem"
QT_MOC_LITERAL(8, 66, 15), // "slotLoadElement"
QT_MOC_LITERAL(9, 82, 6), // "number"
QT_MOC_LITERAL(10, 89, 5), // "total"
QT_MOC_LITERAL(11, 95, 17) // "slotDeleteElement"

    },
    "XmlStore\0load\0\0clear\0saveItem\0"
    "TransferHistoryItem\0item\0deleteItem\0"
    "slotLoadElement\0number\0total\0"
    "slotDeleteElement"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_XmlStore[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   44,    2, 0x0a /* Public */,
       3,    0,   45,    2, 0x0a /* Public */,
       4,    1,   46,    2, 0x0a /* Public */,
       7,    1,   49,    2, 0x0a /* Public */,
       8,    3,   52,    2, 0x0a /* Public */,
      11,    0,   59,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, 0x80000000 | 5,    9,   10,    6,
    QMetaType::Void,

       0        // eod
};

void XmlStore::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        XmlStore *_t = static_cast<XmlStore *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->load(); break;
        case 1: _t->clear(); break;
        case 2: _t->saveItem((*reinterpret_cast< const TransferHistoryItem(*)>(_a[1]))); break;
        case 3: _t->deleteItem((*reinterpret_cast< const TransferHistoryItem(*)>(_a[1]))); break;
        case 4: _t->slotLoadElement((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const TransferHistoryItem(*)>(_a[3]))); break;
        case 5: _t->slotDeleteElement(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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< TransferHistoryItem >(); 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< TransferHistoryItem >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< TransferHistoryItem >(); break;
            }
            break;
        }
    }
}

const QMetaObject XmlStore::staticMetaObject = {
    { &TransferHistoryStore::staticMetaObject, qt_meta_stringdata_XmlStore.data,
      qt_meta_data_XmlStore,  qt_static_metacall, nullptr, nullptr}
};


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

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

int XmlStore::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = TransferHistoryStore::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    }
    return _id;
}
struct qt_meta_stringdata_XmlStore__LoadThread_t {
    QByteArrayData data[7];
    char stringdata0[74];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_XmlStore__LoadThread_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_XmlStore__LoadThread_t qt_meta_stringdata_XmlStore__LoadThread = {
    {
QT_MOC_LITERAL(0, 0, 20), // "XmlStore::LoadThread"
QT_MOC_LITERAL(1, 21, 13), // "elementLoaded"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 6), // "number"
QT_MOC_LITERAL(4, 43, 5), // "total"
QT_MOC_LITERAL(5, 49, 19), // "TransferHistoryItem"
QT_MOC_LITERAL(6, 69, 4) // "item"

    },
    "XmlStore::LoadThread\0elementLoaded\0\0"
    "number\0total\0TransferHistoryItem\0item"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_XmlStore__LoadThread[] = {

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

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

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

       0        // eod
};

void XmlStore::LoadThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        LoadThread *_t = static_cast<LoadThread *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->elementLoaded((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const TransferHistoryItem(*)>(_a[3]))); 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 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< TransferHistoryItem >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (LoadThread::*_t)(int , int , const TransferHistoryItem & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LoadThread::elementLoaded)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject XmlStore::LoadThread::staticMetaObject = {
    { &QThread::staticMetaObject, qt_meta_stringdata_XmlStore__LoadThread.data,
      qt_meta_data_XmlStore__LoadThread,  qt_static_metacall, nullptr, nullptr}
};


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

void *XmlStore::LoadThread::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_XmlStore__LoadThread.stringdata0))
        return static_cast<void*>(this);
    return QThread::qt_metacast(_clname);
}

int XmlStore::LoadThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QThread::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void XmlStore::LoadThread::elementLoaded(int _t1, int _t2, const TransferHistoryItem & _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_XmlStore__SaveThread_t {
    QByteArrayData data[7];
    char stringdata0[74];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_XmlStore__SaveThread_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_XmlStore__SaveThread_t qt_meta_stringdata_XmlStore__SaveThread = {
    {
QT_MOC_LITERAL(0, 0, 20), // "XmlStore::SaveThread"
QT_MOC_LITERAL(1, 21, 13), // "elementLoaded"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 6), // "number"
QT_MOC_LITERAL(4, 43, 5), // "total"
QT_MOC_LITERAL(5, 49, 19), // "TransferHistoryItem"
QT_MOC_LITERAL(6, 69, 4) // "item"

    },
    "XmlStore::SaveThread\0elementLoaded\0\0"
    "number\0total\0TransferHistoryItem\0item"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_XmlStore__SaveThread[] = {

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

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

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

       0        // eod
};

void XmlStore::SaveThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SaveThread *_t = static_cast<SaveThread *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->elementLoaded((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const TransferHistoryItem(*)>(_a[3]))); 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 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< TransferHistoryItem >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (SaveThread::*_t)(int , int , const TransferHistoryItem & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SaveThread::elementLoaded)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject XmlStore::SaveThread::staticMetaObject = {
    { &QThread::staticMetaObject, qt_meta_stringdata_XmlStore__SaveThread.data,
      qt_meta_data_XmlStore__SaveThread,  qt_static_metacall, nullptr, nullptr}
};


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

void *XmlStore::SaveThread::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_XmlStore__SaveThread.stringdata0))
        return static_cast<void*>(this);
    return QThread::qt_metacast(_clname);
}

int XmlStore::SaveThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QThread::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void XmlStore::SaveThread::elementLoaded(int _t1, int _t2, const TransferHistoryItem & _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_XmlStore__DeleteThread_t {
    QByteArrayData data[1];
    char stringdata0[23];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_XmlStore__DeleteThread_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_XmlStore__DeleteThread_t qt_meta_stringdata_XmlStore__DeleteThread = {
    {
QT_MOC_LITERAL(0, 0, 22) // "XmlStore::DeleteThread"

    },
    "XmlStore::DeleteThread"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_XmlStore__DeleteThread[] = {

 // 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 XmlStore::DeleteThread::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 XmlStore::DeleteThread::staticMetaObject = {
    { &QThread::staticMetaObject, qt_meta_stringdata_XmlStore__DeleteThread.data,
      qt_meta_data_XmlStore__DeleteThread,  qt_static_metacall, nullptr, nullptr}
};


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

void *XmlStore::DeleteThread::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_XmlStore__DeleteThread.stringdata0))
        return static_cast<void*>(this);
    return QThread::qt_metacast(_clname);
}

int XmlStore::DeleteThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QThread::qt_metacall(_c, _id, _a);
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
