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

#include "../../src/kscreen-5.8.9/kded/daemon.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'daemon.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_KScreenDaemon_t {
    QByteArrayData data[26];
    char stringdata0[385];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KScreenDaemon_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KScreenDaemon_t qt_meta_stringdata_KScreenDaemon = {
    {
QT_MOC_LITERAL(0, 0, 13), // "KScreenDaemon"
QT_MOC_LITERAL(1, 14, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 30, 15), // "org.kde.KScreen"
QT_MOC_LITERAL(3, 46, 15), // "outputConnected"
QT_MOC_LITERAL(4, 62, 0), // ""
QT_MOC_LITERAL(5, 63, 10), // "outputName"
QT_MOC_LITERAL(6, 74, 22), // "unknownOutputConnected"
QT_MOC_LITERAL(7, 97, 13), // "requestConfig"
QT_MOC_LITERAL(8, 111, 11), // "configReady"
QT_MOC_LITERAL(9, 123, 25), // "KScreen::ConfigOperation*"
QT_MOC_LITERAL(10, 149, 2), // "op"
QT_MOC_LITERAL(11, 152, 4), // "init"
QT_MOC_LITERAL(12, 157, 11), // "applyConfig"
QT_MOC_LITERAL(13, 169, 16), // "applyKnownConfig"
QT_MOC_LITERAL(14, 186, 16), // "applyIdealConfig"
QT_MOC_LITERAL(15, 203, 13), // "configChanged"
QT_MOC_LITERAL(16, 217, 17), // "saveCurrentConfig"
QT_MOC_LITERAL(17, 235, 13), // "displayButton"
QT_MOC_LITERAL(18, 249, 18), // "resetDisplaySwitch"
QT_MOC_LITERAL(19, 268, 18), // "applyGenericConfig"
QT_MOC_LITERAL(20, 287, 16), // "lidClosedChanged"
QT_MOC_LITERAL(21, 304, 11), // "lidIsClosed"
QT_MOC_LITERAL(22, 316, 16), // "lidClosedTimeout"
QT_MOC_LITERAL(23, 333, 20), // "setMonitorForChanges"
QT_MOC_LITERAL(24, 354, 7), // "enabled"
QT_MOC_LITERAL(25, 362, 22) // "outputConnectedChanged"

    },
    "KScreenDaemon\0D-Bus Interface\0"
    "org.kde.KScreen\0outputConnected\0\0"
    "outputName\0unknownOutputConnected\0"
    "requestConfig\0configReady\0"
    "KScreen::ConfigOperation*\0op\0init\0"
    "applyConfig\0applyKnownConfig\0"
    "applyIdealConfig\0configChanged\0"
    "saveCurrentConfig\0displayButton\0"
    "resetDisplaySwitch\0applyGenericConfig\0"
    "lidClosedChanged\0lidIsClosed\0"
    "lidClosedTimeout\0setMonitorForChanges\0"
    "enabled\0outputConnectedChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KScreenDaemon[] = {

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

 // classinfo: key, value
       1,    2,

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

 // slots: name, argc, parameters, tag, flags
       7,    0,  107,    4, 0x0a /* Public */,
       8,    1,  108,    4, 0x0a /* Public */,
      11,    0,  111,    4, 0x0a /* Public */,
      12,    0,  112,    4, 0x0a /* Public */,
      13,    0,  113,    4, 0x0a /* Public */,
      14,    0,  114,    4, 0x0a /* Public */,
      15,    0,  115,    4, 0x0a /* Public */,
      16,    0,  116,    4, 0x0a /* Public */,
      17,    0,  117,    4, 0x0a /* Public */,
      18,    0,  118,    4, 0x0a /* Public */,
      19,    0,  119,    4, 0x0a /* Public */,
      20,    1,  120,    4, 0x0a /* Public */,
      22,    0,  123,    4, 0x0a /* Public */,
      23,    1,  124,    4, 0x0a /* Public */,
      25,    0,  127,    4, 0x0a /* Public */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   21,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   24,
    QMetaType::Void,

       0        // eod
};

void KScreenDaemon::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KScreenDaemon *_t = static_cast<KScreenDaemon *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->outputConnected((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->unknownOutputConnected((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->requestConfig(); break;
        case 3: _t->configReady((*reinterpret_cast< KScreen::ConfigOperation*(*)>(_a[1]))); break;
        case 4: _t->init(); break;
        case 5: _t->applyConfig(); break;
        case 6: _t->applyKnownConfig(); break;
        case 7: _t->applyIdealConfig(); break;
        case 8: _t->configChanged(); break;
        case 9: _t->saveCurrentConfig(); break;
        case 10: _t->displayButton(); break;
        case 11: _t->resetDisplaySwitch(); break;
        case 12: _t->applyGenericConfig(); break;
        case 13: _t->lidClosedChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 14: _t->lidClosedTimeout(); break;
        case 15: _t->setMonitorForChanges((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 16: _t->outputConnectedChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (KScreenDaemon::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KScreenDaemon::outputConnected)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KScreenDaemon::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KScreenDaemon::unknownOutputConnected)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject KScreenDaemon::staticMetaObject = {
    { &KDEDModule::staticMetaObject, qt_meta_stringdata_KScreenDaemon.data,
      qt_meta_data_KScreenDaemon,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

// SIGNAL 1
void KScreenDaemon::unknownOutputConnected(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
