/****************************************************************************
** Meta object code from reading C++ file 'backendmanager_p.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/libkscreen-5.8.8/src/backendmanager_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'backendmanager_p.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_KScreen__BackendManager_t {
    QByteArrayData data[13];
    char stringdata0[210];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KScreen__BackendManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KScreen__BackendManager_t qt_meta_stringdata_KScreen__BackendManager = {
    {
QT_MOC_LITERAL(0, 0, 23), // "KScreen::BackendManager"
QT_MOC_LITERAL(1, 24, 12), // "backendReady"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 30), // "OrgKdeKscreenBackendInterface*"
QT_MOC_LITERAL(4, 69, 7), // "backend"
QT_MOC_LITERAL(5, 77, 16), // "emitBackendReady"
QT_MOC_LITERAL(6, 94, 12), // "startBackend"
QT_MOC_LITERAL(7, 107, 9), // "arguments"
QT_MOC_LITERAL(8, 117, 20), // "onBackendRequestDone"
QT_MOC_LITERAL(9, 138, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(10, 163, 7), // "watcher"
QT_MOC_LITERAL(11, 171, 26), // "backendServiceUnregistered"
QT_MOC_LITERAL(12, 198, 11) // "serviceName"

    },
    "KScreen::BackendManager\0backendReady\0"
    "\0OrgKdeKscreenBackendInterface*\0backend\0"
    "emitBackendReady\0startBackend\0arguments\0"
    "onBackendRequestDone\0QDBusPendingCallWatcher*\0"
    "watcher\0backendServiceUnregistered\0"
    "serviceName"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KScreen__BackendManager[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   49,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    0,   52,    2, 0x08 /* Private */,
       6,    2,   53,    2, 0x08 /* Private */,
       6,    1,   58,    2, 0x28 /* Private | MethodCloned */,
       6,    0,   61,    2, 0x28 /* Private | MethodCloned */,
       8,    1,   62,    2, 0x08 /* Private */,
      11,    1,   65,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantMap,    4,    7,
    QMetaType::Void, QMetaType::QString,    4,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, QMetaType::QString,   12,

       0        // eod
};

void KScreen::BackendManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        BackendManager *_t = static_cast<BackendManager *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->backendReady((*reinterpret_cast< OrgKdeKscreenBackendInterface*(*)>(_a[1]))); break;
        case 1: _t->emitBackendReady(); break;
        case 2: _t->startBackend((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariantMap(*)>(_a[2]))); break;
        case 3: _t->startBackend((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->startBackend(); break;
        case 5: _t->onBackendRequestDone((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 6: _t->backendServiceUnregistered((*reinterpret_cast< const QString(*)>(_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 (BackendManager::*_t)(OrgKdeKscreenBackendInterface * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&BackendManager::backendReady)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KScreen::BackendManager::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KScreen__BackendManager.data,
      qt_meta_data_KScreen__BackendManager,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KScreen::BackendManager::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 < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 7;
    }
    return _id;
}

// SIGNAL 0
void KScreen::BackendManager::backendReady(OrgKdeKscreenBackendInterface * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
