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

#include "../../../../src/kactioncollection.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kactioncollection.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.1. 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_KActionCollection_t {
    QByteArrayData data[21];
    char stringdata0[300];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KActionCollection_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KActionCollection_t qt_meta_stringdata_KActionCollection = {
    {
QT_MOC_LITERAL(0, 0, 17), // "KActionCollection"
QT_MOC_LITERAL(1, 18, 8), // "inserted"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 8), // "QAction*"
QT_MOC_LITERAL(4, 37, 6), // "action"
QT_MOC_LITERAL(5, 44, 7), // "removed"
QT_MOC_LITERAL(6, 52, 17), // "actionHighlighted"
QT_MOC_LITERAL(7, 70, 13), // "actionHovered"
QT_MOC_LITERAL(8, 84, 15), // "actionTriggered"
QT_MOC_LITERAL(9, 100, 19), // "slotActionTriggered"
QT_MOC_LITERAL(10, 120, 21), // "slotActionHighlighted"
QT_MOC_LITERAL(11, 142, 17), // "slotActionHovered"
QT_MOC_LITERAL(12, 160, 18), // "_k_actionDestroyed"
QT_MOC_LITERAL(13, 179, 28), // "_k_associatedWidgetDestroyed"
QT_MOC_LITERAL(14, 208, 9), // "addAction"
QT_MOC_LITERAL(15, 218, 4), // "name"
QT_MOC_LITERAL(16, 223, 19), // "setDefaultShortcuts"
QT_MOC_LITERAL(17, 243, 19), // "QList<QKeySequence>"
QT_MOC_LITERAL(18, 263, 9), // "shortcuts"
QT_MOC_LITERAL(19, 273, 11), // "configGroup"
QT_MOC_LITERAL(20, 285, 14) // "configIsGlobal"

    },
    "KActionCollection\0inserted\0\0QAction*\0"
    "action\0removed\0actionHighlighted\0"
    "actionHovered\0actionTriggered\0"
    "slotActionTriggered\0slotActionHighlighted\0"
    "slotActionHovered\0_k_actionDestroyed\0"
    "_k_associatedWidgetDestroyed\0addAction\0"
    "name\0setDefaultShortcuts\0QList<QKeySequence>\0"
    "shortcuts\0configGroup\0configIsGlobal"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KActionCollection[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      12,   14, // methods
       2,  108, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   74,    2, 0x06 /* Public */,
       5,    1,   77,    2, 0x16 /* Public | MethodCompatibility */,
       6,    1,   80,    2, 0x16 /* Public | MethodCompatibility */,
       7,    1,   83,    2, 0x06 /* Public */,
       8,    1,   86,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    0,   89,    2, 0x09 /* Protected */,
      10,    0,   90,    2, 0x19 /* Protected | MethodCompatibility */,
      11,    0,   91,    2, 0x08 /* Private */,
      12,    1,   92,    2, 0x08 /* Private */,
      13,    1,   95,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      14,    2,   98,    2, 0x02 /* Public */,
      16,    2,  103,    2, 0x02 /* Public */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QObjectStar,    2,
    QMetaType::Void, QMetaType::QObjectStar,    2,

 // methods: parameters
    0x80000000 | 3, QMetaType::QString, 0x80000000 | 3,   15,    4,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 17,    4,   18,

 // properties: name, type, flags
      19, QMetaType::QString, 0x00095103,
      20, QMetaType::Bool, 0x00095003,

       0        // eod
};

void KActionCollection::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KActionCollection *_t = static_cast<KActionCollection *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->inserted((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 1: _t->removed((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 2: _t->actionHighlighted((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 3: _t->actionHovered((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 4: _t->actionTriggered((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 5: _t->slotActionTriggered(); break;
        case 6: _t->slotActionHighlighted(); break;
        case 7: _t->slotActionHovered(); break;
        case 8: _t->d->_k_actionDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 9: _t->d->_k_associatedWidgetDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 10: { QAction* _r = _t->addAction((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QAction*(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QAction**>(_a[0]) = std::move(_r); }  break;
        case 11: _t->setDefaultShortcuts((*reinterpret_cast< QAction*(*)>(_a[1])),(*reinterpret_cast< const QList<QKeySequence>(*)>(_a[2]))); 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< QAction* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
            }
            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< QAction* >(); 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< QAction* >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); 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< QAction* >(); break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QKeySequence> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KActionCollection::*_t)(QAction * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KActionCollection::inserted)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KActionCollection::*_t)(QAction * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KActionCollection::removed)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KActionCollection::*_t)(QAction * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KActionCollection::actionHighlighted)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (KActionCollection::*_t)(QAction * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KActionCollection::actionHovered)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (KActionCollection::*_t)(QAction * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KActionCollection::actionTriggered)) {
                *result = 4;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        KActionCollection *_t = static_cast<KActionCollection *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->configGroup(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->configIsGlobal(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        KActionCollection *_t = static_cast<KActionCollection *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setConfigGroup(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setConfigGlobal(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KActionCollection::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KActionCollection.data,
      qt_meta_data_KActionCollection,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KActionCollection::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 < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KActionCollection::inserted(QAction * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KActionCollection::removed(QAction * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KActionCollection::actionHighlighted(QAction * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KActionCollection::actionHovered(QAction * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void KActionCollection::actionTriggered(QAction * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
