/****************************************************************************
** Meta object code from reading C++ file 'dbuscall.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/kwin-5.4.3/scripting/dbuscall.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dbuscall.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_KWin__DBusCall_t {
    QByteArrayData data[22];
    char stringdata0[233];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__DBusCall_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__DBusCall_t qt_meta_stringdata_KWin__DBusCall = {
    {
QT_MOC_LITERAL(0, 0, 14), // "KWin::DBusCall"
QT_MOC_LITERAL(1, 15, 8), // "finished"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 11), // "returnValue"
QT_MOC_LITERAL(4, 37, 6), // "failed"
QT_MOC_LITERAL(5, 44, 14), // "serviceChanged"
QT_MOC_LITERAL(6, 59, 11), // "pathChanged"
QT_MOC_LITERAL(7, 71, 16), // "interfaceChanged"
QT_MOC_LITERAL(8, 88, 13), // "methodChanged"
QT_MOC_LITERAL(9, 102, 16), // "argumentsChanged"
QT_MOC_LITERAL(10, 119, 4), // "call"
QT_MOC_LITERAL(11, 124, 10), // "setService"
QT_MOC_LITERAL(12, 135, 7), // "service"
QT_MOC_LITERAL(13, 143, 7), // "setPath"
QT_MOC_LITERAL(14, 151, 4), // "path"
QT_MOC_LITERAL(15, 156, 12), // "setInterface"
QT_MOC_LITERAL(16, 169, 9), // "interface"
QT_MOC_LITERAL(17, 179, 9), // "setMethod"
QT_MOC_LITERAL(18, 189, 6), // "method"
QT_MOC_LITERAL(19, 196, 12), // "setArguments"
QT_MOC_LITERAL(20, 209, 9), // "arguments"
QT_MOC_LITERAL(21, 219, 13) // "dbusInterface"

    },
    "KWin::DBusCall\0finished\0\0returnValue\0"
    "failed\0serviceChanged\0pathChanged\0"
    "interfaceChanged\0methodChanged\0"
    "argumentsChanged\0call\0setService\0"
    "service\0setPath\0path\0setInterface\0"
    "interface\0setMethod\0method\0setArguments\0"
    "arguments\0dbusInterface"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__DBusCall[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x06 /* Public */,
       4,    0,   82,    2, 0x06 /* Public */,
       5,    0,   83,    2, 0x06 /* Public */,
       6,    0,   84,    2, 0x06 /* Public */,
       7,    0,   85,    2, 0x06 /* Public */,
       8,    0,   86,    2, 0x06 /* Public */,
       9,    0,   87,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    0,   88,    2, 0x0a /* Public */,
      11,    1,   89,    2, 0x0a /* Public */,
      13,    1,   92,    2, 0x0a /* Public */,
      15,    1,   95,    2, 0x0a /* Public */,
      17,    1,   98,    2, 0x0a /* Public */,
      19,    1,  101,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QVariantList,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   12,
    QMetaType::Void, QMetaType::QString,   14,
    QMetaType::Void, QMetaType::QString,   16,
    QMetaType::Void, QMetaType::QString,   18,
    QMetaType::Void, QMetaType::QVariantList,   20,

 // properties: name, type, flags
      12, QMetaType::QString, 0x00495103,
      14, QMetaType::QString, 0x00495103,
      21, QMetaType::QString, 0x00495003,
      18, QMetaType::QString, 0x00495103,
      20, QMetaType::QVariantList, 0x00495103,

 // properties: notify_signal_id
       2,
       3,
       4,
       5,
       6,

       0        // eod
};

void KWin::DBusCall::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DBusCall *_t = static_cast<DBusCall *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->finished((*reinterpret_cast< QVariantList(*)>(_a[1]))); break;
        case 1: _t->failed(); break;
        case 2: _t->serviceChanged(); break;
        case 3: _t->pathChanged(); break;
        case 4: _t->interfaceChanged(); break;
        case 5: _t->methodChanged(); break;
        case 6: _t->argumentsChanged(); break;
        case 7: _t->call(); break;
        case 8: _t->setService((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->setPath((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->setInterface((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: _t->setMethod((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: _t->setArguments((*reinterpret_cast< const QVariantList(*)>(_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 (DBusCall::*_t)(QVariantList );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DBusCall::finished)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (DBusCall::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DBusCall::failed)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (DBusCall::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DBusCall::serviceChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (DBusCall::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DBusCall::pathChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (DBusCall::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DBusCall::interfaceChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (DBusCall::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DBusCall::methodChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (DBusCall::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DBusCall::argumentsChanged)) {
                *result = 6;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        DBusCall *_t = static_cast<DBusCall *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->service(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->path(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->interface(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->method(); break;
        case 4: *reinterpret_cast< QVariantList*>(_v) = _t->arguments(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        DBusCall *_t = static_cast<DBusCall *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setService(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setPath(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setInterface(*reinterpret_cast< QString*>(_v)); break;
        case 3: _t->setMethod(*reinterpret_cast< QString*>(_v)); break;
        case 4: _t->setArguments(*reinterpret_cast< QVariantList*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KWin::DBusCall::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KWin__DBusCall.data,
      qt_meta_data_KWin__DBusCall,  qt_static_metacall, nullptr, nullptr}
};


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

void *KWin::DBusCall::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__DBusCall.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

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

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

// SIGNAL 1
void KWin::DBusCall::failed()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void KWin::DBusCall::serviceChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void KWin::DBusCall::pathChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void KWin::DBusCall::interfaceChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void KWin::DBusCall::methodChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void KWin::DBusCall::argumentsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
