/****************************************************************************
** Meta object code from reading C++ file 'appmenu_dbus.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_dbus.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'appmenu_dbus.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_AppmenuDBus_t {
    QByteArrayData data[17];
    char stringdata0[166];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_AppmenuDBus_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_AppmenuDBus_t qt_meta_stringdata_AppmenuDBus = {
    {
QT_MOC_LITERAL(0, 0, 11), // "AppmenuDBus"
QT_MOC_LITERAL(1, 12, 11), // "appShowMenu"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 1), // "x"
QT_MOC_LITERAL(4, 27, 1), // "y"
QT_MOC_LITERAL(5, 29, 3), // "WId"
QT_MOC_LITERAL(6, 33, 2), // "id"
QT_MOC_LITERAL(7, 36, 17), // "moduleReconfigure"
QT_MOC_LITERAL(8, 54, 11), // "showRequest"
QT_MOC_LITERAL(9, 66, 13), // "menuAvailable"
QT_MOC_LITERAL(10, 80, 10), // "clearMenus"
QT_MOC_LITERAL(11, 91, 10), // "menuHidden"
QT_MOC_LITERAL(12, 102, 16), // "WindowRegistered"
QT_MOC_LITERAL(13, 119, 3), // "wid"
QT_MOC_LITERAL(14, 123, 7), // "service"
QT_MOC_LITERAL(15, 131, 15), // "QDBusObjectPath"
QT_MOC_LITERAL(16, 147, 18) // "WindowUnregistered"

    },
    "AppmenuDBus\0appShowMenu\0\0x\0y\0WId\0id\0"
    "moduleReconfigure\0showRequest\0"
    "menuAvailable\0clearMenus\0menuHidden\0"
    "WindowRegistered\0wid\0service\0"
    "QDBusObjectPath\0WindowUnregistered"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_AppmenuDBus[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    3,   54,    2, 0x06 /* Public */,
       7,    0,   61,    2, 0x06 /* Public */,
       8,    1,   62,    2, 0x06 /* Public */,
       9,    1,   65,    2, 0x06 /* Public */,
      10,    0,   68,    2, 0x06 /* Public */,
      11,    1,   69,    2, 0x06 /* Public */,
      12,    3,   72,    2, 0x06 /* Public */,
      16,    1,   79,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int, 0x80000000 | 5,    3,    4,    6,
    QMetaType::Void,
    QMetaType::Void, QMetaType::ULongLong,    2,
    QMetaType::Void, QMetaType::ULongLong,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::ULongLong,    2,
    QMetaType::Void, QMetaType::ULongLong, QMetaType::QString, 0x80000000 | 15,   13,   14,    2,
    QMetaType::Void, QMetaType::ULongLong,   13,

       0        // eod
};

void AppmenuDBus::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AppmenuDBus *_t = static_cast<AppmenuDBus *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->appShowMenu((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< WId(*)>(_a[3]))); break;
        case 1: _t->moduleReconfigure(); break;
        case 2: _t->showRequest((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        case 3: _t->menuAvailable((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        case 4: _t->clearMenus(); break;
        case 5: _t->menuHidden((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        case 6: _t->WindowRegistered((*reinterpret_cast< qulonglong(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QDBusObjectPath(*)>(_a[3]))); break;
        case 7: _t->WindowUnregistered((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 6:
            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 (AppmenuDBus::*_t)(int , int , WId );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AppmenuDBus::appShowMenu)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (AppmenuDBus::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AppmenuDBus::moduleReconfigure)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (AppmenuDBus::*_t)(qulonglong );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AppmenuDBus::showRequest)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (AppmenuDBus::*_t)(qulonglong );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AppmenuDBus::menuAvailable)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (AppmenuDBus::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AppmenuDBus::clearMenus)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (AppmenuDBus::*_t)(qulonglong );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AppmenuDBus::menuHidden)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (AppmenuDBus::*_t)(qulonglong , const QString & , const QDBusObjectPath & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AppmenuDBus::WindowRegistered)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (AppmenuDBus::*_t)(qulonglong );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AppmenuDBus::WindowUnregistered)) {
                *result = 7;
                return;
            }
        }
    }
}

const QMetaObject AppmenuDBus::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_AppmenuDBus.data,
      qt_meta_data_AppmenuDBus,  qt_static_metacall, nullptr, nullptr}
};


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

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

int AppmenuDBus::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 < 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;
    }
    return _id;
}

// SIGNAL 0
void AppmenuDBus::appShowMenu(int _t1, int _t2, WId _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, 0, _a);
}

// SIGNAL 1
void AppmenuDBus::moduleReconfigure()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

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

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

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

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

// SIGNAL 6
void AppmenuDBus::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, 6, _a);
}

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