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

#include "../../src/kwidgetsaddons-5.43.0/src/kselectaction.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kselectaction.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_KSelectAction_t {
    QByteArrayData data[23];
    char stringdata0[293];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KSelectAction_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KSelectAction_t qt_meta_stringdata_KSelectAction = {
    {
QT_MOC_LITERAL(0, 0, 13), // "KSelectAction"
QT_MOC_LITERAL(1, 14, 9), // "triggered"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 8), // "QAction*"
QT_MOC_LITERAL(4, 34, 6), // "action"
QT_MOC_LITERAL(5, 41, 5), // "index"
QT_MOC_LITERAL(6, 47, 4), // "text"
QT_MOC_LITERAL(7, 52, 15), // "actionTriggered"
QT_MOC_LITERAL(8, 68, 11), // "slotToggled"
QT_MOC_LITERAL(9, 80, 18), // "_k_comboBoxDeleted"
QT_MOC_LITERAL(10, 99, 30), // "_k_comboBoxCurrentIndexChanged"
QT_MOC_LITERAL(11, 130, 13), // "currentAction"
QT_MOC_LITERAL(12, 144, 8), // "editable"
QT_MOC_LITERAL(13, 153, 10), // "comboWidth"
QT_MOC_LITERAL(14, 164, 11), // "currentText"
QT_MOC_LITERAL(15, 176, 11), // "toolBarMode"
QT_MOC_LITERAL(16, 188, 11), // "ToolBarMode"
QT_MOC_LITERAL(17, 200, 19), // "toolButtonPopupMode"
QT_MOC_LITERAL(18, 220, 32), // "QToolButton::ToolButtonPopupMode"
QT_MOC_LITERAL(19, 253, 11), // "currentItem"
QT_MOC_LITERAL(20, 265, 5), // "items"
QT_MOC_LITERAL(21, 271, 8), // "MenuMode"
QT_MOC_LITERAL(22, 280, 12) // "ComboBoxMode"

    },
    "KSelectAction\0triggered\0\0QAction*\0"
    "action\0index\0text\0actionTriggered\0"
    "slotToggled\0_k_comboBoxDeleted\0"
    "_k_comboBoxCurrentIndexChanged\0"
    "currentAction\0editable\0comboWidth\0"
    "currentText\0toolBarMode\0ToolBarMode\0"
    "toolButtonPopupMode\0"
    "QToolButton::ToolButtonPopupMode\0"
    "currentItem\0items\0MenuMode\0ComboBoxMode"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KSelectAction[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       7,   14, // methods
       8,   70, // properties
       1,   94, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   49,    2, 0x06 /* Public */,
       1,    1,   52,    2, 0x06 /* Public */,
       1,    1,   55,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    1,   58,    2, 0x09 /* Protected */,
       8,    1,   61,    2, 0x09 /* Protected */,
       9,    1,   64,    2, 0x08 /* Private */,
      10,    1,   67,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::QObjectStar,    2,
    QMetaType::Void, QMetaType::Int,    2,

 // properties: name, type, flags
      11, 0x80000000 | 3, 0x0009510b,
      12, QMetaType::Bool, 0x00095103,
      13, QMetaType::Int, 0x00095103,
      14, QMetaType::QString, 0x00095001,
      15, 0x80000000 | 16, 0x0009510b,
      17, 0x80000000 | 18, 0x0009510b,
      19, QMetaType::Int, 0x00095103,
      20, QMetaType::QStringList, 0x00095103,

 // enums: name, flags, count, data
      16, 0x0,    2,   98,

 // enum data: key, value
      21, uint(KSelectAction::MenuMode),
      22, uint(KSelectAction::ComboBoxMode),

       0        // eod
};

void KSelectAction::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KSelectAction *_t = static_cast<KSelectAction *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->triggered((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 1: _t->triggered((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->triggered((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->actionTriggered((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 4: _t->slotToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->d_func()->_k_comboBoxDeleted((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 6: _t->d_func()->_k_comboBoxCurrentIndexChanged((*reinterpret_cast< int(*)>(_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< 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;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (KSelectAction::*_t)(QAction * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KSelectAction::triggered)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KSelectAction::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KSelectAction::triggered)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KSelectAction::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KSelectAction::triggered)) {
                *result = 2;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        KSelectAction *_t = static_cast<KSelectAction *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QAction**>(_v) = _t->currentAction(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isEditable(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->comboWidth(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->currentText(); break;
        case 4: *reinterpret_cast< ToolBarMode*>(_v) = _t->toolBarMode(); break;
        case 5: *reinterpret_cast< QToolButton::ToolButtonPopupMode*>(_v) = _t->toolButtonPopupMode(); break;
        case 6: *reinterpret_cast< int*>(_v) = _t->currentItem(); break;
        case 7: *reinterpret_cast< QStringList*>(_v) = _t->items(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        KSelectAction *_t = static_cast<KSelectAction *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setCurrentAction(*reinterpret_cast< QAction**>(_v)); break;
        case 1: _t->setEditable(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setComboWidth(*reinterpret_cast< int*>(_v)); break;
        case 4: _t->setToolBarMode(*reinterpret_cast< ToolBarMode*>(_v)); break;
        case 5: _t->setToolButtonPopupMode(*reinterpret_cast< QToolButton::ToolButtonPopupMode*>(_v)); break;
        case 6: _t->setCurrentItem(*reinterpret_cast< int*>(_v)); break;
        case 7: _t->setItems(*reinterpret_cast< QStringList*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

static const QMetaObject * const qt_meta_extradata_KSelectAction[] = {
        &QToolButton::staticMetaObject,
    nullptr
};

const QMetaObject KSelectAction::staticMetaObject = {
    { &QWidgetAction::staticMetaObject, qt_meta_stringdata_KSelectAction.data,
      qt_meta_data_KSelectAction,  qt_static_metacall, qt_meta_extradata_KSelectAction, nullptr}
};


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

void *KSelectAction::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KSelectAction.stringdata0))
        return static_cast<void*>(this);
    return QWidgetAction::qt_metacast(_clname);
}

int KSelectAction::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidgetAction::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
#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 -= 8;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 8;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

// SIGNAL 2
void KSelectAction::triggered(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
