/****************************************************************************
** Meta object code from reading C++ file 'entitytreemodel.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/akonadi-17.12.3/src/core/models/entitytreemodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QSet>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'entitytreemodel.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_Akonadi__EntityTreeModel_t {
    QByteArrayData data[47];
    char stringdata0[935];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Akonadi__EntityTreeModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Akonadi__EntityTreeModel_t qt_meta_stringdata_Akonadi__EntityTreeModel = {
    {
QT_MOC_LITERAL(0, 0, 24), // "Akonadi::EntityTreeModel"
QT_MOC_LITERAL(1, 25, 21), // "collectionTreeFetched"
QT_MOC_LITERAL(2, 47, 0), // ""
QT_MOC_LITERAL(3, 48, 25), // "Akonadi::Collection::List"
QT_MOC_LITERAL(4, 74, 11), // "collections"
QT_MOC_LITERAL(5, 86, 19), // "collectionPopulated"
QT_MOC_LITERAL(6, 106, 23), // "Akonadi::Collection::Id"
QT_MOC_LITERAL(7, 130, 12), // "collectionId"
QT_MOC_LITERAL(8, 143, 17), // "collectionFetched"
QT_MOC_LITERAL(9, 161, 36), // "monitoredCollectionStatistics..."
QT_MOC_LITERAL(10, 198, 29), // "Akonadi::CollectionStatistics"
QT_MOC_LITERAL(11, 228, 17), // "startFirstListJob"
QT_MOC_LITERAL(12, 246, 13), // "serverStarted"
QT_MOC_LITERAL(13, 260, 16), // "itemFetchJobDone"
QT_MOC_LITERAL(14, 277, 5), // "KJob*"
QT_MOC_LITERAL(15, 283, 3), // "job"
QT_MOC_LITERAL(16, 287, 22), // "collectionFetchJobDone"
QT_MOC_LITERAL(17, 310, 16), // "rootFetchJobDone"
QT_MOC_LITERAL(18, 327, 12), // "pasteJobDone"
QT_MOC_LITERAL(19, 340, 13), // "updateJobDone"
QT_MOC_LITERAL(20, 354, 12), // "itemsFetched"
QT_MOC_LITERAL(21, 367, 19), // "Akonadi::Item::List"
QT_MOC_LITERAL(22, 387, 18), // "collectionsFetched"
QT_MOC_LITERAL(23, 406, 21), // "collectionListFetched"
QT_MOC_LITERAL(24, 428, 26), // "topLevelCollectionsFetched"
QT_MOC_LITERAL(25, 455, 16), // "ancestorsFetched"
QT_MOC_LITERAL(26, 472, 24), // "monitoredMimeTypeChanged"
QT_MOC_LITERAL(27, 497, 27), // "monitoredCollectionsChanged"
QT_MOC_LITERAL(28, 525, 19), // "Akonadi::Collection"
QT_MOC_LITERAL(29, 545, 21), // "monitoredItemsChanged"
QT_MOC_LITERAL(30, 567, 13), // "Akonadi::Item"
QT_MOC_LITERAL(31, 581, 25), // "monitoredResourcesChanged"
QT_MOC_LITERAL(32, 607, 24), // "monitoredCollectionAdded"
QT_MOC_LITERAL(33, 632, 26), // "monitoredCollectionRemoved"
QT_MOC_LITERAL(34, 659, 26), // "monitoredCollectionChanged"
QT_MOC_LITERAL(35, 686, 24), // "monitoredCollectionMoved"
QT_MOC_LITERAL(36, 711, 18), // "monitoredItemAdded"
QT_MOC_LITERAL(37, 730, 20), // "monitoredItemRemoved"
QT_MOC_LITERAL(38, 751, 20), // "monitoredItemChanged"
QT_MOC_LITERAL(39, 772, 16), // "QSet<QByteArray>"
QT_MOC_LITERAL(40, 789, 18), // "monitoredItemMoved"
QT_MOC_LITERAL(41, 808, 19), // "monitoredItemLinked"
QT_MOC_LITERAL(42, 828, 21), // "monitoredItemUnlinked"
QT_MOC_LITERAL(43, 850, 16), // "changeFetchState"
QT_MOC_LITERAL(44, 867, 20), // "agentInstanceRemoved"
QT_MOC_LITERAL(45, 888, 22), // "Akonadi::AgentInstance"
QT_MOC_LITERAL(46, 911, 23) // "monitoredItemsRetrieved"

    },
    "Akonadi::EntityTreeModel\0collectionTreeFetched\0"
    "\0Akonadi::Collection::List\0collections\0"
    "collectionPopulated\0Akonadi::Collection::Id\0"
    "collectionId\0collectionFetched\0"
    "monitoredCollectionStatisticsChanged\0"
    "Akonadi::CollectionStatistics\0"
    "startFirstListJob\0serverStarted\0"
    "itemFetchJobDone\0KJob*\0job\0"
    "collectionFetchJobDone\0rootFetchJobDone\0"
    "pasteJobDone\0updateJobDone\0itemsFetched\0"
    "Akonadi::Item::List\0collectionsFetched\0"
    "collectionListFetched\0topLevelCollectionsFetched\0"
    "ancestorsFetched\0monitoredMimeTypeChanged\0"
    "monitoredCollectionsChanged\0"
    "Akonadi::Collection\0monitoredItemsChanged\0"
    "Akonadi::Item\0monitoredResourcesChanged\0"
    "monitoredCollectionAdded\0"
    "monitoredCollectionRemoved\0"
    "monitoredCollectionChanged\0"
    "monitoredCollectionMoved\0monitoredItemAdded\0"
    "monitoredItemRemoved\0monitoredItemChanged\0"
    "QSet<QByteArray>\0monitoredItemMoved\0"
    "monitoredItemLinked\0monitoredItemUnlinked\0"
    "changeFetchState\0agentInstanceRemoved\0"
    "Akonadi::AgentInstance\0monitoredItemsRetrieved"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Akonadi__EntityTreeModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  179,    2, 0x06 /* Public */,
       5,    1,  182,    2, 0x06 /* Public */,
       8,    1,  185,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    2,  188,    2, 0x08 /* Private */,
      11,    0,  193,    2, 0x08 /* Private */,
      12,    0,  194,    2, 0x08 /* Private */,
      13,    1,  195,    2, 0x08 /* Private */,
      16,    1,  198,    2, 0x08 /* Private */,
      17,    1,  201,    2, 0x08 /* Private */,
      18,    1,  204,    2, 0x08 /* Private */,
      19,    1,  207,    2, 0x08 /* Private */,
      20,    1,  210,    2, 0x08 /* Private */,
      22,    1,  213,    2, 0x08 /* Private */,
      23,    1,  216,    2, 0x08 /* Private */,
      24,    1,  219,    2, 0x08 /* Private */,
      25,    1,  222,    2, 0x08 /* Private */,
      26,    2,  225,    2, 0x08 /* Private */,
      27,    2,  230,    2, 0x08 /* Private */,
      29,    2,  235,    2, 0x08 /* Private */,
      31,    2,  240,    2, 0x08 /* Private */,
      32,    2,  245,    2, 0x08 /* Private */,
      33,    1,  250,    2, 0x08 /* Private */,
      34,    1,  253,    2, 0x08 /* Private */,
      35,    3,  256,    2, 0x08 /* Private */,
      36,    2,  263,    2, 0x08 /* Private */,
      37,    1,  268,    2, 0x08 /* Private */,
      38,    2,  271,    2, 0x08 /* Private */,
      40,    3,  276,    2, 0x08 /* Private */,
      41,    2,  283,    2, 0x08 /* Private */,
      42,    2,  288,    2, 0x08 /* Private */,
      43,    1,  293,    2, 0x08 /* Private */,
      44,    1,  296,    2, 0x08 /* Private */,
      46,    1,  299,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, 0x80000000 | 6, 0x80000000 | 10,    2,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 14,   15,
    QMetaType::Void, 0x80000000 | 14,   15,
    QMetaType::Void, 0x80000000 | 14,   15,
    QMetaType::Void, 0x80000000 | 14,   15,
    QMetaType::Void, 0x80000000 | 14,   15,
    QMetaType::Void, 0x80000000 | 21,    2,
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,    2,    2,
    QMetaType::Void, 0x80000000 | 28, QMetaType::Bool,    2,    2,
    QMetaType::Void, 0x80000000 | 30, QMetaType::Bool,    2,    2,
    QMetaType::Void, QMetaType::QByteArray, QMetaType::Bool,    2,    2,
    QMetaType::Void, 0x80000000 | 28, 0x80000000 | 28,    2,    2,
    QMetaType::Void, 0x80000000 | 28,    2,
    QMetaType::Void, 0x80000000 | 28,    2,
    QMetaType::Void, 0x80000000 | 28, 0x80000000 | 28, 0x80000000 | 28,    2,    2,    2,
    QMetaType::Void, 0x80000000 | 30, 0x80000000 | 28,    2,    2,
    QMetaType::Void, 0x80000000 | 30,    2,
    QMetaType::Void, 0x80000000 | 30, 0x80000000 | 39,    2,    2,
    QMetaType::Void, 0x80000000 | 30, 0x80000000 | 28, 0x80000000 | 28,    2,    2,    2,
    QMetaType::Void, 0x80000000 | 30, 0x80000000 | 28,    2,    2,
    QMetaType::Void, 0x80000000 | 30, 0x80000000 | 28,    2,    2,
    QMetaType::Void, 0x80000000 | 28,    2,
    QMetaType::Void, 0x80000000 | 45,    2,
    QMetaType::Void, 0x80000000 | 14,   15,

       0        // eod
};

