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

#include <memory>
#include "../../src/global_util/dbus/displayinterface.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'displayinterface.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_DisplayInterface_t {
    QByteArrayData data[48];
    char stringdata0[704];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DisplayInterface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DisplayInterface_t qt_meta_stringdata_DisplayInterface = {
    {
QT_MOC_LITERAL(0, 0, 16), // "DisplayInterface"
QT_MOC_LITERAL(1, 17, 17), // "BrightnessChanged"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 20), // "BuiltinOutputChanged"
QT_MOC_LITERAL(4, 57, 18), // "DisplayModeChanged"
QT_MOC_LITERAL(5, 76, 17), // "HasChangedChanged"
QT_MOC_LITERAL(6, 94, 15), // "MonitorsChanged"
QT_MOC_LITERAL(7, 110, 14), // "PrimaryChanged"
QT_MOC_LITERAL(8, 125, 18), // "PrimaryRectChanged"
QT_MOC_LITERAL(9, 144, 19), // "ScreenHeightChanged"
QT_MOC_LITERAL(10, 164, 18), // "ScreenWidthChanged"
QT_MOC_LITERAL(11, 183, 19), // "__propertyChanged__"
QT_MOC_LITERAL(12, 203, 12), // "QDBusMessage"
QT_MOC_LITERAL(13, 216, 3), // "msg"
QT_MOC_LITERAL(14, 220, 5), // "Apply"
QT_MOC_LITERAL(15, 226, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(16, 246, 20), // "AssociateTouchScreen"
QT_MOC_LITERAL(17, 267, 3), // "in0"
QT_MOC_LITERAL(18, 271, 3), // "in1"
QT_MOC_LITERAL(19, 275, 16), // "ChangeBrightness"
QT_MOC_LITERAL(20, 292, 11), // "JoinMonitor"
QT_MOC_LITERAL(21, 304, 15), // "ListOutputNames"
QT_MOC_LITERAL(22, 320, 30), // "QDBusPendingReply<QStringList>"
QT_MOC_LITERAL(23, 351, 20), // "QueryCurrentPlanName"
QT_MOC_LITERAL(24, 372, 26), // "QDBusPendingReply<QString>"
QT_MOC_LITERAL(25, 399, 18), // "QueryOutputFeature"
QT_MOC_LITERAL(26, 418, 22), // "QDBusPendingReply<int>"
QT_MOC_LITERAL(27, 441, 5), // "Reset"
QT_MOC_LITERAL(28, 447, 15), // "ResetBrightness"
QT_MOC_LITERAL(29, 463, 12), // "ResetChanges"
QT_MOC_LITERAL(30, 476, 11), // "SaveChanges"
QT_MOC_LITERAL(31, 488, 13), // "SetBrightness"
QT_MOC_LITERAL(32, 502, 10), // "SetPrimary"
QT_MOC_LITERAL(33, 513, 12), // "SplitMonitor"
QT_MOC_LITERAL(34, 526, 10), // "SwitchMode"
QT_MOC_LITERAL(35, 537, 10), // "Brightness"
QT_MOC_LITERAL(36, 548, 13), // "BrightnessMap"
QT_MOC_LITERAL(37, 562, 13), // "BuiltinOutput"
QT_MOC_LITERAL(38, 576, 15), // "QDBusObjectPath"
QT_MOC_LITERAL(39, 592, 11), // "DisplayMode"
QT_MOC_LITERAL(40, 604, 10), // "HasChanged"
QT_MOC_LITERAL(41, 615, 8), // "Monitors"
QT_MOC_LITERAL(42, 624, 22), // "QList<QDBusObjectPath>"
QT_MOC_LITERAL(43, 647, 7), // "Primary"
QT_MOC_LITERAL(44, 655, 11), // "PrimaryRect"
QT_MOC_LITERAL(45, 667, 11), // "DisplayRect"
QT_MOC_LITERAL(46, 679, 12), // "ScreenHeight"
QT_MOC_LITERAL(47, 692, 11) // "ScreenWidth"

    },
    "DisplayInterface\0BrightnessChanged\0\0"
    "BuiltinOutputChanged\0DisplayModeChanged\0"
    "HasChangedChanged\0MonitorsChanged\0"
    "PrimaryChanged\0PrimaryRectChanged\0"
    "ScreenHeightChanged\0ScreenWidthChanged\0"
    "__propertyChanged__\0QDBusMessage\0msg\0"
    "Apply\0QDBusPendingReply<>\0"
    "AssociateTouchScreen\0in0\0in1\0"
    "ChangeBrightness\0JoinMonitor\0"
    "ListOutputNames\0QDBusPendingReply<QStringList>\0"
    "QueryCurrentPlanName\0QDBusPendingReply<QString>\0"
    "QueryOutputFeature\0QDBusPendingReply<int>\0"
    "Reset\0ResetBrightness\0ResetChanges\0"
    "SaveChanges\0SetBrightness\0SetPrimary\0"
    "SplitMonitor\0SwitchMode\0Brightness\0"
    "BrightnessMap\0BuiltinOutput\0QDBusObjectPath\0"
    "DisplayMode\0HasChanged\0Monitors\0"
    "QList<QDBusObjectPath>\0Primary\0"
    "PrimaryRect\0DisplayRect\0ScreenHeight\0"
    "ScreenWidth"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DisplayInterface[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  139,    2, 0x06 /* Public */,
       3,    0,  140,    2, 0x06 /* Public */,
       4,    0,  141,    2, 0x06 /* Public */,
       5,    0,  142,    2, 0x06 /* Public */,
       6,    0,  143,    2, 0x06 /* Public */,
       7,    0,  144,    2, 0x06 /* Public */,
       8,    0,  145,    2, 0x06 /* Public */,
       9,    0,  146,    2, 0x06 /* Public */,
      10,    0,  147,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    1,  148,    2, 0x08 /* Private */,
      14,    0,  151,    2, 0x0a /* Public */,
      16,    2,  152,    2, 0x0a /* Public */,
      19,    2,  157,    2, 0x0a /* Public */,
      20,    2,  162,    2, 0x0a /* Public */,
      21,    0,  167,    2, 0x0a /* Public */,
      23,    0,  168,    2, 0x0a /* Public */,
      25,    1,  169,    2, 0x0a /* Public */,
      27,    0,  172,    2, 0x0a /* Public */,
      28,    1,  173,    2, 0x0a /* Public */,
      29,    0,  176,    2, 0x0a /* Public */,
      30,    0,  177,    2, 0x0a /* Public */,
      31,    2,  178,    2, 0x0a /* Public */,
      32,    1,  183,    2, 0x0a /* Public */,
      33,    1,  186,    2, 0x0a /* Public */,
      34,    2,  189,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 12,   13,
    0x80000000 | 15,
    0x80000000 | 15, QMetaType::QString, QMetaType::QString,   17,   18,
    0x80000000 | 15, QMetaType::QString, QMetaType::Double,   17,   18,
    0x80000000 | 15, QMetaType::QString, QMetaType::QString,   17,   18,
    0x80000000 | 22,
    0x80000000 | 24,
    0x80000000 | 26, QMetaType::QString,   17,
    0x80000000 | 15,
    0x80000000 | 15, QMetaType::QString,   17,
    0x80000000 | 15,
    0x80000000 | 15,
    0x80000000 | 15, QMetaType::QString, QMetaType::Double,   17,   18,
    0x80000000 | 15, QMetaType::QString,   17,
    0x80000000 | 15, QMetaType::QString,   17,
    0x80000000 | 15, QMetaType::Short, QMetaType::QString,   17,   18,

 // properties: name, type, flags
      35, 0x80000000 | 36, 0x00495009,
      37, 0x80000000 | 38, 0x00495009,
      39, QMetaType::Short, 0x00495001,
      40, QMetaType::Bool, 0x00495001,
      41, 0x80000000 | 42, 0x00495009,
      43, QMetaType::QString, 0x00495001,
      44, 0x80000000 | 45, 0x00495009,
      46, QMetaType::UShort, 0x00495001,
      47, QMetaType::UShort, 0x00495001,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       5,
       6,
       7,
       8,

       0        // eod
};

void DisplayInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<DisplayInterface *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->BrightnessChanged(); break;
        case 1: _t->BuiltinOutputChanged(); break;
        case 2: _t->DisplayModeChanged(); break;
        case 3: _t->HasChangedChanged(); break;
        case 4: _t->MonitorsChanged(); break;
        case 5: _t->PrimaryChanged(); break;
        case 6: _t->PrimaryRectChanged(); break;
        case 7: _t->ScreenHeightChanged(); break;
        case 8: _t->ScreenWidthChanged(); break;
        case 9: _t->__propertyChanged__((*reinterpret_cast< const QDBusMessage(*)>(_a[1]))); break;
        case 10: { QDBusPendingReply<> _r = _t->Apply();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 11: { QDBusPendingReply<> _r = _t->AssociateTouchScreen((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 12: { QDBusPendingReply<> _r = _t->ChangeBrightness((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 13: { QDBusPendingReply<> _r = _t->JoinMonitor((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 14: { QDBusPendingReply<QStringList> _r = _t->ListOutputNames();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QStringList>*>(_a[0]) = std::move(_r); }  break;
        case 15: { QDBusPendingReply<QString> _r = _t->QueryCurrentPlanName();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 16: { QDBusPendingReply<int> _r = _t->QueryOutputFeature((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<int>*>(_a[0]) = std::move(_r); }  break;
        case 17: { QDBusPendingReply<> _r = _t->Reset();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 18: { QDBusPendingReply<> _r = _t->ResetBrightness((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 19: { QDBusPendingReply<> _r = _t->ResetChanges();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 20: { QDBusPendingReply<> _r = _t->SaveChanges();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 21: { QDBusPendingReply<> _r = _t->SetBrightness((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 22: { QDBusPendingReply<> _r = _t->SetPrimary((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 23: { QDBusPendingReply<> _r = _t->SplitMonitor((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 24: { QDBusPendingReply<> _r = _t->SwitchMode((*reinterpret_cast< short(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusMessage >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (DisplayInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DisplayInterface::BrightnessChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (DisplayInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DisplayInterface::BuiltinOutputChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (DisplayInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DisplayInterface::DisplayModeChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (DisplayInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DisplayInterface::HasChangedChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (DisplayInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DisplayInterface::MonitorsChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (DisplayInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DisplayInterface::PrimaryChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (DisplayInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DisplayInterface::PrimaryRectChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (DisplayInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DisplayInterface::ScreenHeightChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (DisplayInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DisplayInterface::ScreenWidthChanged)) {
                *result = 8;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< BrightnessMap >(); break;
        case 6:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< DisplayRect >(); break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusObjectPath >(); break;
        case 4:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QDBusObjectPath> >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<DisplayInterface *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< BrightnessMap*>(_v) = _t->brightness(); break;
        case 1: *reinterpret_cast< QDBusObjectPath*>(_v) = _t->builtinOutput(); break;
        case 2: *reinterpret_cast< short*>(_v) = _t->displayMode(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->hasChanged(); break;
        case 4: *reinterpret_cast< QList<QDBusObjectPath>*>(_v) = _t->monitors(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->primary(); break;
        case 6: *reinterpret_cast< DisplayRect*>(_v) = _t->primaryRect(); break;
        case 7: *reinterpret_cast< ushort*>(_v) = _t->screenHeight(); break;
        case 8: *reinterpret_cast< ushort*>(_v) = _t->screenWidth(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject DisplayInterface::staticMetaObject = { {
    QMetaObject::SuperData::link<QDBusAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata_DisplayInterface.data,
    qt_meta_data_DisplayInterface,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int DisplayInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 25)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 25;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 25)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 25;
    }
#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 -= 9;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 9;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void DisplayInterface::BrightnessChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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

// SIGNAL 2
void DisplayInterface::DisplayModeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void DisplayInterface::HasChangedChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

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

// SIGNAL 5
void DisplayInterface::PrimaryChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void DisplayInterface::PrimaryRectChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void DisplayInterface::ScreenHeightChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void DisplayInterface::ScreenWidthChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
