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

#include <memory>
#include "../../../../../akonadi-23.08.5/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.15.19. 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[48];
    char stringdata0[931];
};
#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, 22), // "collectionFetchJobDone"
QT_MOC_LITERAL(14, 283, 5), // "KJob*"
QT_MOC_LITERAL(15, 289, 3), // "job"
QT_MOC_LITERAL(16, 293, 16), // "rootFetchJobDone"
QT_MOC_LITERAL(17, 310, 12), // "pasteJobDone"
QT_MOC_LITERAL(18, 323, 13), // "updateJobDone"
QT_MOC_LITERAL(19, 337, 12), // "itemsFetched"
QT_MOC_LITERAL(20, 350, 19), // "Akonadi::Item::List"
QT_MOC_LITERAL(21, 370, 18), // "collectionsFetched"
QT_MOC_LITERAL(22, 389, 26), // "topLevelCollectionsFetched"
QT_MOC_LITERAL(23, 416, 16), // "ancestorsFetched"
QT_MOC_LITERAL(24, 433, 24), // "monitoredMimeTypeChanged"
QT_MOC_LITERAL(25, 458, 27), // "monitoredCollectionsChanged"
QT_MOC_LITERAL(26, 486, 19), // "Akonadi::Collection"
QT_MOC_LITERAL(27, 506, 21), // "monitoredItemsChanged"
QT_MOC_LITERAL(28, 528, 13), // "Akonadi::Item"
QT_MOC_LITERAL(29, 542, 25), // "monitoredResourcesChanged"
QT_MOC_LITERAL(30, 568, 24), // "monitoredCollectionAdded"
QT_MOC_LITERAL(31, 593, 26), // "monitoredCollectionRemoved"
QT_MOC_LITERAL(32, 620, 26), // "monitoredCollectionChanged"
QT_MOC_LITERAL(33, 647, 24), // "monitoredCollectionMoved"
QT_MOC_LITERAL(34, 672, 18), // "monitoredItemAdded"
QT_MOC_LITERAL(35, 691, 20), // "monitoredItemRemoved"
QT_MOC_LITERAL(36, 712, 20), // "monitoredItemChanged"
QT_MOC_LITERAL(37, 733, 16), // "QSet<QByteArray>"
QT_MOC_LITERAL(38, 750, 18), // "monitoredItemMoved"
QT_MOC_LITERAL(39, 769, 19), // "monitoredItemLinked"
QT_MOC_LITERAL(40, 789, 21), // "monitoredItemUnlinked"
QT_MOC_LITERAL(41, 811, 16), // "changeFetchState"
QT_MOC_LITERAL(42, 828, 20), // "agentInstanceRemoved"
QT_MOC_LITERAL(43, 849, 22), // "Akonadi::AgentInstance"
QT_MOC_LITERAL(44, 872, 23), // "monitoredItemsRetrieved"
QT_MOC_LITERAL(45, 896, 10), // "FetchState"
QT_MOC_LITERAL(46, 907, 9), // "IdleState"
QT_MOC_LITERAL(47, 917, 13) // "FetchingState"

    },
    "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"
    "collectionFetchJobDone\0KJob*\0job\0"
    "rootFetchJobDone\0pasteJobDone\0"
    "updateJobDone\0itemsFetched\0"
    "Akonadi::Item::List\0collectionsFetched\0"
    "topLevelCollectionsFetched\0ancestorsFetched\0"
    "monitoredMimeTypeChanged\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\0"
    "FetchState\0IdleState\0FetchingState"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Akonadi__EntityTreeModel[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      31,   14, // methods
       0,    0, // properties
       1,  286, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  169,    2, 0x06 /* Public */,
       5,    1,  172,    2, 0x06 /* Public */,
       8,    1,  175,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    2,  178,    2, 0x08 /* Private */,
      11,    0,  183,    2, 0x08 /* Private */,
      12,    0,  184,    2, 0x08 /* Private */,
      13,    1,  185,    2, 0x08 /* Private */,
      16,    1,  188,    2, 0x08 /* Private */,
      17,    1,  191,    2, 0x08 /* Private */,
      18,    1,  194,    2, 0x08 /* Private */,
      19,    1,  197,    2, 0x08 /* Private */,
      21,    1,  200,    2, 0x08 /* Private */,
      22,    1,  203,    2, 0x08 /* Private */,
      23,    1,  206,    2, 0x08 /* Private */,
      24,    2,  209,    2, 0x08 /* Private */,
      25,    2,  214,    2, 0x08 /* Private */,
      27,    2,  219,    2, 0x08 /* Private */,
      29,    2,  224,    2, 0x08 /* Private */,
      30,    2,  229,    2, 0x08 /* Private */,
      31,    1,  234,    2, 0x08 /* Private */,
      32,    1,  237,    2, 0x08 /* Private */,
      33,    3,  240,    2, 0x08 /* Private */,
      34,    2,  247,    2, 0x08 /* Private */,
      35,    1,  252,    2, 0x08 /* Private */,
      36,    2,  255,    2, 0x08 /* Private */,
      38,    3,  260,    2, 0x08 /* Private */,
      39,    2,  267,    2, 0x08 /* Private */,
      40,    2,  272,    2, 0x08 /* Private */,
      41,    1,  277,    2, 0x08 /* Private */,
      42,    1,  280,    2, 0x08 /* Private */,
      44,    1,  283,    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 | 20,    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 | 26, QMetaType::Bool,    2,    2,
    QMetaType::Void, 0x80000000 | 28, QMetaType::Bool,    2,    2,
    QMetaType::Void, QMetaType::QByteArray, QMetaType::Bool,    2,    2,
    QMetaType::Void, 0x80000000 | 26, 0x80000000 | 26,    2,    2,
    QMetaType::Void, 0x80000000 | 26,    2,
    QMetaType::Void, 0x80000000 | 26,    2,
    QMetaType::Void, 0x80000000 | 26, 0x80000000 | 26, 0x80000000 | 26,    2,    2,    2,
    QMetaType::Void, 0x80000000 | 28, 0x80000000 | 26,    2,    2,
    QMetaType::Void, 0x80000000 | 28,    2,
    QMetaType::Void, 0x80000000 | 28, 0x80000000 | 37,    2,    2,
    QMetaType::Void, 0x80000000 | 28, 0x80000000 | 26, 0x80000000 | 26,    2,    2,    2,
    QMetaType::Void, 0x80000000 | 28, 0x80000000 | 26,    2,    2,
    QMetaType::Void, 0x80000000 | 28, 0x80000000 | 26,    2,    2,
    QMetaType::Void, 0x80000000 | 26,    2,
    QMetaType::Void, 0x80000000 | 43,    2,
    QMetaType::Void, 0x80000000 | 14,   15,

 // enums: name, alias, flags, count, data
      45,   45, 0x0,    2,  291,

 // enum data: key, value
      46, uint(Akonadi::EntityTreeModel::IdleState),
      47, uint(Akonadi::EntityTreeModel::FetchingState),

       0        // eod
};

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

QT_INIT_METAOBJECT const QMetaObject Akonadi::EntityTreeModel::staticMetaObject = { {
    QMetaObject::SuperData::link<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 < 31)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 31;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 31)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 31;
    }
    return _id;
}

// SIGNAL 0
void Akonadi::EntityTreeModel::collectionTreeFetched(const Akonadi::Collection::List & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_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*>(std::addressof(_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*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