void Akonadi::EntityTreeModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        EntityTreeModel *_t = static_cast<EntityTreeModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->collectionTreeFetched((*reinterpret_cast< const Akonadi::Collection::List(*)>(_a[1]))); break;
        case 1: _t->collectionPopulated((*reinterpret_cast< Akonadi::Collection::Id(*)>(_a[1]))); break;
        case 2: _t->collectionFetched((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->d_func()->monitoredCollectionStatisticsChanged((*reinterpret_cast< Akonadi::Collection::Id(*)>(_a[1])),(*reinterpret_cast< const Akonadi::CollectionStatistics(*)>(_a[2]))); break;
        case 4: _t->d_func()->startFirstListJob(); break;
        case 5: _t->d_func()->serverStarted(); break;
        case 6: _t->d_func()->itemFetchJobDone((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 7: _t->d_func()->collectionFetchJobDone((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 8: _t->d_func()->rootFetchJobDone((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 9: _t->d_func()->pasteJobDone((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 10: _t->d_func()->updateJobDone((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 11: _t->d_func()->itemsFetched((*reinterpret_cast< Akonadi::Item::List(*)>(_a[1]))); break;
        case 12: _t->d_func()->collectionsFetched((*reinterpret_cast< Akonadi::Collection::List(*)>(_a[1]))); break;
        case 13: _t->d_func()->collectionListFetched((*reinterpret_cast< Akonadi::Collection::List(*)>(_a[1]))); break;
        case 14: _t->d_func()->topLevelCollectionsFetched((*reinterpret_cast< Akonadi::Collection::List(*)>(_a[1]))); break;
        case 15: _t->d_func()->ancestorsFetched((*reinterpret_cast< Akonadi::Collection::List(*)>(_a[1]))); break;
        case 16: _t->d_func()->monitoredMimeTypeChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 17: _t->d_func()->monitoredCollectionsChanged((*reinterpret_cast< const Akonadi::Collection(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 18: _t->d_func()->monitoredItemsChanged((*reinterpret_cast< const Akonadi::Item(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 19: _t->d_func()->monitoredResourcesChanged((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 20: _t->d_func()->monitoredCollectionAdded((*reinterpret_cast< const Akonadi::Collection(*)>(_a[1])),(*reinterpret_cast< const Akonadi::Collection(*)>(_a[2]))); break;
        case 21: _t->d_func()->monitoredCollectionRemoved((*reinterpret_cast< const Akonadi::Collection(*)>(_a[1]))); break;
        case 22: _t->d_func()->monitoredCollectionChanged((*reinterpret_cast< const Akonadi::Collection(*)>(_a[1]))); break;
        case 23: _t->d_func()->monitoredCollectionMoved((*reinterpret_cast< const Akonadi::Collection(*)>(_a[1])),(*reinterpret_cast< const Akonadi::Collection(*)>(_a[2])),(*reinterpret_cast< const Akonadi::Collection(*)>(_a[3]))); break;
        case 24: _t->d_func()->monitoredItemAdded((*reinterpret_cast< const Akonadi::Item(*)>(_a[1])),(*reinterpret_cast< const Akonadi::Collection(*)>(_a[2]))); break;
        case 25: _t->d_func()->monitoredItemRemoved((*reinterpret_cast< const Akonadi::Item(*)>(_a[1]))); break;
        case 26: _t->d_func()->monitoredItemChanged((*reinterpret_cast< const Akonadi::Item(*)>(_a[1])),(*reinterpret_cast< const QSet<QByteArray>(*)>(_a[2]))); break;
        case 27: _t->d_func()->monitoredItemMoved((*reinterpret_cast< const Akonadi::Item(*)>(_a[1])),(*reinterpret_cast< const Akonadi::Collection(*)>(_a[2])),(*reinterpret_cast< const Akonadi::Collection(*)>(_a[3]))); break;
        case 28: _t->d_func()->monitoredItemLinked((*reinterpret_cast< const Akonadi::Item(*)>(_a[1])),(*reinterpret_cast< const Akonadi::Collection(*)>(_a[2]))); break;
        case 29: _t->d_func()->monitoredItemUnlinked((*reinterpret_cast< const Akonadi::Item(*)>(_a[1])),(*reinterpret_cast< const Akonadi::Collection(*)>(_a[2]))); break;
        case 30: _t->d_func()->changeFetchState((*reinterpret_cast< const Akonadi::Collection(*)>(_a[1]))); break;
        case 31: _t->d_func()->agentInstanceRemoved((*reinterpret_cast< Akonadi::AgentInstance(*)>(_a[1]))); break;
        case 32: _t->d_func()->monitoredItemsRetrieved((*reinterpret_cast< KJob*(*)>(_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< Akonadi::Collection::List >(); 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;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Item::List >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Collection::List >(); break;
            }
            break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Collection::List >(); break;
            }
            break;
        case 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Collection::List >(); break;
            }
            break;
        case 15:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Collection::List >(); break;
            }
            break;
        case 17:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Collection >(); break;
            }
            break;
        case 18:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Item >(); break;
            }
            break;
        case 20:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Collection >(); break;
            }
            break;
        case 21:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Collection >(); break;
            }
            break;
        case 22:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Collection >(); break;
            }
            break;
        case 23:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 2:
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Collection >(); break;
            }
            break;
        case 24:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Collection >(); break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Item >(); break;
            }
            break;
        case 25:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Item >(); break;
            }
            break;
        case 26:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Item >(); break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QSet<QByteArray> >(); break;
            }
            break;
        case 27:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 2:
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Collection >(); break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Item >(); break;
            }
            break;
        case 28:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Collection >(); break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Item >(); break;
            }
            break;
        case 29:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Collection >(); break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Item >(); break;
            }
            break;
        case 30:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Akonadi::Collection >(); break;
            }
            break;
        case 32:
            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;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (EntityTreeModel::*_t)(const Akonadi::Collection::List & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EntityTreeModel::collectionTreeFetched)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (EntityTreeModel::*_t)(Akonadi::Collection::Id );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EntityTreeModel::collectionPopulated)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (EntityTreeModel::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EntityTreeModel::collectionFetched)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject Akonadi::EntityTreeModel::staticMetaObject = {
    { &QAbstractItemModel::staticMetaObject, qt_meta_stringdata_Akonadi__EntityTreeModel.data,
      qt_meta_data_Akonadi__EntityTreeModel,  qt_static_metacall, nullptr, nullptr}
};


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

void *Akonadi::EntityTreeModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Akonadi__EntityTreeModel.stringdata0))
        return static_cast<void*>(this);
    return QAbstractItemModel::qt_metacast(_clname);
}

int Akonadi::EntityTreeModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractItemModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 33)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 33;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 33)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 33;
    }
    return _id;
}

// SIGNAL 0
void Akonadi::EntityTreeModel::collectionTreeFetched(const Akonadi::Collection::List & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Akonadi::EntityTreeModel::collectionPopulated(Akonadi::Collection::Id _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Akonadi::EntityTreeModel::collectionFetched(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
