/****************************************************************************
** Meta object code from reading C++ file 'actioneditor_p.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 "../../../../../../kde-qttools/src/designer/src/lib/shared/actioneditor_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'actioneditor_p.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_qdesigner_internal__ActionEditor_t {
    QByteArrayData data[36];
    char stringdata0[476];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_qdesigner_internal__ActionEditor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_qdesigner_internal__ActionEditor_t qt_meta_stringdata_qdesigner_internal__ActionEditor = {
    {
QT_MOC_LITERAL(0, 0, 32), // "qdesigner_internal::ActionEditor"
QT_MOC_LITERAL(1, 33, 13), // "itemActivated"
QT_MOC_LITERAL(2, 47, 0), // ""
QT_MOC_LITERAL(3, 48, 8), // "QAction*"
QT_MOC_LITERAL(4, 57, 4), // "item"
QT_MOC_LITERAL(5, 62, 6), // "column"
QT_MOC_LITERAL(6, 69, 20), // "contextMenuRequested"
QT_MOC_LITERAL(7, 90, 6), // "QMenu*"
QT_MOC_LITERAL(8, 97, 4), // "menu"
QT_MOC_LITERAL(9, 102, 9), // "setFilter"
QT_MOC_LITERAL(10, 112, 6), // "filter"
QT_MOC_LITERAL(11, 119, 20), // "mainContainerChanged"
QT_MOC_LITERAL(12, 140, 22), // "slotCurrentItemChanged"
QT_MOC_LITERAL(13, 163, 20), // "slotSelectionChanged"
QT_MOC_LITERAL(14, 184, 14), // "QItemSelection"
QT_MOC_LITERAL(15, 199, 8), // "selected"
QT_MOC_LITERAL(16, 208, 10), // "deselected"
QT_MOC_LITERAL(17, 219, 10), // "editAction"
QT_MOC_LITERAL(18, 230, 17), // "editCurrentAction"
QT_MOC_LITERAL(19, 248, 27), // "navigateToSlotCurrentAction"
QT_MOC_LITERAL(20, 276, 17), // "slotActionChanged"
QT_MOC_LITERAL(21, 294, 13), // "slotNewAction"
QT_MOC_LITERAL(22, 308, 10), // "slotDelete"
QT_MOC_LITERAL(23, 319, 20), // "resourceImageDropped"
QT_MOC_LITERAL(24, 340, 4), // "path"
QT_MOC_LITERAL(25, 345, 6), // "action"
QT_MOC_LITERAL(26, 352, 24), // "slotContextMenuRequested"
QT_MOC_LITERAL(27, 377, 18), // "QContextMenuEvent*"
QT_MOC_LITERAL(28, 396, 12), // "slotViewMode"
QT_MOC_LITERAL(29, 409, 1), // "a"
QT_MOC_LITERAL(30, 411, 26), // "slotSelectAssociatedWidget"
QT_MOC_LITERAL(31, 438, 8), // "QWidget*"
QT_MOC_LITERAL(32, 447, 1), // "w"
QT_MOC_LITERAL(33, 449, 8), // "slotCopy"
QT_MOC_LITERAL(34, 458, 7), // "slotCut"
QT_MOC_LITERAL(35, 466, 9) // "slotPaste"

    },
    "qdesigner_internal::ActionEditor\0"
    "itemActivated\0\0QAction*\0item\0column\0"
    "contextMenuRequested\0QMenu*\0menu\0"
    "setFilter\0filter\0mainContainerChanged\0"
    "slotCurrentItemChanged\0slotSelectionChanged\0"
    "QItemSelection\0selected\0deselected\0"
    "editAction\0editCurrentAction\0"
    "navigateToSlotCurrentAction\0"
    "slotActionChanged\0slotNewAction\0"
    "slotDelete\0resourceImageDropped\0path\0"
    "action\0slotContextMenuRequested\0"
    "QContextMenuEvent*\0slotViewMode\0a\0"
    "slotSelectAssociatedWidget\0QWidget*\0"
    "w\0slotCopy\0slotCut\0slotPaste"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_qdesigner_internal__ActionEditor[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,  114,    2, 0x06 /* Public */,
       6,    2,  119,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    1,  124,    2, 0x0a /* Public */,
      11,    0,  127,    2, 0x0a /* Public */,
      12,    1,  128,    2, 0x08 /* Private */,
      13,    2,  131,    2, 0x08 /* Private */,
      17,    2,  136,    2, 0x08 /* Private */,
      17,    1,  141,    2, 0x28 /* Private | MethodCloned */,
      18,    0,  144,    2, 0x08 /* Private */,
      19,    0,  145,    2, 0x08 /* Private */,
      20,    0,  146,    2, 0x08 /* Private */,
      21,    0,  147,    2, 0x08 /* Private */,
      22,    0,  148,    2, 0x08 /* Private */,
      23,    2,  149,    2, 0x08 /* Private */,
      26,    2,  154,    2, 0x08 /* Private */,
      28,    1,  159,    2, 0x08 /* Private */,
      30,    1,  162,    2, 0x08 /* Private */,
      33,    0,  165,    2, 0x08 /* Private */,
      34,    0,  166,    2, 0x08 /* Private */,
      35,    0,  167,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::QString,   10,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 14, 0x80000000 | 14,   15,   16,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    4,    5,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 3,   24,   25,
    QMetaType::Void, 0x80000000 | 27, 0x80000000 | 3,    2,    2,
    QMetaType::Void, 0x80000000 | 3,   29,
    QMetaType::Void, 0x80000000 | 31,   32,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void qdesigner_internal::ActionEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ActionEditor *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->itemActivated((*reinterpret_cast< QAction*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->contextMenuRequested((*reinterpret_cast< QMenu*(*)>(_a[1])),(*reinterpret_cast< QAction*(*)>(_a[2]))); break;
        case 2: _t->setFilter((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->mainContainerChanged(); break;
        case 4: _t->slotCurrentItemChanged((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 5: _t->slotSelectionChanged((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        case 6: _t->editAction((*reinterpret_cast< QAction*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 7: _t->editAction((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 8: _t->editCurrentAction(); break;
        case 9: _t->navigateToSlotCurrentAction(); break;
        case 10: _t->slotActionChanged(); break;
        case 11: _t->slotNewAction(); break;
        case 12: _t->slotDelete(); break;
        case 13: _t->resourceImageDropped((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QAction*(*)>(_a[2]))); break;
        case 14: _t->slotContextMenuRequested((*reinterpret_cast< QContextMenuEvent*(*)>(_a[1])),(*reinterpret_cast< QAction*(*)>(_a[2]))); break;
        case 15: _t->slotViewMode((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 16: _t->slotSelectAssociatedWidget((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
        case 17: _t->slotCopy(); break;
        case 18: _t->slotCut(); break;
        case 19: _t->slotPaste(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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< QWidget* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (ActionEditor::*)(QAction * , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ActionEditor::itemActivated)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (ActionEditor::*)(QMenu * , QAction * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ActionEditor::contextMenuRequested)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject qdesigner_internal::ActionEditor::staticMetaObject = { {
    QMetaObject::SuperData::link<QDesignerActionEditorInterface::staticMetaObject>(),
    qt_meta_stringdata_qdesigner_internal__ActionEditor.data,
    qt_meta_data_qdesigner_internal__ActionEditor,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *qdesigner_internal::ActionEditor::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_qdesigner_internal__ActionEditor.stringdata0))
        return static_cast<void*>(this);
    return QDesignerActionEditorInterface::qt_metacast(_clname);
}

int qdesigner_internal::ActionEditor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDesignerActionEditorInterface::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 20)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 20)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    }
    return _id;
}

// SIGNAL 0
void qdesigner_internal::ActionEditor::itemActivated(QAction * _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void qdesigner_internal::ActionEditor::contextMenuRequested(QMenu * _t1, QAction * _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
