/****************************************************************************
** Meta object code from reading C++ file 'com_deepin_system_systempower.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_system_systempower.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'com_deepin_system_systempower.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___SystemPower_t {
    QByteArrayData data[59];
    char stringdata0[1080];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___SystemPower_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___SystemPower_t qt_meta_stringdata___SystemPower = {
    {
QT_MOC_LITERAL(0, 0, 13), // "__SystemPower"
QT_MOC_LITERAL(1, 14, 12), // "BatteryAdded"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 15), // "QDBusObjectPath"
QT_MOC_LITERAL(4, 44, 7), // "objpath"
QT_MOC_LITERAL(5, 52, 20), // "BatteryDisplayUpdate"
QT_MOC_LITERAL(6, 73, 9), // "timestamp"
QT_MOC_LITERAL(7, 83, 14), // "BatteryRemoved"
QT_MOC_LITERAL(8, 98, 9), // "LidClosed"
QT_MOC_LITERAL(9, 108, 9), // "LidOpened"
QT_MOC_LITERAL(10, 118, 24), // "BatteryPercentageChanged"
QT_MOC_LITERAL(11, 143, 5), // "value"
QT_MOC_LITERAL(12, 149, 20), // "BatteryStatusChanged"
QT_MOC_LITERAL(13, 170, 25), // "BatteryTimeToEmptyChanged"
QT_MOC_LITERAL(14, 196, 24), // "BatteryTimeToFullChanged"
QT_MOC_LITERAL(15, 221, 17), // "HasBatteryChanged"
QT_MOC_LITERAL(16, 239, 19), // "HasLidSwitchChanged"
QT_MOC_LITERAL(17, 259, 33), // "IsHighPerformanceSupportedCha..."
QT_MOC_LITERAL(18, 293, 11), // "ModeChanged"
QT_MOC_LITERAL(19, 305, 16), // "OnBatteryChanged"
QT_MOC_LITERAL(20, 322, 26), // "PowerSavingModeAutoChanged"
QT_MOC_LITERAL(21, 349, 40), // "PowerSavingModeAutoWhenBatter..."
QT_MOC_LITERAL(22, 390, 43), // "PowerSavingModeBrightnessDrop..."
QT_MOC_LITERAL(23, 434, 29), // "PowerSavingModeEnabledChanged"
QT_MOC_LITERAL(24, 464, 37), // "PowerSystemAutoToSleepWhenFre..."
QT_MOC_LITERAL(25, 502, 12), // "GetBatteries"
QT_MOC_LITERAL(26, 515, 42), // "QDBusPendingReply<QList<QDBus..."
QT_MOC_LITERAL(27, 558, 7), // "Refresh"
QT_MOC_LITERAL(28, 566, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(29, 586, 13), // "RefreshQueued"
QT_MOC_LITERAL(30, 600, 16), // "RefreshBatteries"
QT_MOC_LITERAL(31, 617, 22), // "RefreshBatteriesQueued"
QT_MOC_LITERAL(32, 640, 12), // "RefreshMains"
QT_MOC_LITERAL(33, 653, 18), // "RefreshMainsQueued"
QT_MOC_LITERAL(34, 672, 7), // "SetMode"
QT_MOC_LITERAL(35, 680, 4), // "mode"
QT_MOC_LITERAL(36, 685, 13), // "SetModeQueued"
QT_MOC_LITERAL(37, 699, 10), // "CallQueued"
QT_MOC_LITERAL(38, 710, 8), // "callName"
QT_MOC_LITERAL(39, 719, 4), // "args"
QT_MOC_LITERAL(40, 724, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(41, 746, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(42, 771, 1), // "w"
QT_MOC_LITERAL(43, 773, 17), // "onPropertyChanged"
QT_MOC_LITERAL(44, 791, 8), // "propName"
QT_MOC_LITERAL(45, 800, 17), // "BatteryPercentage"
QT_MOC_LITERAL(46, 818, 13), // "BatteryStatus"
QT_MOC_LITERAL(47, 832, 18), // "BatteryTimeToEmpty"
QT_MOC_LITERAL(48, 851, 17), // "BatteryTimeToFull"
QT_MOC_LITERAL(49, 869, 10), // "HasBattery"
QT_MOC_LITERAL(50, 880, 12), // "HasLidSwitch"
QT_MOC_LITERAL(51, 893, 26), // "IsHighPerformanceSupported"
QT_MOC_LITERAL(52, 920, 4), // "Mode"
QT_MOC_LITERAL(53, 925, 9), // "OnBattery"
QT_MOC_LITERAL(54, 935, 19), // "PowerSavingModeAuto"
QT_MOC_LITERAL(55, 955, 33), // "PowerSavingModeAutoWhenBatter..."
QT_MOC_LITERAL(56, 989, 36), // "PowerSavingModeBrightnessDrop..."
QT_MOC_LITERAL(57, 1026, 22), // "PowerSavingModeEnabled"
QT_MOC_LITERAL(58, 1049, 30) // "PowerSystemAutoToSleepWhenFree"

    },
    "__SystemPower\0BatteryAdded\0\0QDBusObjectPath\0"
    "objpath\0BatteryDisplayUpdate\0timestamp\0"
    "BatteryRemoved\0LidClosed\0LidOpened\0"
    "BatteryPercentageChanged\0value\0"
    "BatteryStatusChanged\0BatteryTimeToEmptyChanged\0"
    "BatteryTimeToFullChanged\0HasBatteryChanged\0"
    "HasLidSwitchChanged\0"
    "IsHighPerformanceSupportedChanged\0"
    "ModeChanged\0OnBatteryChanged\0"
    "PowerSavingModeAutoChanged\0"
    "PowerSavingModeAutoWhenBatteryLowChanged\0"
    "PowerSavingModeBrightnessDropPercentChanged\0"
    "PowerSavingModeEnabledChanged\0"
    "PowerSystemAutoToSleepWhenFreeChanged\0"
    "GetBatteries\0QDBusPendingReply<QList<QDBusObjectPath> >\0"
    "Refresh\0QDBusPendingReply<>\0RefreshQueued\0"
    "RefreshBatteries\0RefreshBatteriesQueued\0"
    "RefreshMains\0RefreshMainsQueued\0SetMode\0"
    "mode\0SetModeQueued\0CallQueued\0callName\0"
    "args\0onPendingCallFinished\0"
    "QDBusPendingCallWatcher*\0w\0onPropertyChanged\0"
    "propName\0BatteryPercentage\0BatteryStatus\0"
    "BatteryTimeToEmpty\0BatteryTimeToFull\0"
    "HasBattery\0HasLidSwitch\0"
    "IsHighPerformanceSupported\0Mode\0"
    "OnBattery\0PowerSavingModeAuto\0"
    "PowerSavingModeAutoWhenBatteryLow\0"
    "PowerSavingModeBrightnessDropPercent\0"
    "PowerSavingModeEnabled\0"
    "PowerSystemAutoToSleepWhenFree"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___SystemPower[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      31,   14, // methods
      14,  248, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      19,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  169,    2, 0x06 /* Public */,
       5,    1,  172,    2, 0x06 /* Public */,
       7,    1,  175,    2, 0x06 /* Public */,
       8,    0,  178,    2, 0x06 /* Public */,
       9,    0,  179,    2, 0x06 /* Public */,
      10,    1,  180,    2, 0x06 /* Public */,
      12,    1,  183,    2, 0x06 /* Public */,
      13,    1,  186,    2, 0x06 /* Public */,
      14,    1,  189,    2, 0x06 /* Public */,
      15,    1,  192,    2, 0x06 /* Public */,
      16,    1,  195,    2, 0x06 /* Public */,
      17,    1,  198,    2, 0x06 /* Public */,
      18,    1,  201,    2, 0x06 /* Public */,
      19,    1,  204,    2, 0x06 /* Public */,
      20,    1,  207,    2, 0x06 /* Public */,
      21,    1,  210,    2, 0x06 /* Public */,
      22,    1,  213,    2, 0x06 /* Public */,
      23,    1,  216,    2, 0x06 /* Public */,
      24,    1,  219,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      25,    0,  222,    2, 0x0a /* Public */,
      27,    0,  223,    2, 0x0a /* Public */,
      29,    0,  224,    2, 0x0a /* Public */,
      30,    0,  225,    2, 0x0a /* Public */,
      31,    0,  226,    2, 0x0a /* Public */,
      32,    0,  227,    2, 0x0a /* Public */,
      33,    0,  228,    2, 0x0a /* Public */,
      34,    1,  229,    2, 0x0a /* Public */,
      36,    1,  232,    2, 0x0a /* Public */,
      37,    2,  235,    2, 0x0a /* Public */,
      40,    1,  240,    2, 0x08 /* Private */,
      43,    2,  243,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::LongLong,    6,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Double,   11,
    QMetaType::Void, QMetaType::UInt,   11,
    QMetaType::Void, QMetaType::ULongLong,   11,
    QMetaType::Void, QMetaType::ULongLong,   11,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::QString,   11,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::UInt,   11,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, QMetaType::Bool,   11,

 // slots: parameters
    0x80000000 | 26,
    0x80000000 | 28,
    QMetaType::Void,
    0x80000000 | 28,
    QMetaType::Void,
    0x80000000 | 28,
    QMetaType::Void,
    0x80000000 | 28, QMetaType::QString,   35,
    QMetaType::Void, QMetaType::QString,   35,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,   38,   39,
    QMetaType::Void, 0x80000000 | 41,   42,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariant,   44,   11,

 // properties: name, type, flags
      45, QMetaType::Double, 0x00495001,
      46, QMetaType::UInt, 0x00495001,
      47, QMetaType::ULongLong, 0x00495001,
      48, QMetaType::ULongLong, 0x00495001,
      49, QMetaType::Bool, 0x00495001,
      50, QMetaType::Bool, 0x00495001,
      51, QMetaType::Bool, 0x00495001,
      52, QMetaType::QString, 0x00495001,
      53, QMetaType::Bool, 0x00495001,
      54, QMetaType::Bool, 0x00495103,
      55, QMetaType::Bool, 0x00495103,
      56, QMetaType::UInt, 0x00495103,
      57, QMetaType::Bool, 0x00495103,
      58, QMetaType::Bool, 0x00495103,

 // properties: notify_signal_id
       5,
       6,
       7,
       8,
       9,
      10,
      11,
      12,
      13,
      14,
      15,
      16,
      17,
      18,

       0        // eod
};

