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

#include <memory>
#include "generated/com_deepin_daemon_power.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'com_deepin_daemon_power.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.17. 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___Power_t {
    QByteArrayData data[71];
    char stringdata0[1501];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___Power_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___Power_t qt_meta_stringdata___Power = {
    {
QT_MOC_LITERAL(0, 0, 7), // "__Power"
QT_MOC_LITERAL(1, 8, 35), // "AmbientLightAdjustBrightnessC..."
QT_MOC_LITERAL(2, 44, 0), // ""
QT_MOC_LITERAL(3, 45, 5), // "value"
QT_MOC_LITERAL(4, 51, 23), // "BatteryIsPresentChanged"
QT_MOC_LITERAL(5, 75, 18), // "BatteryPresentInfo"
QT_MOC_LITERAL(6, 94, 29), // "BatteryLidClosedActionChanged"
QT_MOC_LITERAL(7, 124, 23), // "BatteryLockDelayChanged"
QT_MOC_LITERAL(8, 148, 24), // "BatteryPercentageChanged"
QT_MOC_LITERAL(9, 173, 21), // "BatteryPercentageInfo"
QT_MOC_LITERAL(10, 195, 33), // "BatteryPressPowerBtnActionCha..."
QT_MOC_LITERAL(11, 229, 30), // "BatteryScreenBlackDelayChanged"
QT_MOC_LITERAL(12, 260, 30), // "BatteryScreensaverDelayChanged"
QT_MOC_LITERAL(13, 291, 24), // "BatterySleepDelayChanged"
QT_MOC_LITERAL(14, 316, 19), // "BatteryStateChanged"
QT_MOC_LITERAL(15, 336, 16), // "BatteryStateInfo"
QT_MOC_LITERAL(16, 353, 28), // "HasAmbientLightSensorChanged"
QT_MOC_LITERAL(17, 382, 33), // "IsHighPerformanceSupportedCha..."
QT_MOC_LITERAL(18, 416, 21), // "LidClosedSleepChanged"
QT_MOC_LITERAL(19, 438, 19), // "LidIsPresentChanged"
QT_MOC_LITERAL(20, 458, 31), // "LinePowerLidClosedActionChanged"
QT_MOC_LITERAL(21, 490, 25), // "LinePowerLockDelayChanged"
QT_MOC_LITERAL(22, 516, 35), // "LinePowerPressPowerBtnActionC..."
QT_MOC_LITERAL(23, 552, 32), // "LinePowerScreenBlackDelayChanged"
QT_MOC_LITERAL(24, 585, 32), // "LinePowerScreensaverDelayChanged"
QT_MOC_LITERAL(25, 618, 26), // "LinePowerSleepDelayChanged"
QT_MOC_LITERAL(26, 645, 33), // "LowPowerAutoSleepThresholdCha..."
QT_MOC_LITERAL(27, 679, 27), // "LowPowerNotifyEnableChanged"
QT_MOC_LITERAL(28, 707, 30), // "LowPowerNotifyThresholdChanged"
QT_MOC_LITERAL(29, 738, 16), // "OnBatteryChanged"
QT_MOC_LITERAL(30, 755, 22), // "ScreenBlackLockChanged"
QT_MOC_LITERAL(31, 778, 16), // "SleepLockChanged"
QT_MOC_LITERAL(32, 795, 16), // "WarnLevelChanged"
QT_MOC_LITERAL(33, 812, 5), // "Reset"
QT_MOC_LITERAL(34, 818, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(35, 838, 11), // "ResetQueued"
QT_MOC_LITERAL(36, 850, 10), // "CallQueued"
QT_MOC_LITERAL(37, 861, 8), // "callName"
QT_MOC_LITERAL(38, 870, 4), // "args"
QT_MOC_LITERAL(39, 875, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(40, 897, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(41, 922, 1), // "w"
QT_MOC_LITERAL(42, 924, 17), // "onPropertyChanged"
QT_MOC_LITERAL(43, 942, 8), // "propName"
QT_MOC_LITERAL(44, 951, 28), // "AmbientLightAdjustBrightness"
QT_MOC_LITERAL(45, 980, 16), // "BatteryIsPresent"
QT_MOC_LITERAL(46, 997, 22), // "BatteryLidClosedAction"
QT_MOC_LITERAL(47, 1020, 16), // "BatteryLockDelay"
QT_MOC_LITERAL(48, 1037, 17), // "BatteryPercentage"
QT_MOC_LITERAL(49, 1055, 26), // "BatteryPressPowerBtnAction"
QT_MOC_LITERAL(50, 1082, 23), // "BatteryScreenBlackDelay"
QT_MOC_LITERAL(51, 1106, 23), // "BatteryScreensaverDelay"
QT_MOC_LITERAL(52, 1130, 17), // "BatterySleepDelay"
QT_MOC_LITERAL(53, 1148, 12), // "BatteryState"
QT_MOC_LITERAL(54, 1161, 21), // "HasAmbientLightSensor"
QT_MOC_LITERAL(55, 1183, 26), // "IsHighPerformanceSupported"
QT_MOC_LITERAL(56, 1210, 14), // "LidClosedSleep"
QT_MOC_LITERAL(57, 1225, 12), // "LidIsPresent"
QT_MOC_LITERAL(58, 1238, 24), // "LinePowerLidClosedAction"
QT_MOC_LITERAL(59, 1263, 18), // "LinePowerLockDelay"
QT_MOC_LITERAL(60, 1282, 28), // "LinePowerPressPowerBtnAction"
QT_MOC_LITERAL(61, 1311, 25), // "LinePowerScreenBlackDelay"
QT_MOC_LITERAL(62, 1337, 25), // "LinePowerScreensaverDelay"
QT_MOC_LITERAL(63, 1363, 19), // "LinePowerSleepDelay"
QT_MOC_LITERAL(64, 1383, 26), // "LowPowerAutoSleepThreshold"
QT_MOC_LITERAL(65, 1410, 20), // "LowPowerNotifyEnable"
QT_MOC_LITERAL(66, 1431, 23), // "LowPowerNotifyThreshold"
QT_MOC_LITERAL(67, 1455, 9), // "OnBattery"
QT_MOC_LITERAL(68, 1465, 15), // "ScreenBlackLock"
QT_MOC_LITERAL(69, 1481, 9), // "SleepLock"
QT_MOC_LITERAL(70, 1491, 9) // "WarnLevel"

    },
    "__Power\0AmbientLightAdjustBrightnessChanged\0"
    "\0value\0BatteryIsPresentChanged\0"
    "BatteryPresentInfo\0BatteryLidClosedActionChanged\0"
    "BatteryLockDelayChanged\0"
    "BatteryPercentageChanged\0BatteryPercentageInfo\0"
    "BatteryPressPowerBtnActionChanged\0"
    "BatteryScreenBlackDelayChanged\0"
    "BatteryScreensaverDelayChanged\0"
    "BatterySleepDelayChanged\0BatteryStateChanged\0"
    "BatteryStateInfo\0HasAmbientLightSensorChanged\0"
    "IsHighPerformanceSupportedChanged\0"
    "LidClosedSleepChanged\0LidIsPresentChanged\0"
    "LinePowerLidClosedActionChanged\0"
    "LinePowerLockDelayChanged\0"
    "LinePowerPressPowerBtnActionChanged\0"
    "LinePowerScreenBlackDelayChanged\0"
    "LinePowerScreensaverDelayChanged\0"
    "LinePowerSleepDelayChanged\0"
    "LowPowerAutoSleepThresholdChanged\0"
    "LowPowerNotifyEnableChanged\0"
    "LowPowerNotifyThresholdChanged\0"
    "OnBatteryChanged\0ScreenBlackLockChanged\0"
    "SleepLockChanged\0WarnLevelChanged\0"
    "Reset\0QDBusPendingReply<>\0ResetQueued\0"
    "CallQueued\0callName\0args\0onPendingCallFinished\0"
    "QDBusPendingCallWatcher*\0w\0onPropertyChanged\0"
    "propName\0AmbientLightAdjustBrightness\0"
    "BatteryIsPresent\0BatteryLidClosedAction\0"
    "BatteryLockDelay\0BatteryPercentage\0"
    "BatteryPressPowerBtnAction\0"
    "BatteryScreenBlackDelay\0BatteryScreensaverDelay\0"
    "BatterySleepDelay\0BatteryState\0"
    "HasAmbientLightSensor\0IsHighPerformanceSupported\0"
    "LidClosedSleep\0LidIsPresent\0"
    "LinePowerLidClosedAction\0LinePowerLockDelay\0"
    "LinePowerPressPowerBtnAction\0"
    "LinePowerScreenBlackDelay\0"
    "LinePowerScreensaverDelay\0LinePowerSleepDelay\0"
    "LowPowerAutoSleepThreshold\0"
    "LowPowerNotifyEnable\0LowPowerNotifyThreshold\0"
    "OnBattery\0ScreenBlackLock\0SleepLock\0"
    "WarnLevel"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___Power[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      32,   14, // methods
      27,  270, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      27,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  174,    2, 0x06 /* Public */,
       4,    1,  177,    2, 0x06 /* Public */,
       6,    1,  180,    2, 0x06 /* Public */,
       7,    1,  183,    2, 0x06 /* Public */,
       8,    1,  186,    2, 0x06 /* Public */,
      10,    1,  189,    2, 0x06 /* Public */,
      11,    1,  192,    2, 0x06 /* Public */,
      12,    1,  195,    2, 0x06 /* Public */,
      13,    1,  198,    2, 0x06 /* Public */,
      14,    1,  201,    2, 0x06 /* Public */,
      16,    1,  204,    2, 0x06 /* Public */,
      17,    1,  207,    2, 0x06 /* Public */,
      18,    1,  210,    2, 0x06 /* Public */,
      19,    1,  213,    2, 0x06 /* Public */,
      20,    1,  216,    2, 0x06 /* Public */,
      21,    1,  219,    2, 0x06 /* Public */,
      22,    1,  222,    2, 0x06 /* Public */,
      23,    1,  225,    2, 0x06 /* Public */,
      24,    1,  228,    2, 0x06 /* Public */,
      25,    1,  231,    2, 0x06 /* Public */,
      26,    1,  234,    2, 0x06 /* Public */,
      27,    1,  237,    2, 0x06 /* Public */,
      28,    1,  240,    2, 0x06 /* Public */,
      29,    1,  243,    2, 0x06 /* Public */,
      30,    1,  246,    2, 0x06 /* Public */,
      31,    1,  249,    2, 0x06 /* Public */,
      32,    1,  252,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      33,    0,  255,    2, 0x0a /* Public */,
      35,    0,  256,    2, 0x0a /* Public */,
      36,    2,  257,    2, 0x0a /* Public */,
      39,    1,  262,    2, 0x08 /* Private */,
      42,    2,  265,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, 0x80000000 | 5,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, 0x80000000 | 9,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, 0x80000000 | 15,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::UInt,    3,

 // slots: parameters
    0x80000000 | 34,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,   37,   38,
    QMetaType::Void, 0x80000000 | 40,   41,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariant,   43,    3,

 // properties: name, type, flags
      44, QMetaType::Bool, 0x00495103,
      45, 0x80000000 | 5, 0x00495009,
      46, QMetaType::Int, 0x00495103,
      47, QMetaType::Int, 0x00495103,
      48, 0x80000000 | 9, 0x00495009,
      49, QMetaType::Int, 0x00495103,
      50, QMetaType::Int, 0x00495103,
      51, QMetaType::Int, 0x00495103,
      52, QMetaType::Int, 0x00495103,
      53, 0x80000000 | 15, 0x00495009,
      54, QMetaType::Bool, 0x00495001,
      55, QMetaType::Bool, 0x00495001,
      56, QMetaType::Bool, 0x00495103,
      57, QMetaType::Bool, 0x00495001,
      58, QMetaType::Int, 0x00495103,
      59, QMetaType::Int, 0x00495103,
      60, QMetaType::Int, 0x00495103,
      61, QMetaType::Int, 0x00495103,
      62, QMetaType::Int, 0x00495103,
      63, QMetaType::Int, 0x00495103,
      64, QMetaType::Int, 0x00495103,
      65, QMetaType::Bool, 0x00495103,
      66, QMetaType::Int, 0x00495103,
      67, QMetaType::Bool, 0x00495001,
      68, QMetaType::Bool, 0x00495103,
      69, QMetaType::Bool, 0x00495103,
      70, QMetaType::UInt, 0x00495001,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       5,
       6,
       7,
       8,
       9,
      10,
      11,
      12,
      13,
      14,
      15,
      16,
      17,
      18,
      19,
      20,
      21,
      22,
      23,
      24,
      25,
      26,

       0        // eod
};

void __Power::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__Power *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->AmbientLightAdjustBrightnessChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->BatteryIsPresentChanged((*reinterpret_cast< BatteryPresentInfo(*)>(_a[1]))); break;
        case 2: _t->BatteryLidClosedActionChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->BatteryLockDelayChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->BatteryPercentageChanged((*reinterpret_cast< BatteryPercentageInfo(*)>(_a[1]))); break;
        case 5: _t->BatteryPressPowerBtnActionChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->BatteryScreenBlackDelayChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->BatteryScreensaverDelayChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->BatterySleepDelayChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->BatteryStateChanged((*reinterpret_cast< BatteryStateInfo(*)>(_a[1]))); break;
        case 10: _t->HasAmbientLightSensorChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->IsHighPerformanceSupportedChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 12: _t->LidClosedSleepChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 13: _t->LidIsPresentChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 14: _t->LinePowerLidClosedActionChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->LinePowerLockDelayChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 16: _t->LinePowerPressPowerBtnActionChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 17: _t->LinePowerScreenBlackDelayChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 18: _t->LinePowerScreensaverDelayChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 19: _t->LinePowerSleepDelayChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 20: _t->LowPowerAutoSleepThresholdChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 21: _t->LowPowerNotifyEnableChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 22: _t->LowPowerNotifyThresholdChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 23: _t->OnBatteryChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 24: _t->ScreenBlackLockChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 25: _t->SleepLockChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 26: _t->WarnLevelChanged((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 27: { QDBusPendingReply<> _r = _t->Reset();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 28: _t->ResetQueued(); break;
        case 29: _t->CallQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QVariant>(*)>(_a[2]))); break;
        case 30: _t->onPendingCallFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 31: _t->onPropertyChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 30:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusPendingCallWatcher* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (__Power::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::AmbientLightAdjustBrightnessChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (__Power::*)(BatteryPresentInfo ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::BatteryIsPresentChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (__Power::*)(int ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::BatteryLidClosedActionChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (__Power::*)(int ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::BatteryLockDelayChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (__Power::*)(BatteryPercentageInfo ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::BatteryPercentageChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (__Power::*)(int ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::BatteryPressPowerBtnActionChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (__Power::*)(int ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::BatteryScreenBlackDelayChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (__Power::*)(int ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::BatteryScreensaverDelayChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (__Power::*)(int ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::BatterySleepDelayChanged)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (__Power::*)(BatteryStateInfo ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::BatteryStateChanged)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (__Power::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::HasAmbientLightSensorChanged)) {
                *result = 10;
                return;
            }
        }
        {
            using _t = void (__Power::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::IsHighPerformanceSupportedChanged)) {
                *result = 11;
                return;
            }
        }
        {
            using _t = void (__Power::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::LidClosedSleepChanged)) {
                *result = 12;
                return;
            }
        }
        {
            using _t = void (__Power::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::LidIsPresentChanged)) {
                *result = 13;
                return;
            }
        }
        {
            using _t = void (__Power::*)(int ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::LinePowerLidClosedActionChanged)) {
                *result = 14;
                return;
            }
        }
        {
            using _t = void (__Power::*)(int ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::LinePowerLockDelayChanged)) {
                *result = 15;
                return;
            }
        }
        {
            using _t = void (__Power::*)(int ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::LinePowerPressPowerBtnActionChanged)) {
                *result = 16;
                return;
            }
        }
        {
            using _t = void (__Power::*)(int ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::LinePowerScreenBlackDelayChanged)) {
                *result = 17;
                return;
            }
        }
        {
            using _t = void (__Power::*)(int ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::LinePowerScreensaverDelayChanged)) {
                *result = 18;
                return;
            }
        }
        {
            using _t = void (__Power::*)(int ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::LinePowerSleepDelayChanged)) {
                *result = 19;
                return;
            }
        }
        {
            using _t = void (__Power::*)(int ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::LowPowerAutoSleepThresholdChanged)) {
                *result = 20;
                return;
            }
        }
        {
            using _t = void (__Power::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::LowPowerNotifyEnableChanged)) {
                *result = 21;
                return;
            }
        }
        {
            using _t = void (__Power::*)(int ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::LowPowerNotifyThresholdChanged)) {
                *result = 22;
                return;
            }
        }
        {
            using _t = void (__Power::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::OnBatteryChanged)) {
                *result = 23;
                return;
            }
        }
        {
            using _t = void (__Power::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::ScreenBlackLockChanged)) {
                *result = 24;
                return;
            }
        }
        {
            using _t = void (__Power::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::SleepLockChanged)) {
                *result = 25;
                return;
            }
        }
        {
            using _t = void (__Power::*)(uint ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Power::WarnLevelChanged)) {
                *result = 26;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<__Power *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->ambientLightAdjustBrightness(); break;
        case 1: *reinterpret_cast< BatteryPresentInfo*>(_v) = _t->batteryIsPresent(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->batteryLidClosedAction(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->batteryLockDelay(); break;
        case 4: *reinterpret_cast< BatteryPercentageInfo*>(_v) = _t->batteryPercentage(); break;
        case 5: *reinterpret_cast< int*>(_v) = _t->batteryPressPowerBtnAction(); break;
        case 6: *reinterpret_cast< int*>(_v) = _t->batteryScreenBlackDelay(); break;
        case 7: *reinterpret_cast< int*>(_v) = _t->batteryScreensaverDelay(); break;
        case 8: *reinterpret_cast< int*>(_v) = _t->batterySleepDelay(); break;
        case 9: *reinterpret_cast< BatteryStateInfo*>(_v) = _t->batteryState(); break;
        case 10: *reinterpret_cast< bool*>(_v) = _t->hasAmbientLightSensor(); break;
        case 11: *reinterpret_cast< bool*>(_v) = _t->isHighPerformanceSupported(); break;
        case 12: *reinterpret_cast< bool*>(_v) = _t->lidClosedSleep(); break;
        case 13: *reinterpret_cast< bool*>(_v) = _t->lidIsPresent(); break;
        case 14: *reinterpret_cast< int*>(_v) = _t->linePowerLidClosedAction(); break;
        case 15: *reinterpret_cast< int*>(_v) = _t->linePowerLockDelay(); break;
        case 16: *reinterpret_cast< int*>(_v) = _t->linePowerPressPowerBtnAction(); break;
        case 17: *reinterpret_cast< int*>(_v) = _t->linePowerScreenBlackDelay(); break;
        case 18: *reinterpret_cast< int*>(_v) = _t->linePowerScreensaverDelay(); break;
        case 19: *reinterpret_cast< int*>(_v) = _t->linePowerSleepDelay(); break;
        case 20: *reinterpret_cast< int*>(_v) = _t->lowPowerAutoSleepThreshold(); break;
        case 21: *reinterpret_cast< bool*>(_v) = _t->lowPowerNotifyEnable(); break;
        case 22: *reinterpret_cast< int*>(_v) = _t->lowPowerNotifyThreshold(); break;
        case 23: *reinterpret_cast< bool*>(_v) = _t->onBattery(); break;
        case 24: *reinterpret_cast< bool*>(_v) = _t->screenBlackLock(); break;
        case 25: *reinterpret_cast< bool*>(_v) = _t->sleepLock(); break;
        case 26: *reinterpret_cast< uint*>(_v) = _t->warnLevel(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<__Power *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setAmbientLightAdjustBrightness(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setBatteryLidClosedAction(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setBatteryLockDelay(*reinterpret_cast< int*>(_v)); break;
        case 5: _t->setBatteryPressPowerBtnAction(*reinterpret_cast< int*>(_v)); break;
        case 6: _t->setBatteryScreenBlackDelay(*reinterpret_cast< int*>(_v)); break;
        case 7: _t->setBatteryScreensaverDelay(*reinterpret_cast< int*>(_v)); break;
        case 8: _t->setBatterySleepDelay(*reinterpret_cast< int*>(_v)); break;
        case 12: _t->setLidClosedSleep(*reinterpret_cast< bool*>(_v)); break;
        case 14: _t->setLinePowerLidClosedAction(*reinterpret_cast< int*>(_v)); break;
        case 15: _t->setLinePowerLockDelay(*reinterpret_cast< int*>(_v)); break;
        case 16: _t->setLinePowerPressPowerBtnAction(*reinterpret_cast< int*>(_v)); break;
        case 17: _t->setLinePowerScreenBlackDelay(*reinterpret_cast< int*>(_v)); break;
        case 18: _t->setLinePowerScreensaverDelay(*reinterpret_cast< int*>(_v)); break;
        case 19: _t->setLinePowerSleepDelay(*reinterpret_cast< int*>(_v)); break;
        case 20: _t->setLowPowerAutoSleepThreshold(*reinterpret_cast< int*>(_v)); break;
        case 21: _t->setLowPowerNotifyEnable(*reinterpret_cast< bool*>(_v)); break;
        case 22: _t->setLowPowerNotifyThreshold(*reinterpret_cast< int*>(_v)); break;
        case 24: _t->setScreenBlackLock(*reinterpret_cast< bool*>(_v)); break;
        case 25: _t->setSleepLock(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject __Power::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___Power.data,
    qt_meta_data___Power,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void __Power::AmbientLightAdjustBrightnessChanged(bool _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 0, _a);
}

// SIGNAL 1
void __Power::BatteryIsPresentChanged(BatteryPresentInfo _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 1, _a);
}

// SIGNAL 2
void __Power::BatteryLidClosedActionChanged(int _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 2, _a);
}

// SIGNAL 3
void __Power::BatteryLockDelayChanged(int _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 3, _a);
}

// SIGNAL 4
void __Power::BatteryPercentageChanged(BatteryPercentageInfo _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 4, _a);
}

// SIGNAL 5
void __Power::BatteryPressPowerBtnActionChanged(int _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 5, _a);
}

// SIGNAL 6
void __Power::BatteryScreenBlackDelayChanged(int _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 6, _a);
}

