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

#include "../../src/plasma-workspace-5.8.8/appmenu/appmenu.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'appmenu.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_AppMenuModule_t {
    QByteArrayData data[28];
    char stringdata0[362];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_AppMenuModule_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_AppMenuModule_t qt_meta_stringdata_AppMenuModule = {
    {
QT_MOC_LITERAL(0, 0, 13), // "AppMenuModule"
QT_MOC_LITERAL(1, 14, 11), // "showRequest"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 13), // "menuAvailable"
QT_MOC_LITERAL(4, 41, 10), // "clearMenus"
QT_MOC_LITERAL(5, 52, 10), // "menuHidden"
QT_MOC_LITERAL(6, 63, 16), // "WindowRegistered"
QT_MOC_LITERAL(7, 80, 3), // "wid"
QT_MOC_LITERAL(8, 84, 7), // "service"
QT_MOC_LITERAL(9, 92, 15), // "QDBusObjectPath"
QT_MOC_LITERAL(10, 108, 18), // "WindowUnregistered"
QT_MOC_LITERAL(11, 127, 12), // "slotShowMenu"
QT_MOC_LITERAL(12, 140, 1), // "x"
QT_MOC_LITERAL(13, 142, 1), // "y"
QT_MOC_LITERAL(14, 144, 3), // "WId"
QT_MOC_LITERAL(15, 148, 15), // "slotAboutToHide"
QT_MOC_LITERAL(16, 164, 20), // "slotWindowRegistered"
QT_MOC_LITERAL(17, 185, 2), // "id"
QT_MOC_LITERAL(18, 188, 4), // "path"
QT_MOC_LITERAL(19, 193, 22), // "slotWindowUnregistered"
QT_MOC_LITERAL(20, 216, 29), // "slotActionActivationRequested"
QT_MOC_LITERAL(21, 246, 8), // "QAction*"
QT_MOC_LITERAL(22, 255, 1), // "a"
QT_MOC_LITERAL(23, 257, 23), // "slotActiveWindowChanged"
QT_MOC_LITERAL(24, 281, 25), // "slotShowCurrentWindowMenu"
QT_MOC_LITERAL(25, 307, 24), // "slotCurrentScreenChanged"
QT_MOC_LITERAL(26, 332, 17), // "slotBarNeedResize"
QT_MOC_LITERAL(27, 350, 11) // "reconfigure"

    },
    "AppMenuModule\0showRequest\0\0menuAvailable\0"
    "clearMenus\0menuHidden\0WindowRegistered\0"
    "wid\0service\0QDBusObjectPath\0"
    "WindowUnregistered\0slotShowMenu\0x\0y\0"
    "WId\0slotAboutToHide\0slotWindowRegistered\0"
    "id\0path\0slotWindowUnregistered\0"
    "slotActionActivationRequested\0QAction*\0"
    "a\0slotActiveWindowChanged\0"
    "slotShowCurrentWindowMenu\0"
    "slotCurrentScreenChanged\0slotBarNeedResize\0"
    "reconfigure"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_AppMenuModule[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   94,    2, 0x06 /* Public */,
       3,    1,   97,    2, 0x06 /* Public */,
       4,    0,  100,    2, 0x06 /* Public */,
       5,    1,  101,    2, 0x06 /* Public */,
       6,    3,  104,    2, 0x06 /* Public */,
      10,    1,  111,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    3,  114,    2, 0x08 /* Private */,
      15,    0,  121,    2, 0x08 /* Private */,
      16,    3,  122,    2, 0x08 /* Private */,
      19,    1,  129,    2, 0x08 /* Private */,
      20,    1,  132,    2, 0x08 /* Private */,
      23,    1,  135,    2, 0x08 /* Private */,
      24,    0,  138,    2, 0x08 /* Private */,
      25,    0,  139,    2, 0x08 /* Private */,
      26,    0,  140,    2, 0x08 /* Private */,
      27,    0,  141,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::ULongLong,    2,
    QMetaType::Void, QMetaType::ULongLong,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::ULongLong,    2,
    QMetaType::Void, QMetaType::ULongLong, QMetaType::QString, 0x80000000 | 9,    7,    8,    2,
    QMetaType::Void, QMetaType::ULongLong,    7,

 // slots: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int, 0x80000000 | 14,   12,   13,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 14, QMetaType::QString, 0x80000000 | 9,   17,    8,   18,
    QMetaType::Void, 0x80000000 | 14,   17,
    QMetaType::Void, 0x80000000 | 21,   22,
    QMetaType::Void, 0x80000000 | 14,   17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void AppMenuModule::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AppMenuModule *_t = static_cast<AppMenuModule *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->showRequest((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        case 1: _t->menuAvailable((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        case 2: _t->clearMenus(); break;
        case 3: _t->menuHidden((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        case 4: _t->WindowRegistered((*reinterpret_cast< qulonglong(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QDBusObjectPath(*)>(_a[3]))); break;
        case 5: _t->WindowUnregistered((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        case 6: _t->slotShowMenu((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< WId(*)>(_a[3]))); break;
        case 7: _t->slotAboutToHide(); break;
        case 8: _t->slotWindowRegistered((*reinterpret_cast< WId(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QDBusObjectPath(*)>(_a[3]))); break;
        case 9: _t->slotWindowUnregistered((*reinterpret_cast< WId(*)>(_a[1]))); break;
        case 10: _t->slotActionActivationRequested((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 11: _t->slotActiveWindowChanged((*reinterpret_cast< WId(*)>(_a[1]))); break;
        case 12: _t->slotShowCurrentWindowMenu(); break;
        case 13: _t->slotCurrentScreenChanged(); break;
        case 14: _t->slotBarNeedResize(); break;
        case 15: _t->reconfigure(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusObjectPath >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusObjectPath >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (AppMenuModule::*_t)(qulonglong );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AppMenuModule::showRequest)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (AppMenuModule::*_t)(qulonglong );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AppMenuModule::menuAvailable)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (AppMenuModule::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AppMenuModule::clearMenus)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (AppMenuModule::*_t)(qulonglong );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AppMenuModule::menuHidden)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (AppMenuModule::*_t)(qulonglong , const QString & , const QDBusObjectPath & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AppMenuModule::WindowRegistered)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (AppMenuModule::*_t)(qulonglong );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AppMenuModule::WindowUnregistered)) {
                *result = 5;
                return;
            }
        }
    }
}

const QMetaObject AppMenuModule::staticMetaObject = {
    { &KDEDModule::staticMetaObject, qt_meta_stringdata_AppMenuModule.data,
      qt_meta_data_AppMenuModule,  qt_static_metacall, nullptr, nullptr}
};


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

void *AppMenuModule::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_AppMenuModule.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QDBusContext"))
        return static_cast< QDBusContext*>(this);
    return KDEDModule::qt_metacast(_clname);
}

int AppMenuModule::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KDEDModule::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
    return _id;
}

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

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

// SIGNAL 2
void AppMenuModule::clearMenus()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

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

// SIGNAL 4
void AppMenuModule::WindowRegistered(qulonglong _t1, const QString & _t2, const QDBusObjectPath & _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void AppMenuModule::WindowUnregistered(qulonglong _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
