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

#include "../../../include/power/dpowersettings.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dpowersettings.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.10.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN3Dtk5Power14DPowerSettingsE_t {};
} // unnamed namespace

template <> constexpr inline auto Dtk::Power::DPowerSettings::qt_create_metaobjectdata<qt_meta_tag_ZN3Dtk5Power14DPowerSettingsE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Dtk::Power::DPowerSettings",
        "cpuGovernorChanged",
        "",
        "value",
        "powerModeChanged",
        "PowerMode",
        "mode",
        "autoPowerSavingOnBatteryChanged",
        "enabled",
        "autoPowerSavingWhenBatteryLowChanged",
        "powerSavingBrightnessDropPercentChanged",
        "batteryLidClosedActionChanged",
        "LidClosedAction",
        "batteryLockDelayChanged",
        "batteryPressPowerBtnActionChanged",
        "PowerBtnAction",
        "batteryScreenBlackDelayChanged",
        "batteryScreensaverDelayChanged",
        "batterySleepDelayChanged",
        "linePowerLidClosedActionChanged",
        "linePowerLockDelayChanged",
        "linePowerPressPowerBtnActionChanged",
        "linePowerScreenBlackDelayChanged",
        "linePowerScreensaverDelayChanged",
        "linePowerSleepDelayChanged",
        "lowPowerAutoSleepThresholdChanged",
        "lowPowerNotifyEnableChanged",
        "lowPowerNotifyThresholdChanged",
        "screenBlackLockChanged",
        "sleepLockChanged",
        "powerSavingModeEnabledChanged",
        "powerSavingModeBrightnessDataChanged",
        "cpuBoostChanged",
        "reset",
        "DExpected<void>",
        "cpuGovernor",
        "powerMode",
        "autoPowerSavingOnBattery",
        "autoPowerSavingWhenBatteryLow",
        "powerSavingBrightnessDropPercent",
        "batteryLidClosedAction",
        "batteryLockDelay",
        "batteryPressPowerBtnAction",
        "batteryScreenBlackDelay",
        "batteryScreensaverDelay",
        "batterySleepDelay",
        "linePowerLidClosedAction",
        "linePowerLockDelay",
        "linePowerPressPowerBtnAction",
        "linePowerScreenBlackDelay",
        "linePowerScreensaverDelay",
        "linePowerSleepDelay",
        "lowPowerAutoSleepThreshold",
        "lowPowerNotifyEnable",
        "lowPowerNotifyThreshold",
        "screenBlackLock",
        "sleepLock"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'cpuGovernorChanged'
        QtMocHelpers::SignalData<void(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'powerModeChanged'
        QtMocHelpers::SignalData<void(const PowerMode &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 6 },
        }}),
        // Signal 'autoPowerSavingOnBatteryChanged'
        QtMocHelpers::SignalData<void(const bool)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 8 },
        }}),
        // Signal 'autoPowerSavingWhenBatteryLowChanged'
        QtMocHelpers::SignalData<void(const bool)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 8 },
        }}),
        // Signal 'powerSavingBrightnessDropPercentChanged'
        QtMocHelpers::SignalData<void(const quint32)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 3 },
        }}),
        // Signal 'batteryLidClosedActionChanged'
        QtMocHelpers::SignalData<void(const LidClosedAction &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 3 },
        }}),
        // Signal 'batteryLockDelayChanged'
        QtMocHelpers::SignalData<void(const qint32)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'batteryPressPowerBtnActionChanged'
        QtMocHelpers::SignalData<void(const PowerBtnAction &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 3 },
        }}),
        // Signal 'batteryScreenBlackDelayChanged'
        QtMocHelpers::SignalData<void(const qint32)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'batteryScreensaverDelayChanged'
        QtMocHelpers::SignalData<void(const qint32)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'batterySleepDelayChanged'
        QtMocHelpers::SignalData<void(const qint32)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'linePowerLidClosedActionChanged'
        QtMocHelpers::SignalData<void(const LidClosedAction &)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 3 },
        }}),
        // Signal 'linePowerLockDelayChanged'
        QtMocHelpers::SignalData<void(const qint32)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'linePowerPressPowerBtnActionChanged'
        QtMocHelpers::SignalData<void(const PowerBtnAction &)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 3 },
        }}),
        // Signal 'linePowerScreenBlackDelayChanged'
        QtMocHelpers::SignalData<void(const qint32)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'linePowerScreensaverDelayChanged'
        QtMocHelpers::SignalData<void(const qint32)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'linePowerSleepDelayChanged'
        QtMocHelpers::SignalData<void(const qint32)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'lowPowerAutoSleepThresholdChanged'
        QtMocHelpers::SignalData<void(const qint32)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'lowPowerNotifyEnableChanged'
        QtMocHelpers::SignalData<void(const bool)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Signal 'lowPowerNotifyThresholdChanged'
        QtMocHelpers::SignalData<void(const qint32)>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'screenBlackLockChanged'
        QtMocHelpers::SignalData<void(const bool)>(28, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Signal 'sleepLockChanged'
        QtMocHelpers::SignalData<void(const bool)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Signal 'powerSavingModeEnabledChanged'
        QtMocHelpers::SignalData<void(const bool)>(30, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Signal 'powerSavingModeBrightnessDataChanged'
        QtMocHelpers::SignalData<void(const QString &)>(31, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'cpuBoostChanged'
        QtMocHelpers::SignalData<void(const bool)>(32, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Slot 'reset'
        QtMocHelpers::SlotData<DExpected<void>()>(33, 2, QMC::AccessPublic, 0x80000000 | 34),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'cpuGovernor'
        QtMocHelpers::PropertyData<QString>(35, QMetaType::QString, QMC::DefaultPropertyFlags, 0),
        // property 'powerMode'
        QtMocHelpers::PropertyData<PowerMode>(36, 0x80000000 | 5, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 1),
        // property 'autoPowerSavingOnBattery'
        QtMocHelpers::PropertyData<bool>(37, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
        // property 'autoPowerSavingWhenBatteryLow'
        QtMocHelpers::PropertyData<bool>(38, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 3),
        // property 'powerSavingBrightnessDropPercent'
        QtMocHelpers::PropertyData<quint32>(39, QMetaType::UInt, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 4),
        // property 'batteryLidClosedAction'
        QtMocHelpers::PropertyData<LidClosedAction>(40, 0x80000000 | 12, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 5),
        // property 'batteryLockDelay'
        QtMocHelpers::PropertyData<qint32>(41, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 6),
        // property 'batteryPressPowerBtnAction'
        QtMocHelpers::PropertyData<PowerBtnAction>(42, 0x80000000 | 15, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 7),
        // property 'batteryScreenBlackDelay'
        QtMocHelpers::PropertyData<qint32>(43, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 8),
        // property 'batteryScreensaverDelay'
        QtMocHelpers::PropertyData<qint32>(44, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 9),
        // property 'batterySleepDelay'
        QtMocHelpers::PropertyData<qint32>(45, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 10),
        // property 'linePowerLidClosedAction'
        QtMocHelpers::PropertyData<LidClosedAction>(46, 0x80000000 | 12, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 11),
        // property 'linePowerLockDelay'
        QtMocHelpers::PropertyData<qint32>(47, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 12),
        // property 'linePowerPressPowerBtnAction'
        QtMocHelpers::PropertyData<PowerBtnAction>(48, 0x80000000 | 15, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 13),
        // property 'linePowerScreenBlackDelay'
        QtMocHelpers::PropertyData<qint32>(49, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 14),
        // property 'linePowerScreensaverDelay'
        QtMocHelpers::PropertyData<qint32>(50, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 15),
        // property 'linePowerSleepDelay'
        QtMocHelpers::PropertyData<qint32>(51, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 16),
        // property 'lowPowerAutoSleepThreshold'
        QtMocHelpers::PropertyData<qint32>(52, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 17),
        // property 'lowPowerNotifyEnable'
        QtMocHelpers::PropertyData<bool>(53, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 18),
        // property 'lowPowerNotifyThreshold'
        QtMocHelpers::PropertyData<qint32>(54, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 19),
        // property 'screenBlackLock'
        QtMocHelpers::PropertyData<bool>(55, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 20),
        // property 'sleepLock'
        QtMocHelpers::PropertyData<bool>(56, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 21),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DPowerSettings, qt_meta_tag_ZN3Dtk5Power14DPowerSettingsE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Dtk::Power::DPowerSettings::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3Dtk5Power14DPowerSettingsE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3Dtk5Power14DPowerSettingsE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3Dtk5Power14DPowerSettingsE_t>.metaTypes,
    nullptr
} };

void Dtk::Power::DPowerSettings::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DPowerSettings *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->cpuGovernorChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->powerModeChanged((*reinterpret_cast<std::add_pointer_t<PowerMode>>(_a[1]))); break;
        case 2: _t->autoPowerSavingOnBatteryChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->autoPowerSavingWhenBatteryLowChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 4: _t->powerSavingBrightnessDropPercentChanged((*reinterpret_cast<std::add_pointer_t<quint32>>(_a[1]))); break;
        case 5: _t->batteryLidClosedActionChanged((*reinterpret_cast<std::add_pointer_t<LidClosedAction>>(_a[1]))); break;
        case 6: _t->batteryLockDelayChanged((*reinterpret_cast<std::add_pointer_t<qint32>>(_a[1]))); break;
        case 7: _t->batteryPressPowerBtnActionChanged((*reinterpret_cast<std::add_pointer_t<PowerBtnAction>>(_a[1]))); break;
        case 8: _t->batteryScreenBlackDelayChanged((*reinterpret_cast<std::add_pointer_t<qint32>>(_a[1]))); break;
        case 9: _t->batteryScreensaverDelayChanged((*reinterpret_cast<std::add_pointer_t<qint32>>(_a[1]))); break;
        case 10: _t->batterySleepDelayChanged((*reinterpret_cast<std::add_pointer_t<qint32>>(_a[1]))); break;
        case 11: _t->linePowerLidClosedActionChanged((*reinterpret_cast<std::add_pointer_t<LidClosedAction>>(_a[1]))); break;
        case 12: _t->linePowerLockDelayChanged((*reinterpret_cast<std::add_pointer_t<qint32>>(_a[1]))); break;
        case 13: _t->linePowerPressPowerBtnActionChanged((*reinterpret_cast<std::add_pointer_t<PowerBtnAction>>(_a[1]))); break;
        case 14: _t->linePowerScreenBlackDelayChanged((*reinterpret_cast<std::add_pointer_t<qint32>>(_a[1]))); break;
        case 15: _t->linePowerScreensaverDelayChanged((*reinterpret_cast<std::add_pointer_t<qint32>>(_a[1]))); break;
        case 16: _t->linePowerSleepDelayChanged((*reinterpret_cast<std::add_pointer_t<qint32>>(_a[1]))); break;
        case 17: _t->lowPowerAutoSleepThresholdChanged((*reinterpret_cast<std::add_pointer_t<qint32>>(_a[1]))); break;
        case 18: _t->lowPowerNotifyEnableChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 19: _t->lowPowerNotifyThresholdChanged((*reinterpret_cast<std::add_pointer_t<qint32>>(_a[1]))); break;
        case 20: _t->screenBlackLockChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 21: _t->sleepLockChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 22: _t->powerSavingModeEnabledChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 23: _t->powerSavingModeBrightnessDataChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 24: _t->cpuBoostChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 25: { DExpected<void> _r = _t->reset();
            if (_a[0]) *reinterpret_cast<DExpected<void>*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const QString & )>(_a, &DPowerSettings::cpuGovernorChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const PowerMode & )>(_a, &DPowerSettings::powerModeChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const bool )>(_a, &DPowerSettings::autoPowerSavingOnBatteryChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const bool )>(_a, &DPowerSettings::autoPowerSavingWhenBatteryLowChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const quint32 )>(_a, &DPowerSettings::powerSavingBrightnessDropPercentChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const LidClosedAction & )>(_a, &DPowerSettings::batteryLidClosedActionChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const qint32 )>(_a, &DPowerSettings::batteryLockDelayChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const PowerBtnAction & )>(_a, &DPowerSettings::batteryPressPowerBtnActionChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const qint32 )>(_a, &DPowerSettings::batteryScreenBlackDelayChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const qint32 )>(_a, &DPowerSettings::batteryScreensaverDelayChanged, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const qint32 )>(_a, &DPowerSettings::batterySleepDelayChanged, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const LidClosedAction & )>(_a, &DPowerSettings::linePowerLidClosedActionChanged, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const qint32 )>(_a, &DPowerSettings::linePowerLockDelayChanged, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const PowerBtnAction & )>(_a, &DPowerSettings::linePowerPressPowerBtnActionChanged, 13))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const qint32 )>(_a, &DPowerSettings::linePowerScreenBlackDelayChanged, 14))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const qint32 )>(_a, &DPowerSettings::linePowerScreensaverDelayChanged, 15))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const qint32 )>(_a, &DPowerSettings::linePowerSleepDelayChanged, 16))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const qint32 )>(_a, &DPowerSettings::lowPowerAutoSleepThresholdChanged, 17))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const bool )>(_a, &DPowerSettings::lowPowerNotifyEnableChanged, 18))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const qint32 )>(_a, &DPowerSettings::lowPowerNotifyThresholdChanged, 19))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const bool )>(_a, &DPowerSettings::screenBlackLockChanged, 20))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const bool )>(_a, &DPowerSettings::sleepLockChanged, 21))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const bool )>(_a, &DPowerSettings::powerSavingModeEnabledChanged, 22))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const QString & )>(_a, &DPowerSettings::powerSavingModeBrightnessDataChanged, 23))
            return;
        if (QtMocHelpers::indexOfMethod<void (DPowerSettings::*)(const bool )>(_a, &DPowerSettings::cpuBoostChanged, 24))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->cpuGovernor(); break;
        case 1: *reinterpret_cast<PowerMode*>(_v) = _t->powerMode(); break;
        case 2: *reinterpret_cast<bool*>(_v) = _t->autoPowerSavingOnBattery(); break;
        case 3: *reinterpret_cast<bool*>(_v) = _t->autoPowerSavingWhenBatteryLow(); break;
        case 4: *reinterpret_cast<quint32*>(_v) = _t->powerSavingBrightnessDropPercent(); break;
        case 5: *reinterpret_cast<LidClosedAction*>(_v) = _t->batteryLidClosedAction(); break;
        case 6: *reinterpret_cast<qint32*>(_v) = _t->batteryLockDelay(); break;
        case 7: *reinterpret_cast<PowerBtnAction*>(_v) = _t->batteryPressPowerBtnAction(); break;
        case 8: *reinterpret_cast<qint32*>(_v) = _t->batteryScreenBlackDelay(); break;
        case 9: *reinterpret_cast<qint32*>(_v) = _t->batteryScreensaverDelay(); break;
        case 10: *reinterpret_cast<qint32*>(_v) = _t->batterySleepDelay(); break;
        case 11: *reinterpret_cast<LidClosedAction*>(_v) = _t->linePowerLidClosedAction(); break;
        case 12: *reinterpret_cast<qint32*>(_v) = _t->linePowerLockDelay(); break;
        case 13: *reinterpret_cast<PowerBtnAction*>(_v) = _t->linePowerPressPowerBtnAction(); break;
        case 14: *reinterpret_cast<qint32*>(_v) = _t->linePowerScreenBlackDelay(); break;
        case 15: *reinterpret_cast<qint32*>(_v) = _t->linePowerScreensaverDelay(); break;
        case 16: *reinterpret_cast<qint32*>(_v) = _t->linePowerSleepDelay(); break;
        case 17: *reinterpret_cast<qint32*>(_v) = _t->lowPowerAutoSleepThreshold(); break;
        case 18: *reinterpret_cast<bool*>(_v) = _t->lowPowerNotifyEnable(); break;
        case 19: *reinterpret_cast<qint32*>(_v) = _t->lowPowerNotifyThreshold(); break;
        case 20: *reinterpret_cast<bool*>(_v) = _t->screenBlackLock(); break;
        case 21: *reinterpret_cast<bool*>(_v) = _t->sleepLock(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setPowerMode(*reinterpret_cast<PowerMode*>(_v)); break;
        case 2: _t->setAutoPowerSavingOnBattery(*reinterpret_cast<bool*>(_v)); break;
        case 3: _t->setAutoPowerSavingWhenBatteryLow(*reinterpret_cast<bool*>(_v)); break;
        case 4: _t->setPowerSavingBrightnessDropPercent(*reinterpret_cast<quint32*>(_v)); break;
        case 5: _t->setBatteryLidClosedAction(*reinterpret_cast<LidClosedAction*>(_v)); break;
        case 6: _t->setBatteryLockDelay(*reinterpret_cast<qint32*>(_v)); break;
        case 7: _t->setBatteryPressPowerBtnAction(*reinterpret_cast<PowerBtnAction*>(_v)); break;
        case 8: _t->setBatteryScreenBlackDelay(*reinterpret_cast<qint32*>(_v)); break;
        case 9: _t->setBatteryScreensaverDelay(*reinterpret_cast<qint32*>(_v)); break;
        case 10: _t->setBatterySleepDelay(*reinterpret_cast<qint32*>(_v)); break;
        case 11: _t->setLinePowerLidClosedAction(*reinterpret_cast<LidClosedAction*>(_v)); break;
        case 12: _t->setLinePowerLockDelay(*reinterpret_cast<qint32*>(_v)); break;
        case 13: _t->setLinePowerPressPowerBtnAction(*reinterpret_cast<PowerBtnAction*>(_v)); break;
        case 14: _t->setLinePowerScreenBlackDelay(*reinterpret_cast<qint32*>(_v)); break;
        case 15: _t->setLinePowerScreensaverDelay(*reinterpret_cast<qint32*>(_v)); break;
        case 16: _t->setLinePowerSleepDelay(*reinterpret_cast<qint32*>(_v)); break;
        case 17: _t->setLowPowerAutoSleepThreshold(*reinterpret_cast<qint32*>(_v)); break;
        case 18: _t->setLowPowerNotifyEnable(*reinterpret_cast<bool*>(_v)); break;
        case 19: _t->setLowPowerNotifyThreshold(*reinterpret_cast<qint32*>(_v)); break;
        case 20: _t->setScreenBlackLock(*reinterpret_cast<bool*>(_v)); break;
        case 21: _t->setSleepLock(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

void *Dtk::Power::DPowerSettings::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3Dtk5Power14DPowerSettingsE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int Dtk::Power::DPowerSettings::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 < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 26)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 26;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    }
    return _id;
}

