/****************************************************************************
** Meta object code from reading C++ file 'dbusinterface.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/kwin-5.4.3/dbusinterface.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dbusinterface.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_KWin__DBusInterface_t {
    QByteArrayData data[20];
    char stringdata0[260];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__DBusInterface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__DBusInterface_t qt_meta_stringdata_KWin__DBusInterface = {
    {
QT_MOC_LITERAL(0, 0, 19), // "KWin::DBusInterface"
QT_MOC_LITERAL(1, 20, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 36, 12), // "org.kde.KWin"
QT_MOC_LITERAL(3, 49, 14), // "cascadeDesktop"
QT_MOC_LITERAL(4, 64, 9), // "Q_NOREPLY"
QT_MOC_LITERAL(5, 74, 14), // "currentDesktop"
QT_MOC_LITERAL(6, 89, 0), // ""
QT_MOC_LITERAL(7, 90, 10), // "killWindow"
QT_MOC_LITERAL(8, 101, 11), // "nextDesktop"
QT_MOC_LITERAL(9, 113, 15), // "previousDesktop"
QT_MOC_LITERAL(10, 129, 11), // "reconfigure"
QT_MOC_LITERAL(11, 141, 17), // "setCurrentDesktop"
QT_MOC_LITERAL(12, 159, 7), // "desktop"
QT_MOC_LITERAL(13, 167, 13), // "startActivity"
QT_MOC_LITERAL(14, 181, 3), // "in0"
QT_MOC_LITERAL(15, 185, 12), // "stopActivity"
QT_MOC_LITERAL(16, 198, 18), // "supportInformation"
QT_MOC_LITERAL(17, 217, 16), // "unclutterDesktop"
QT_MOC_LITERAL(18, 234, 17), // "becomeKWinService"
QT_MOC_LITERAL(19, 252, 7) // "service"

    },
    "KWin::DBusInterface\0D-Bus Interface\0"
    "org.kde.KWin\0cascadeDesktop\0Q_NOREPLY\0"
    "currentDesktop\0\0killWindow\0nextDesktop\0"
    "previousDesktop\0reconfigure\0"
    "setCurrentDesktop\0desktop\0startActivity\0"
    "in0\0stopActivity\0supportInformation\0"
    "unclutterDesktop\0becomeKWinService\0"
    "service"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__DBusInterface[] = {

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

 // classinfo: key, value
       1,    2,

 // slots: name, argc, parameters, tag, flags
       3,    0,   76,    4, 0x0a /* Public */,
       5,    0,   77,    6, 0x0a /* Public */,
       7,    0,   78,    4, 0x0a /* Public */,
       8,    0,   79,    6, 0x0a /* Public */,
       9,    0,   80,    6, 0x0a /* Public */,
      10,    0,   81,    4, 0x0a /* Public */,
      11,    1,   82,    6, 0x0a /* Public */,
      13,    1,   85,    6, 0x0a /* Public */,
      15,    1,   88,    6, 0x0a /* Public */,
      16,    0,   91,    6, 0x0a /* Public */,
      17,    0,   92,    4, 0x0a /* Public */,
      18,    1,   93,    6, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Int,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool, QMetaType::Int,   12,
    QMetaType::Bool, QMetaType::QString,   14,
    QMetaType::Bool, QMetaType::QString,   14,
    QMetaType::QString,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   19,

       0        // eod
};

void KWin::DBusInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DBusInterface *_t = static_cast<DBusInterface *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->cascadeDesktop(); break;
        case 1: { int _r = _t->currentDesktop();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 2: _t->killWindow(); break;
        case 3: _t->nextDesktop(); break;
        case 4: _t->previousDesktop(); break;
        case 5: _t->reconfigure(); break;
        case 6: { bool _r = _t->setCurrentDesktop((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 7: { bool _r = _t->startActivity((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 8: { bool _r = _t->stopActivity((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 9: { QString _r = _t->supportInformation();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 10: _t->unclutterDesktop(); break;
        case 11: _t->becomeKWinService((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject KWin::DBusInterface::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KWin__DBusInterface.data,
      qt_meta_data_KWin__DBusInterface,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KWin::DBusInterface::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;
    }
    return _id;
}
struct qt_meta_stringdata_KWin__CompositorDBusInterface_t {
    QByteArrayData data[13];
    char stringdata0[227];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__CompositorDBusInterface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__CompositorDBusInterface_t qt_meta_stringdata_KWin__CompositorDBusInterface = {
    {
QT_MOC_LITERAL(0, 0, 29), // "KWin::CompositorDBusInterface"
QT_MOC_LITERAL(1, 30, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 46, 24), // "org.kde.kwin.Compositing"
QT_MOC_LITERAL(3, 71, 18), // "compositingToggled"
QT_MOC_LITERAL(4, 90, 0), // ""
QT_MOC_LITERAL(5, 91, 6), // "active"
QT_MOC_LITERAL(6, 98, 7), // "suspend"
QT_MOC_LITERAL(7, 106, 6), // "resume"
QT_MOC_LITERAL(8, 113, 19), // "compositingPossible"
QT_MOC_LITERAL(9, 133, 28), // "compositingNotPossibleReason"
QT_MOC_LITERAL(10, 162, 14), // "openGLIsBroken"
QT_MOC_LITERAL(11, 177, 15), // "compositingType"
QT_MOC_LITERAL(12, 193, 33) // "supportedOpenGLPlatformInterf..."

    },
    "KWin::CompositorDBusInterface\0"
    "D-Bus Interface\0org.kde.kwin.Compositing\0"
    "compositingToggled\0\0active\0suspend\0"
    "resume\0compositingPossible\0"
    "compositingNotPossibleReason\0"
    "openGLIsBroken\0compositingType\0"
    "supportedOpenGLPlatformInterfaces"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__CompositorDBusInterface[] = {

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

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    1,   31,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    0,   34,    4, 0x0a /* Public */,
       7,    0,   35,    4, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    5,

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

 // properties: name, type, flags
       5, QMetaType::Bool, 0x00095001,
       8, QMetaType::Bool, 0x00095001,
       9, QMetaType::QString, 0x00095001,
      10, QMetaType::Bool, 0x00095001,
      11, QMetaType::QString, 0x00095001,
      12, QMetaType::QStringList, 0x00095001,

       0        // eod
};

void KWin::CompositorDBusInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        CompositorDBusInterface *_t = static_cast<CompositorDBusInterface *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->compositingToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->suspend(); break;
        case 2: _t->resume(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (CompositorDBusInterface::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CompositorDBusInterface::compositingToggled)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        CompositorDBusInterface *_t = static_cast<CompositorDBusInterface *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->isActive(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isCompositingPossible(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->compositingNotPossibleReason(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->isOpenGLBroken(); break;
        case 4: *reinterpret_cast< QString*>(_v) = _t->compositingType(); break;
        case 5: *reinterpret_cast< QStringList*>(_v) = _t->supportedOpenGLPlatformInterfaces(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KWin::CompositorDBusInterface::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KWin__CompositorDBusInterface.data,
      qt_meta_data_KWin__CompositorDBusInterface,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KWin::CompositorDBusInterface::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 < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 3;
    }
#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 -= 6;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 6;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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