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

#include "../../../../src/qtbase-opensource-src-5.5.1/src/widgets/kernel/qaction.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qaction.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.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
struct qt_meta_stringdata_QAction_t {
    QByteArrayData data[44];
    char stringdata0[443];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QAction_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QAction_t qt_meta_stringdata_QAction = {
    {
QT_MOC_LITERAL(0, 0, 7), // "QAction"
QT_MOC_LITERAL(1, 8, 7), // "changed"
QT_MOC_LITERAL(2, 16, 0), // ""
QT_MOC_LITERAL(3, 17, 9), // "triggered"
QT_MOC_LITERAL(4, 27, 7), // "checked"
QT_MOC_LITERAL(5, 35, 7), // "hovered"
QT_MOC_LITERAL(6, 43, 7), // "toggled"
QT_MOC_LITERAL(7, 51, 7), // "trigger"
QT_MOC_LITERAL(8, 59, 5), // "hover"
QT_MOC_LITERAL(9, 65, 10), // "setChecked"
QT_MOC_LITERAL(10, 76, 6), // "toggle"
QT_MOC_LITERAL(11, 83, 10), // "setEnabled"
QT_MOC_LITERAL(12, 94, 11), // "setDisabled"
QT_MOC_LITERAL(13, 106, 1), // "b"
QT_MOC_LITERAL(14, 108, 10), // "setVisible"
QT_MOC_LITERAL(15, 119, 9), // "checkable"
QT_MOC_LITERAL(16, 129, 7), // "enabled"
QT_MOC_LITERAL(17, 137, 4), // "icon"
QT_MOC_LITERAL(18, 142, 4), // "text"
QT_MOC_LITERAL(19, 147, 8), // "iconText"
QT_MOC_LITERAL(20, 156, 7), // "toolTip"
QT_MOC_LITERAL(21, 164, 9), // "statusTip"
QT_MOC_LITERAL(22, 174, 9), // "whatsThis"
QT_MOC_LITERAL(23, 184, 4), // "font"
QT_MOC_LITERAL(24, 189, 8), // "shortcut"
QT_MOC_LITERAL(25, 198, 15), // "shortcutContext"
QT_MOC_LITERAL(26, 214, 19), // "Qt::ShortcutContext"
QT_MOC_LITERAL(27, 234, 10), // "autoRepeat"
QT_MOC_LITERAL(28, 245, 7), // "visible"
QT_MOC_LITERAL(29, 253, 8), // "menuRole"
QT_MOC_LITERAL(30, 262, 8), // "MenuRole"
QT_MOC_LITERAL(31, 271, 17), // "iconVisibleInMenu"
QT_MOC_LITERAL(32, 289, 8), // "priority"
QT_MOC_LITERAL(33, 298, 8), // "Priority"
QT_MOC_LITERAL(34, 307, 6), // "NoRole"
QT_MOC_LITERAL(35, 314, 17), // "TextHeuristicRole"
QT_MOC_LITERAL(36, 332, 23), // "ApplicationSpecificRole"
QT_MOC_LITERAL(37, 356, 11), // "AboutQtRole"
QT_MOC_LITERAL(38, 368, 9), // "AboutRole"
QT_MOC_LITERAL(39, 378, 15), // "PreferencesRole"
QT_MOC_LITERAL(40, 394, 8), // "QuitRole"
QT_MOC_LITERAL(41, 403, 11), // "LowPriority"
QT_MOC_LITERAL(42, 415, 14), // "NormalPriority"
QT_MOC_LITERAL(43, 430, 12) // "HighPriority"

    },
    "QAction\0changed\0\0triggered\0checked\0"
    "hovered\0toggled\0trigger\0hover\0setChecked\0"
    "toggle\0setEnabled\0setDisabled\0b\0"
    "setVisible\0checkable\0enabled\0icon\0"
    "text\0iconText\0toolTip\0statusTip\0"
    "whatsThis\0font\0shortcut\0shortcutContext\0"
    "Qt::ShortcutContext\0autoRepeat\0visible\0"
    "menuRole\0MenuRole\0iconVisibleInMenu\0"
    "priority\0Priority\0NoRole\0TextHeuristicRole\0"
    "ApplicationSpecificRole\0AboutQtRole\0"
    "AboutRole\0PreferencesRole\0QuitRole\0"
    "LowPriority\0NormalPriority\0HighPriority"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QAction[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   74,    2, 0x06 /* Public */,
       3,    1,   75,    2, 0x06 /* Public */,
       3,    0,   78,    2, 0x26 /* Public | MethodCloned */,
       5,    0,   79,    2, 0x06 /* Public */,
       6,    1,   80,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    0,   83,    2, 0x0a /* Public */,
       8,    0,   84,    2, 0x0a /* Public */,
       9,    1,   85,    2, 0x0a /* Public */,
      10,    0,   88,    2, 0x0a /* Public */,
      11,    1,   89,    2, 0x0a /* Public */,
      12,    1,   92,    2, 0x0a /* Public */,
      14,    1,   95,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void, QMetaType::Bool,    2,

 // properties: name, type, flags
      15, QMetaType::Bool, 0x00495103,
       4, QMetaType::Bool, 0x00495103,
      16, QMetaType::Bool, 0x00495103,
      17, QMetaType::QIcon, 0x00495103,
      18, QMetaType::QString, 0x00495103,
      19, QMetaType::QString, 0x00495103,
      20, QMetaType::QString, 0x00495103,
      21, QMetaType::QString, 0x00495103,
      22, QMetaType::QString, 0x00495103,
      23, QMetaType::QFont, 0x00495103,
      24, QMetaType::QKeySequence, 0x00495103,
      25, 0x80000000 | 26, 0x0049510b,
      27, QMetaType::Bool, 0x00495103,
      28, QMetaType::Bool, 0x00495103,
      29, 0x80000000 | 30, 0x0049510b,
      31, QMetaType::Bool, 0x00495103,
      32, 0x80000000 | 33, 0x0009510b,

 // properties: notify_signal_id
       0,
       4,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,

 // enums: name, flags, count, data
      30, 0x0,    7,  174,
      33, 0x0,    3,  188,

 // enum data: key, value
      34, uint(QAction::NoRole),
      35, uint(QAction::TextHeuristicRole),
      36, uint(QAction::ApplicationSpecificRole),
      37, uint(QAction::AboutQtRole),
      38, uint(QAction::AboutRole),
      39, uint(QAction::PreferencesRole),
      40, uint(QAction::QuitRole),
      41, uint(QAction::LowPriority),
      42, uint(QAction::NormalPriority),
      43, uint(QAction::HighPriority),

       0        // eod
};

void QAction::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QAction *_t = static_cast<QAction *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->changed(); break;
        case 1: _t->triggered((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->triggered(); break;
        case 3: _t->hovered(); break;
        case 4: _t->toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->trigger(); break;
        case 6: _t->hover(); break;
        case 7: _t->setChecked((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->toggle(); break;
        case 9: _t->setEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->setDisabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->setVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QAction::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QAction::changed)) {
                *result = 0;
            }
        }
        {
            typedef void (QAction::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QAction::triggered)) {
                *result = 1;
            }
        }
        {
            typedef void (QAction::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QAction::hovered)) {
                *result = 3;
            }
        }
        {
            typedef void (QAction::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QAction::toggled)) {
                *result = 4;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QAction *_t = static_cast<QAction *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->isCheckable(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isChecked(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isEnabled(); break;
        case 3: *reinterpret_cast< QIcon*>(_v) = _t->icon(); break;
        case 4: *reinterpret_cast< QString*>(_v) = _t->text(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->iconText(); break;
        case 6: *reinterpret_cast< QString*>(_v) = _t->toolTip(); break;
        case 7: *reinterpret_cast< QString*>(_v) = _t->statusTip(); break;
        case 8: *reinterpret_cast< QString*>(_v) = _t->whatsThis(); break;
        case 9: *reinterpret_cast< QFont*>(_v) = _t->font(); break;
        case 10: *reinterpret_cast< QKeySequence*>(_v) = _t->shortcut(); break;
        case 11: *reinterpret_cast< Qt::ShortcutContext*>(_v) = _t->shortcutContext(); break;
        case 12: *reinterpret_cast< bool*>(_v) = _t->autoRepeat(); break;
        case 13: *reinterpret_cast< bool*>(_v) = _t->isVisible(); break;
        case 14: *reinterpret_cast< MenuRole*>(_v) = _t->menuRole(); break;
        case 15: *reinterpret_cast< bool*>(_v) = _t->isIconVisibleInMenu(); break;
        case 16: *reinterpret_cast< Priority*>(_v) = _t->priority(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QAction *_t = static_cast<QAction *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setCheckable(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setChecked(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setIcon(*reinterpret_cast< QIcon*>(_v)); break;
        case 4: _t->setText(*reinterpret_cast< QString*>(_v)); break;
        case 5: _t->setIconText(*reinterpret_cast< QString*>(_v)); break;
        case 6: _t->setToolTip(*reinterpret_cast< QString*>(_v)); break;
        case 7: _t->setStatusTip(*reinterpret_cast< QString*>(_v)); break;
        case 8: _t->setWhatsThis(*reinterpret_cast< QString*>(_v)); break;
        case 9: _t->setFont(*reinterpret_cast< QFont*>(_v)); break;
        case 10: _t->setShortcut(*reinterpret_cast< QKeySequence*>(_v)); break;
        case 11: _t->setShortcutContext(*reinterpret_cast< Qt::ShortcutContext*>(_v)); break;
        case 12: _t->setAutoRepeat(*reinterpret_cast< bool*>(_v)); break;
        case 13: _t->setVisible(*reinterpret_cast< bool*>(_v)); break;
        case 14: _t->setMenuRole(*reinterpret_cast< MenuRole*>(_v)); break;
        case 15: _t->setIconVisibleInMenu(*reinterpret_cast< bool*>(_v)); break;
        case 16: _t->setPriority(*reinterpret_cast< Priority*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject QAction::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_QAction.data,
      qt_meta_data_QAction,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int QAction::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)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _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 -= 17;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        bool *_b = reinterpret_cast<bool*>(_a[0]);
        switch (_id) {
        case 1: *_b = isCheckable(); break;
        default: break;
        }
        _id -= 17;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 17;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 17;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 17;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 17;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QAction::changed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

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

// SIGNAL 3
void QAction::hovered()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

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