// SIGNAL 7
void __Power::BatteryScreensaverDelayChanged(int _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 7, _a);
}

// SIGNAL 8
void __Power::BatterySleepDelayChanged(int _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 8, _a);
}

// SIGNAL 9
void __Power::BatteryStateChanged(BatteryStateInfo _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 9, _a);
}

// SIGNAL 10
void __Power::HasAmbientLightSensorChanged(bool _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 10, _a);
}

// SIGNAL 11
void __Power::IsHighPerformanceSupportedChanged(bool _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 11, _a);
}

// SIGNAL 12
void __Power::LidClosedSleepChanged(bool _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 12, _a);
}

// SIGNAL 13
void __Power::LidIsPresentChanged(bool _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 13, _a);
}

// SIGNAL 14
void __Power::LinePowerLidClosedActionChanged(int _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 14, _a);
}

// SIGNAL 15
void __Power::LinePowerLockDelayChanged(int _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 15, _a);
}

// SIGNAL 16
void __Power::LinePowerPressPowerBtnActionChanged(int _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 16, _a);
}

// SIGNAL 17
void __Power::LinePowerScreenBlackDelayChanged(int _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 17, _a);
}

// SIGNAL 18
void __Power::LinePowerScreensaverDelayChanged(int _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 18, _a);
}

// SIGNAL 19
void __Power::LinePowerSleepDelayChanged(int _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 19, _a);
}

// SIGNAL 20
void __Power::LowPowerAutoSleepThresholdChanged(int _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 20, _a);
}

// SIGNAL 21
void __Power::LowPowerNotifyEnableChanged(bool _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 21, _a);
}

// SIGNAL 22
void __Power::LowPowerNotifyThresholdChanged(int _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 22, _a);
}

// SIGNAL 23
void __Power::OnBatteryChanged(bool _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 23, _a);
}

// SIGNAL 24
void __Power::ScreenBlackLockChanged(bool _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 24, _a);
}

// SIGNAL 25
void __Power::SleepLockChanged(bool _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 25, _a);
}

// SIGNAL 26
void __Power::WarnLevelChanged(uint _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __Power *>(this), &staticMetaObject, 26, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