void __SystemPower::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__SystemPower *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->BatteryAdded((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1]))); break;
        case 1: _t->BatteryDisplayUpdate((*reinterpret_cast< qlonglong(*)>(_a[1]))); break;
        case 2: _t->BatteryRemoved((*reinterpret_cast< const QDBusObjectPath(*)>(_a[1]))); break;
        case 3: _t->LidClosed(); break;
        case 4: _t->LidOpened(); break;
        case 5: _t->BatteryPercentageChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 6: _t->BatteryStatusChanged((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 7: _t->BatteryTimeToEmptyChanged((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        case 8: _t->BatteryTimeToFullChanged((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        case 9: _t->HasBatteryChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->HasLidSwitchChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->IsHighPerformanceSupportedChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 12: _t->ModeChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 13: _t->OnBatteryChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 14: _t->PowerSavingModeAutoChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: _t->PowerSavingModeAutoWhenBatteryLowChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 16: _t->PowerSavingModeBrightnessDropPercentChanged((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 17: _t->PowerSavingModeEnabledChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 18: _t->PowerSystemAutoToSleepWhenFreeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 19: { QDBusPendingReply<QList<QDBusObjectPath> > _r = _t->GetBatteries();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QList<QDBusObjectPath> >*>(_a[0]) = std::move(_r); }  break;
        case 20: { QDBusPendingReply<> _r = _t->Refresh();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 21: _t->RefreshQueued(); break;
        case 22: { QDBusPendingReply<> _r = _t->RefreshBatteries();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 23: _t->RefreshBatteriesQueued(); break;
        case 24: { QDBusPendingReply<> _r = _t->RefreshMains();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 25: _t->RefreshMainsQueued(); break;
        case 26: { QDBusPendingReply<> _r = _t->SetMode((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 27: _t->SetModeQueued((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 28: _t->CallQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QVariant>(*)>(_a[2]))); break;
        case 29: _t->onPendingCallFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 30: _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 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusObjectPath >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusObjectPath >(); break;
            }
            break;
        case 29:
            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 (__SystemPower::*)(const QDBusObjectPath & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SystemPower::BatteryAdded)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (__SystemPower::*)(qlonglong );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SystemPower::BatteryDisplayUpdate)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (__SystemPower::*)(const QDBusObjectPath & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SystemPower::BatteryRemoved)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (__SystemPower::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SystemPower::LidClosed)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (__SystemPower::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SystemPower::LidOpened)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (__SystemPower::*)(double ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SystemPower::BatteryPercentageChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (__SystemPower::*)(uint ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SystemPower::BatteryStatusChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (__SystemPower::*)(qulonglong ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SystemPower::BatteryTimeToEmptyChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (__SystemPower::*)(qulonglong ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SystemPower::BatteryTimeToFullChanged)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (__SystemPower::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SystemPower::HasBatteryChanged)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (__SystemPower::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SystemPower::HasLidSwitchChanged)) {
                *result = 10;
                return;
            }
        }
        {
            using _t = void (__SystemPower::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SystemPower::IsHighPerformanceSupportedChanged)) {
                *result = 11;
                return;
            }
        }
        {
            using _t = void (__SystemPower::*)(const QString & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SystemPower::ModeChanged)) {
                *result = 12;
                return;
            }
        }
        {
            using _t = void (__SystemPower::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SystemPower::OnBatteryChanged)) {
                *result = 13;
                return;
            }
        }
        {
            using _t = void (__SystemPower::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SystemPower::PowerSavingModeAutoChanged)) {
                *result = 14;
                return;
            }
        }
        {
            using _t = void (__SystemPower::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SystemPower::PowerSavingModeAutoWhenBatteryLowChanged)) {
                *result = 15;
                return;
            }
        }
        {
            using _t = void (__SystemPower::*)(uint ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SystemPower::PowerSavingModeBrightnessDropPercentChanged)) {
                *result = 16;
                return;
            }
        }
        {
            using _t = void (__SystemPower::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SystemPower::PowerSavingModeEnabledChanged)) {
                *result = 17;
                return;
            }
        }
        {
            using _t = void (__SystemPower::*)(bool ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__SystemPower::PowerSystemAutoToSleepWhenFreeChanged)) {
                *result = 18;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<__SystemPower *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< double*>(_v) = _t->batteryPercentage(); break;
        case 1: *reinterpret_cast< uint*>(_v) = _t->batteryStatus(); break;
        case 2: *reinterpret_cast< qulonglong*>(_v) = _t->batteryTimeToEmpty(); break;
        case 3: *reinterpret_cast< qulonglong*>(_v) = _t->batteryTimeToFull(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->hasBattery(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->hasLidSwitch(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->isHighPerformanceSupported(); break;
        case 7: *reinterpret_cast< QString*>(_v) = _t->mode(); break;
        case 8: *reinterpret_cast< bool*>(_v) = _t->onBattery(); break;
        case 9: *reinterpret_cast< bool*>(_v) = _t->powerSavingModeAuto(); break;
        case 10: *reinterpret_cast< bool*>(_v) = _t->powerSavingModeAutoWhenBatteryLow(); break;
        case 11: *reinterpret_cast< uint*>(_v) = _t->powerSavingModeBrightnessDropPercent(); break;
        case 12: *reinterpret_cast< bool*>(_v) = _t->powerSavingModeEnabled(); break;
        case 13: *reinterpret_cast< bool*>(_v) = _t->powerSystemAutoToSleepWhenFree(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<__SystemPower *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 9: _t->setPowerSavingModeAuto(*reinterpret_cast< bool*>(_v)); break;
        case 10: _t->setPowerSavingModeAutoWhenBatteryLow(*reinterpret_cast< bool*>(_v)); break;
        case 11: _t->setPowerSavingModeBrightnessDropPercent(*reinterpret_cast< uint*>(_v)); break;
        case 12: _t->setPowerSavingModeEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 13: _t->setPowerSystemAutoToSleepWhenFree(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject __SystemPower::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___SystemPower.data,
    qt_meta_data___SystemPower,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int __SystemPower::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 < 31)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 31;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 31)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 31;
    }
#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 -= 14;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 14;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 14;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 14;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 14;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 14;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// SIGNAL 18
void __SystemPower::PowerSystemAutoToSleepWhenFreeChanged(bool _t1)const
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(const_cast< __SystemPower *>(this), &staticMetaObject, 18, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
