/****************************************************************************
** Meta object code from reading C++ file 'standardactionmanager.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/widgets/standardactionmanager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'standardactionmanager.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__StandardActionManager_t {
    QByteArrayData data[55];
    char stringdata0[1116];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Akonadi__StandardActionManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Akonadi__StandardActionManager_t qt_meta_stringdata_Akonadi__StandardActionManager = {
    {
QT_MOC_LITERAL(0, 0, 30), // "Akonadi::StandardActionManager"
QT_MOC_LITERAL(1, 31, 17), // "selectionsChanged"
QT_MOC_LITERAL(2, 49, 0), // ""
QT_MOC_LITERAL(3, 50, 16), // "Collection::List"
QT_MOC_LITERAL(4, 67, 23), // "selectedCollectionsList"
QT_MOC_LITERAL(5, 91, 31), // "selectedFavoriteCollectionsList"
QT_MOC_LITERAL(6, 123, 10), // "Item::List"
QT_MOC_LITERAL(7, 134, 13), // "selectedItems"
QT_MOC_LITERAL(8, 148, 18), // "actionStateUpdated"
QT_MOC_LITERAL(9, 167, 13), // "updateActions"
QT_MOC_LITERAL(10, 181, 20), // "slotCreateCollection"
QT_MOC_LITERAL(11, 202, 19), // "slotCopyCollections"
QT_MOC_LITERAL(12, 222, 18), // "slotCutCollections"
QT_MOC_LITERAL(13, 241, 20), // "slotDeleteCollection"
QT_MOC_LITERAL(14, 262, 25), // "slotMoveCollectionToTrash"
QT_MOC_LITERAL(15, 288, 19), // "slotMoveItemToTrash"
QT_MOC_LITERAL(16, 308, 30), // "slotRestoreCollectionFromTrash"
QT_MOC_LITERAL(17, 339, 24), // "slotRestoreItemFromTrash"
QT_MOC_LITERAL(18, 364, 26), // "slotTrashRestoreCollection"
QT_MOC_LITERAL(19, 391, 20), // "slotTrashRestoreItem"
QT_MOC_LITERAL(20, 412, 25), // "slotSynchronizeCollection"
QT_MOC_LITERAL(21, 438, 34), // "slotSynchronizeCollectionRecu..."
QT_MOC_LITERAL(22, 473, 34), // "slotSynchronizeFavoriteCollec..."
QT_MOC_LITERAL(23, 508, 24), // "slotCollectionProperties"
QT_MOC_LITERAL(24, 533, 13), // "slotCopyItems"
QT_MOC_LITERAL(25, 547, 12), // "slotCutItems"
QT_MOC_LITERAL(26, 560, 9), // "slotPaste"
QT_MOC_LITERAL(27, 570, 15), // "slotDeleteItems"
QT_MOC_LITERAL(28, 586, 23), // "slotDeleteItemsDeferred"
QT_MOC_LITERAL(29, 610, 19), // "Akonadi::Item::List"
QT_MOC_LITERAL(30, 630, 21), // "slotLocalSubscription"
QT_MOC_LITERAL(31, 652, 18), // "slotAddToFavorites"
QT_MOC_LITERAL(32, 671, 23), // "slotRemoveFromFavorites"
QT_MOC_LITERAL(33, 695, 18), // "slotRenameFavorite"
QT_MOC_LITERAL(34, 714, 20), // "slotCopyCollectionTo"
QT_MOC_LITERAL(35, 735, 20), // "slotMoveCollectionTo"
QT_MOC_LITERAL(36, 756, 14), // "slotCopyItemTo"
QT_MOC_LITERAL(37, 771, 14), // "slotMoveItemTo"
QT_MOC_LITERAL(38, 786, 8), // "QAction*"
QT_MOC_LITERAL(39, 795, 18), // "slotCreateResource"
QT_MOC_LITERAL(40, 814, 18), // "slotDeleteResource"
QT_MOC_LITERAL(41, 833, 22), // "slotResourceProperties"
QT_MOC_LITERAL(42, 856, 23), // "slotSynchronizeResource"
QT_MOC_LITERAL(43, 880, 21), // "slotToggleWorkOffline"
QT_MOC_LITERAL(44, 902, 29), // "slotSynchronizeCollectionTree"
QT_MOC_LITERAL(45, 932, 24), // "collectionCreationResult"
QT_MOC_LITERAL(46, 957, 5), // "KJob*"
QT_MOC_LITERAL(47, 963, 21), // "moveItemToTrashResult"
QT_MOC_LITERAL(48, 985, 22), // "resourceCreationResult"
QT_MOC_LITERAL(49, 1008, 11), // "pasteResult"
QT_MOC_LITERAL(50, 1020, 12), // "enableAction"
QT_MOC_LITERAL(51, 1033, 17), // "updatePluralLabel"
QT_MOC_LITERAL(52, 1051, 23), // "updateAlternatingAction"
QT_MOC_LITERAL(53, 1075, 20), // "isFavoriteCollection"
QT_MOC_LITERAL(54, 1096, 19) // "Akonadi::Collection"

    },
    "Akonadi::StandardActionManager\0"
    "selectionsChanged\0\0Collection::List\0"
    "selectedCollectionsList\0"
    "selectedFavoriteCollectionsList\0"
    "Item::List\0selectedItems\0actionStateUpdated\0"
    "updateActions\0slotCreateCollection\0"
    "slotCopyCollections\0slotCutCollections\0"
    "slotDeleteCollection\0slotMoveCollectionToTrash\0"
    "slotMoveItemToTrash\0slotRestoreCollectionFromTrash\0"
    "slotRestoreItemFromTrash\0"
    "slotTrashRestoreCollection\0"
    "slotTrashRestoreItem\0slotSynchronizeCollection\0"
    "slotSynchronizeCollectionRecursive\0"
    "slotSynchronizeFavoriteCollections\0"
    "slotCollectionProperties\0slotCopyItems\0"
    "slotCutItems\0slotPaste\0slotDeleteItems\0"
    "slotDeleteItemsDeferred\0Akonadi::Item::List\0"
    "slotLocalSubscription\0slotAddToFavorites\0"
    "slotRemoveFromFavorites\0slotRenameFavorite\0"
    "slotCopyCollectionTo\0slotMoveCollectionTo\0"
    "slotCopyItemTo\0slotMoveItemTo\0QAction*\0"
    "slotCreateResource\0slotDeleteResource\0"
    "slotResourceProperties\0slotSynchronizeResource\0"
    "slotToggleWorkOffline\0"
    "slotSynchronizeCollectionTree\0"
    "collectionCreationResult\0KJob*\0"
    "moveItemToTrashResult\0resourceCreationResult\0"
    "pasteResult\0enableAction\0updatePluralLabel\0"
    "updateAlternatingAction\0isFavoriteCollection\0"
    "Akonadi::Collection"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Akonadi__StandardActionManager[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       9,    0,  262,    2, 0x08 /* Private */,
      10,    0,  263,    2, 0x08 /* Private */,
      11,    0,  264,    2, 0x08 /* Private */,
      12,    0,  265,    2, 0x08 /* Private */,
      13,    0,  266,    2, 0x08 /* Private */,
      14,    0,  267,    2, 0x08 /* Private */,
      15,    0,  268,    2, 0x08 /* Private */,
      16,    0,  269,    2, 0x08 /* Private */,
      17,    0,  270,    2, 0x08 /* Private */,
      18,    0,  271,    2, 0x08 /* Private */,
      19,    0,  272,    2, 0x08 /* Private */,
      20,    0,  273,    2, 0x08 /* Private */,
      21,    0,  274,    2, 0x08 /* Private */,
      22,    0,  275,    2, 0x08 /* Private */,
      23,    0,  276,    2, 0x08 /* Private */,
      24,    0,  277,    2, 0x08 /* Private */,
      25,    0,  278,    2, 0x08 /* Private */,
      26,    0,  279,    2, 0x08 /* Private */,
      27,    0,  280,    2, 0x08 /* Private */,
      28,    1,  281,    2, 0x08 /* Private */,
      30,    0,  284,    2, 0x08 /* Private */,
      31,    0,  285,    2, 0x08 /* Private */,
      32,    0,  286,    2, 0x08 /* Private */,
      33,    0,  287,    2, 0x08 /* Private */,
      34,    0,  288,    2, 0x08 /* Private */,
      35,    0,  289,    2, 0x08 /* Private */,
      36,    0,  290,    2, 0x08 /* Private */,
      37,    0,  291,    2, 0x08 /* Private */,
      34,    1,  292,    2, 0x08 /* Private */,
      35,    1,  295,    2, 0x08 /* Private */,
      36,    1,  298,    2, 0x08 /* Private */,
      37,    1,  301,    2, 0x08 /* Private */,
      39,    0,  304,    2, 0x08 /* Private */,
      40,    0,  305,    2, 0x08 /* Private */,
      41,    0,  306,    2, 0x08 /* Private */,
      42,    0,  307,    2, 0x08 /* Private */,
      43,    1,  308,    2, 0x08 /* Private */,
      44,    0,  311,    2, 0x08 /* Private */,
      45,    1,  312,    2, 0x08 /* Private */,
      47,    1,  315,    2, 0x08 /* Private */,
      48,    1,  318,    2, 0x08 /* Private */,
      49,    1,  321,    2, 0x08 /* Private */,
      50,    2,  324,    2, 0x08 /* Private */,
      51,    2,  329,    2, 0x08 /* Private */,
      52,    1,  334,    2, 0x08 /* Private */,
      53,    1,  337,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 29,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 38,    2,
    QMetaType::Void, 0x80000000 | 38,    2,
    QMetaType::Void, 0x80000000 | 38,    2,
    QMetaType::Void, 0x80000000 | 38,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 46,    2,
    QMetaType::Void, 0x80000000 | 46,    2,
    QMetaType::Void, 0x80000000 | 46,    2,
    QMetaType::Void, 0x80000000 | 46,    2,
    QMetaType::Void, QMetaType::Int, QMetaType::Bool,    2,    2,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    2,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Bool, 0x80000000 | 54,    2,

       0        // eod
};

