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

#include "../../../src/kexi-3.0.1/src/main/KexiMenuWidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'KexiMenuWidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.2. 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_KexiMenuWidgetAction_t {
    QByteArrayData data[1];
    char stringdata0[21];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KexiMenuWidgetAction_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KexiMenuWidgetAction_t qt_meta_stringdata_KexiMenuWidgetAction = {
    {
QT_MOC_LITERAL(0, 0, 20) // "KexiMenuWidgetAction"

    },
    "KexiMenuWidgetAction"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KexiMenuWidgetAction[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

       0        // eod
};

void KexiMenuWidgetAction::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject KexiMenuWidgetAction::staticMetaObject = {
    { &QAction::staticMetaObject, qt_meta_stringdata_KexiMenuWidgetAction.data,
      qt_meta_data_KexiMenuWidgetAction,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KexiMenuWidgetAction::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAction::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
struct qt_meta_stringdata_KexiMenuWidget_t {
    QByteArrayData data[16];
    char stringdata0[195];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KexiMenuWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KexiMenuWidget_t qt_meta_stringdata_KexiMenuWidget = {
    {
QT_MOC_LITERAL(0, 0, 14), // "KexiMenuWidget"
QT_MOC_LITERAL(1, 15, 11), // "aboutToShow"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 11), // "aboutToHide"
QT_MOC_LITERAL(4, 40, 9), // "triggered"
QT_MOC_LITERAL(5, 50, 8), // "QAction*"
QT_MOC_LITERAL(6, 59, 6), // "action"
QT_MOC_LITERAL(7, 66, 7), // "hovered"
QT_MOC_LITERAL(8, 74, 23), // "internalSetSloppyAction"
QT_MOC_LITERAL(9, 98, 15), // "actionTriggered"
QT_MOC_LITERAL(10, 114, 13), // "actionHovered"
QT_MOC_LITERAL(11, 128, 27), // "overrideMenuActionDestroyed"
QT_MOC_LITERAL(12, 156, 5), // "title"
QT_MOC_LITERAL(13, 162, 4), // "icon"
QT_MOC_LITERAL(14, 167, 21), // "separatorsCollapsible"
QT_MOC_LITERAL(15, 189, 5) // "frame"

    },
    "KexiMenuWidget\0aboutToShow\0\0aboutToHide\0"
    "triggered\0QAction*\0action\0hovered\0"
    "internalSetSloppyAction\0actionTriggered\0"
    "actionHovered\0overrideMenuActionDestroyed\0"
    "title\0icon\0separatorsCollapsible\0frame"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KexiMenuWidget[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       8,   14, // methods
       4,   66, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   54,    2, 0x06 /* Public */,
       3,    0,   55,    2, 0x06 /* Public */,
       4,    1,   56,    2, 0x06 /* Public */,
       7,    1,   59,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,   62,    2, 0x08 /* Private */,
       9,    0,   63,    2, 0x08 /* Private */,
      10,    0,   64,    2, 0x08 /* Private */,
      11,    0,   65,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      12, QMetaType::QString, 0x00095103,
      13, QMetaType::QIcon, 0x00095103,
      14, QMetaType::Bool, 0x00095103,
      15, QMetaType::Bool, 0x00095103,

       0        // eod
};

void KexiMenuWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KexiMenuWidget *_t = static_cast<KexiMenuWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->aboutToShow(); break;
        case 1: _t->aboutToHide(); break;
        case 2: _t->triggered((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 3: _t->hovered((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 4: _t->internalSetSloppyAction(); break;
        case 5: _t->actionTriggered(); break;
        case 6: _t->actionHovered(); break;
        case 7: _t->overrideMenuActionDestroyed(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KexiMenuWidget::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiMenuWidget::aboutToShow)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KexiMenuWidget::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiMenuWidget::aboutToHide)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KexiMenuWidget::*_t)(QAction * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiMenuWidget::triggered)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (KexiMenuWidget::*_t)(QAction * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KexiMenuWidget::hovered)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        KexiMenuWidget *_t = static_cast<KexiMenuWidget *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->title(); break;
        case 1: *reinterpret_cast< QIcon*>(_v) = _t->icon(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->separatorsCollapsible(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->hasFrame(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        KexiMenuWidget *_t = static_cast<KexiMenuWidget *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setTitle(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setIcon(*reinterpret_cast< QIcon*>(_v)); break;
        case 2: _t->setSeparatorsCollapsible(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setFrame(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KexiMenuWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KexiMenuWidget.data,
      qt_meta_data_KexiMenuWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

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

// SIGNAL 1
void KexiMenuWidget::aboutToHide()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

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

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