/****************************************************************************
** Meta object code from reading C++ file 'collection.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/collection.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'collection.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__Collection_t {
    QByteArrayData data[25];
    char stringdata0[287];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Akonadi__Collection_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Akonadi__Collection_t qt_meta_stringdata_Akonadi__Collection = {
    {
QT_MOC_LITERAL(0, 0, 19), // "Akonadi::Collection"
QT_MOC_LITERAL(1, 20, 2), // "id"
QT_MOC_LITERAL(2, 23, 2), // "Id"
QT_MOC_LITERAL(3, 26, 9), // "remoteIdd"
QT_MOC_LITERAL(4, 36, 7), // "isValid"
QT_MOC_LITERAL(5, 44, 14), // "remoteRevision"
QT_MOC_LITERAL(6, 59, 7), // "enabled"
QT_MOC_LITERAL(7, 67, 9), // "isVirtual"
QT_MOC_LITERAL(8, 77, 4), // "name"
QT_MOC_LITERAL(9, 82, 11), // "displayName"
QT_MOC_LITERAL(10, 94, 6), // "rights"
QT_MOC_LITERAL(11, 101, 6), // "Rights"
QT_MOC_LITERAL(12, 108, 16), // "contentMimeTypes"
QT_MOC_LITERAL(13, 125, 8), // "resource"
QT_MOC_LITERAL(14, 134, 5), // "Right"
QT_MOC_LITERAL(15, 140, 8), // "ReadOnly"
QT_MOC_LITERAL(16, 149, 13), // "CanChangeItem"
QT_MOC_LITERAL(17, 163, 13), // "CanCreateItem"
QT_MOC_LITERAL(18, 177, 13), // "CanDeleteItem"
QT_MOC_LITERAL(19, 191, 19), // "CanChangeCollection"
QT_MOC_LITERAL(20, 211, 19), // "CanCreateCollection"
QT_MOC_LITERAL(21, 231, 19), // "CanDeleteCollection"
QT_MOC_LITERAL(22, 251, 11), // "CanLinkItem"
QT_MOC_LITERAL(23, 263, 13), // "CanUnlinkItem"
QT_MOC_LITERAL(24, 277, 9) // "AllRights"

    },
    "Akonadi::Collection\0id\0Id\0remoteIdd\0"
    "isValid\0remoteRevision\0enabled\0isVirtual\0"
    "name\0displayName\0rights\0Rights\0"
    "contentMimeTypes\0resource\0Right\0"
    "ReadOnly\0CanChangeItem\0CanCreateItem\0"
    "CanDeleteItem\0CanChangeCollection\0"
    "CanCreateCollection\0CanDeleteCollection\0"
    "CanLinkItem\0CanUnlinkItem\0AllRights"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Akonadi__Collection[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
      11,   14, // properties
       1,   47, // enums/sets
       0,    0, // constructors
       4,       // flags
       0,       // signalCount

 // properties: name, type, flags
       1, 0x80000000 | 2, 0x0009510b,
       3, QMetaType::QString, 0x00095003,
       4, QMetaType::Bool, 0x00095001,
       5, QMetaType::QString, 0x00095103,
       6, QMetaType::Bool, 0x00095103,
       7, QMetaType::Bool, 0x00095003,
       8, QMetaType::QString, 0x00095103,
       9, QMetaType::QString, 0x00095001,
      10, 0x80000000 | 11, 0x0009510b,
      12, QMetaType::QStringList, 0x00095103,
      13, QMetaType::QString, 0x00095103,

 // enums: name, alias, flags, count, data
      14,   14, 0x0,   10,   52,

 // enum data: key, value
      15, uint(Akonadi::Collection::ReadOnly),
      16, uint(Akonadi::Collection::CanChangeItem),
      17, uint(Akonadi::Collection::CanCreateItem),
      18, uint(Akonadi::Collection::CanDeleteItem),
      19, uint(Akonadi::Collection::CanChangeCollection),
      20, uint(Akonadi::Collection::CanCreateCollection),
      21, uint(Akonadi::Collection::CanDeleteCollection),
      22, uint(Akonadi::Collection::CanLinkItem),
      23, uint(Akonadi::Collection::CanUnlinkItem),
      24, uint(Akonadi::Collection::AllRights),

       0        // eod
};

void Akonadi::Collection::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{

#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty) {
        auto *_t = reinterpret_cast<Collection *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Id*>(_v) = _t->id(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->remoteId(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isValid(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->remoteRevision(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->enabled(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->isVirtual(); break;
        case 6: *reinterpret_cast< QString*>(_v) = _t->name(); break;
        case 7: *reinterpret_cast< QString*>(_v) = _t->displayName(); break;
        case 8: *reinterpret_cast< Rights*>(_v) = _t->rights(); break;
        case 9: *reinterpret_cast< QStringList*>(_v) = _t->contentMimeTypes(); break;
        case 10: *reinterpret_cast< QString*>(_v) = _t->resource(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = reinterpret_cast<Collection *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setId(*reinterpret_cast< Id*>(_v)); break;
        case 1: _t->setRemoteId(*reinterpret_cast< QString*>(_v)); break;
        case 3: _t->setRemoteRevision(*reinterpret_cast< QString*>(_v)); break;
        case 4: _t->setEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 5: _t->setVirtual(*reinterpret_cast< bool*>(_v)); break;
        case 6: _t->setName(*reinterpret_cast< QString*>(_v)); break;
        case 8: _t->setRights(*reinterpret_cast< Rights*>(_v)); break;
        case 9: _t->setContentMimeTypes(*reinterpret_cast< QStringList*>(_v)); break;
        case 10: _t->setResource(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject Akonadi::Collection::staticMetaObject = { {
    nullptr,
    qt_meta_stringdata_Akonadi__Collection.data,
    qt_meta_data_Akonadi__Collection,
    qt_static_metacall,
    nullptr,
    nullptr
} };

QT_WARNING_POP
QT_END_MOC_NAMESPACE