// SIGNAL 0
void Dtk::Power::DPowerSettings::cpuGovernorChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Dtk::Power::DPowerSettings::powerModeChanged(const PowerMode & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void Dtk::Power::DPowerSettings::autoPowerSavingOnBatteryChanged(const bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void Dtk::Power::DPowerSettings::autoPowerSavingWhenBatteryLowChanged(const bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void Dtk::Power::DPowerSettings::powerSavingBrightnessDropPercentChanged(const quint32 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void Dtk::Power::DPowerSettings::batteryLidClosedActionChanged(const LidClosedAction & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void Dtk::Power::DPowerSettings::batteryLockDelayChanged(const qint32 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void Dtk::Power::DPowerSettings::batteryPressPowerBtnActionChanged(const PowerBtnAction & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void Dtk::Power::DPowerSettings::batteryScreenBlackDelayChanged(const qint32 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void Dtk::Power::DPowerSettings::batteryScreensaverDelayChanged(const qint32 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void Dtk::Power::DPowerSettings::batterySleepDelayChanged(const qint32 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1);
}

// SIGNAL 11
void Dtk::Power::DPowerSettings::linePowerLidClosedActionChanged(const LidClosedAction & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1);
}

// SIGNAL 12
void Dtk::Power::DPowerSettings::linePowerLockDelayChanged(const qint32 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 12, nullptr, _t1);
}

// SIGNAL 13
void Dtk::Power::DPowerSettings::linePowerPressPowerBtnActionChanged(const PowerBtnAction & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 13, nullptr, _t1);
}

// SIGNAL 14
void Dtk::Power::DPowerSettings::linePowerScreenBlackDelayChanged(const qint32 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 14, nullptr, _t1);
}

// SIGNAL 15
void Dtk::Power::DPowerSettings::linePowerScreensaverDelayChanged(const qint32 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 15, nullptr, _t1);
}

// SIGNAL 16
void Dtk::Power::DPowerSettings::linePowerSleepDelayChanged(const qint32 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 16, nullptr, _t1);
}

// SIGNAL 17
void Dtk::Power::DPowerSettings::lowPowerAutoSleepThresholdChanged(const qint32 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 17, nullptr, _t1);
}

// SIGNAL 18
void Dtk::Power::DPowerSettings::lowPowerNotifyEnableChanged(const bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 18, nullptr, _t1);
}

// SIGNAL 19
void Dtk::Power::DPowerSettings::lowPowerNotifyThresholdChanged(const qint32 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 19, nullptr, _t1);
}

// SIGNAL 20
void Dtk::Power::DPowerSettings::screenBlackLockChanged(const bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 20, nullptr, _t1);
}

// SIGNAL 21
void Dtk::Power::DPowerSettings::sleepLockChanged(const bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 21, nullptr, _t1);
}

// SIGNAL 22
void Dtk::Power::DPowerSettings::powerSavingModeEnabledChanged(const bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 22, nullptr, _t1);
}

// SIGNAL 23
void Dtk::Power::DPowerSettings::powerSavingModeBrightnessDataChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 23, nullptr, _t1);
}

// SIGNAL 24
void Dtk::Power::DPowerSettings::cpuBoostChanged(const bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 24, nullptr, _t1);
}
QT_WARNING_POP