void Akonadi::StandardActionManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<StandardActionManager *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->selectionsChanged((*reinterpret_cast< const Collection::List(*)>(_a[1])),(*reinterpret_cast< const Collection::List(*)>(_a[2])),(*reinterpret_cast< const Item::List(*)>(_a[3]))); break;
        case 1: _t->actionStateUpdated(); break;
        case 2: _t->d->updateActions(); break;
        case 3: _t->d->slotCreateCollection(); break;
        case 4: _t->d->slotCopyCollections(); break;
        case 5: _t->d->slotCutCollections(); break;
        case 6: _t->d->slotDeleteCollection(); break;
        case 7: _t->d->slotMoveCollectionToTrash(); break;
        case 8: _t->d->slotMoveItemToTrash(); break;
        case 9: _t->d->slotRestoreCollectionFromTrash(); break;
        case 10: _t->d->slotRestoreItemFromTrash(); break;
        case 11: _t->d->slotTrashRestoreCollection(); break;
        case 12: _t->d->slotTrashRestoreItem(); break;
        case 13: _t->d->slotSynchronizeCollection(); break;
        case 14: _t->d->slotSynchronizeCollectionRecursive(); break;
        case 15: _t->d->slotSynchronizeFavoriteCollections(); break;
        case 16: _t->d->slotCollectionProperties(); break;
        case 17: _t->d->slotCopyItems(); break;
        case 18: _t->d->slotCutItems(); break;
        case 19: _t->d->slotPaste(); break;
        case 20: _t->d->slotDeleteItems(); break;
        case 21: _t->d->slotDeleteItemsDeferred((*reinterpret_cast< const Akonadi::Item::List(*)>(_a[1]))); break;
        case 22: _t->d->slotLocalSubscription(); break;
        case 23: _t->d->slotAddToFavorites(); break;
        case 24: _t->d->slotRemoveFromFavorites(); break;
        case 25: _t->d->slotRenameFavorite(); break;
        case 26: _t->d->slotCopyCollectionTo(); break;
        case 27: _t->d->slotMoveCollectionTo(); break;
        case 28: _t->d->slotCopyItemTo(); break;
        case 29: _t->d->slotMoveItemTo(); break;
        case 30: _t->d->slotCopyCollectionTo((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 31: _t->d->slotMoveCollectionTo((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 32: _t->d->slotCopyItemTo((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 33: _t->d->slotMoveItemTo((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 34: _t->d->slotCreateResource(); break;
        case 35: _t->d->slotDeleteResource(); break;
        case 36: _t->d->slotResourceProperties(); break;
        case 37: _t->d->slotSynchronizeResource(); break;
        case 38: _t->d->slotToggleWorkOffline((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 39: _t->d->slotSynchronizeCollectionTree(); break;
        case 40: _t->d->collectionCreationResult((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 41: _t->d->moveItemToTrashResult((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 42: _t->d->resourceCreationResult((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 43: _t->d->pasteResult((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 44: _t->d->enableAction((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 45: _t->d->updatePluralLabel((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 46: _t->d->updateAlternatingAction((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 47: { bool _r = _t->d->isFavoriteCollection((*reinterpret_cast< const Akonadi::Collection(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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::Item::List >(); break;
            }
            break;
        case 40:
            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 41:
            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 42:
            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 43:
            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 47:
            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;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (StandardActionManager::*)(const Collection::List & , const Collection::List & , const Item::List & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StandardActionManager::selectionsChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (StandardActionManager::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&StandardActionManager::actionStateUpdated)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Akonadi::StandardActionManager::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_Akonadi__StandardActionManager.data,
    qt_meta_data_Akonadi__StandardActionManager,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void Akonadi::StandardActionManager::selectionsChanged(const Collection::List & _t1, const Collection::List & _t2, const Item::List & _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Akonadi::StandardActionManager::actionStateUpdated()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
