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

#include "../../../src/plasma-workspace-5.8.9/dataengines/powermanagement/powermanagementengine.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'powermanagementengine.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_PowermanagementEngine_t {
    QByteArrayData data[30];
    char stringdata0[532];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PowermanagementEngine_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PowermanagementEngine_t qt_meta_stringdata_PowermanagementEngine = {
    {
QT_MOC_LITERAL(0, 0, 21), // "PowermanagementEngine"
QT_MOC_LITERAL(1, 22, 24), // "updateBatteryChargeState"
QT_MOC_LITERAL(2, 47, 0), // ""
QT_MOC_LITERAL(3, 48, 8), // "newState"
QT_MOC_LITERAL(4, 57, 3), // "udi"
QT_MOC_LITERAL(5, 61, 25), // "updateBatteryPresentState"
QT_MOC_LITERAL(6, 87, 26), // "updateBatteryChargePercent"
QT_MOC_LITERAL(7, 114, 8), // "newValue"
QT_MOC_LITERAL(8, 123, 19), // "updateBatteryEnergy"
QT_MOC_LITERAL(9, 143, 29), // "updateBatteryPowerSupplyState"
QT_MOC_LITERAL(10, 173, 17), // "updateAcPlugState"
QT_MOC_LITERAL(11, 191, 9), // "onBattery"
QT_MOC_LITERAL(12, 201, 18), // "updateBatteryNames"
QT_MOC_LITERAL(13, 220, 20), // "updateOverallBattery"
QT_MOC_LITERAL(14, 241, 13), // "deviceRemoved"
QT_MOC_LITERAL(15, 255, 11), // "deviceAdded"
QT_MOC_LITERAL(16, 267, 27), // "batteryRemainingTimeChanged"
QT_MOC_LITERAL(17, 295, 4), // "time"
QT_MOC_LITERAL(18, 300, 23), // "screenBrightnessChanged"
QT_MOC_LITERAL(19, 324, 10), // "brightness"
QT_MOC_LITERAL(20, 335, 30), // "maximumScreenBrightnessChanged"
QT_MOC_LITERAL(21, 366, 17), // "maximumBrightness"
QT_MOC_LITERAL(22, 384, 25), // "keyboardBrightnessChanged"
QT_MOC_LITERAL(23, 410, 32), // "maximumKeyboardBrightnessChanged"
QT_MOC_LITERAL(24, 443, 24), // "triggersLidActionChanged"
QT_MOC_LITERAL(25, 468, 8), // "triggers"
QT_MOC_LITERAL(26, 477, 18), // "inhibitionsChanged"
QT_MOC_LITERAL(27, 496, 21), // "QList<InhibitionInfo>"
QT_MOC_LITERAL(28, 518, 5), // "added"
QT_MOC_LITERAL(29, 524, 7) // "removed"

    },
    "PowermanagementEngine\0updateBatteryChargeState\0"
    "\0newState\0udi\0updateBatteryPresentState\0"
    "updateBatteryChargePercent\0newValue\0"
    "updateBatteryEnergy\0updateBatteryPowerSupplyState\0"
    "updateAcPlugState\0onBattery\0"
    "updateBatteryNames\0updateOverallBattery\0"
    "deviceRemoved\0deviceAdded\0"
    "batteryRemainingTimeChanged\0time\0"
    "screenBrightnessChanged\0brightness\0"
    "maximumScreenBrightnessChanged\0"
    "maximumBrightness\0keyboardBrightnessChanged\0"
    "maximumKeyboardBrightnessChanged\0"
    "triggersLidActionChanged\0triggers\0"
    "inhibitionsChanged\0QList<InhibitionInfo>\0"
    "added\0removed"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PowermanagementEngine[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    2,   99,    2, 0x08 /* Private */,
       5,    2,  104,    2, 0x08 /* Private */,
       6,    2,  109,    2, 0x08 /* Private */,
       8,    2,  114,    2, 0x08 /* Private */,
       9,    2,  119,    2, 0x08 /* Private */,
      10,    1,  124,    2, 0x08 /* Private */,
      12,    0,  127,    2, 0x08 /* Private */,
      13,    0,  128,    2, 0x08 /* Private */,
      14,    1,  129,    2, 0x08 /* Private */,
      15,    1,  132,    2, 0x08 /* Private */,
      16,    1,  135,    2, 0x08 /* Private */,
      18,    1,  138,    2, 0x08 /* Private */,
      20,    1,  141,    2, 0x08 /* Private */,
      22,    1,  144,    2, 0x08 /* Private */,
      23,    1,  147,    2, 0x08 /* Private */,
      24,    1,  150,    2, 0x08 /* Private */,
      26,    2,  153,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::QString,    3,    4,
    QMetaType::Void, QMetaType::Bool, QMetaType::QString,    3,    4,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,    7,    4,
    QMetaType::Void, QMetaType::Double, QMetaType::QString,    7,    4,
    QMetaType::Void, QMetaType::Bool, QMetaType::QString,    3,    4,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    4,
    QMetaType::Void, QMetaType::QString,    4,
    QMetaType::Void, QMetaType::ULongLong,   17,
    QMetaType::Void, QMetaType::Int,   19,
    QMetaType::Void, QMetaType::Int,   21,
    QMetaType::Void, QMetaType::Int,   19,
    QMetaType::Void, QMetaType::Int,   21,
    QMetaType::Void, QMetaType::Bool,   25,
    QMetaType::Void, 0x80000000 | 27, QMetaType::QStringList,   28,   29,

       0        // eod
};

void PowermanagementEngine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PowermanagementEngine *_t = static_cast<PowermanagementEngine *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->updateBatteryChargeState((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->updateBatteryPresentState((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 2: _t->updateBatteryChargePercent((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 3: _t->updateBatteryEnergy((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 4: _t->updateBatteryPowerSupplyState((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 5: _t->updateAcPlugState((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->updateBatteryNames(); break;
        case 7: _t->updateOverallBattery(); break;
        case 8: _t->deviceRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->deviceAdded((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->batteryRemainingTimeChanged((*reinterpret_cast< qulonglong(*)>(_a[1]))); break;
        case 11: _t->screenBrightnessChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->maximumScreenBrightnessChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->keyboardBrightnessChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->maximumKeyboardBrightnessChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->triggersLidActionChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 16: _t->inhibitionsChanged((*reinterpret_cast< const QList<InhibitionInfo>(*)>(_a[1])),(*reinterpret_cast< const QStringList(*)>(_a[2]))); break;
        default: ;
        }
    }
}

const QMetaObject PowermanagementEngine::staticMetaObject = {
    { &Plasma::DataEngine::staticMetaObject, qt_meta_stringdata_PowermanagementEngine.data,
      qt_meta_data_PowermanagementEngine,  qt_static_metacall, nullptr, nullptr}
};


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

void *PowermanagementEngine::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_PowermanagementEngine.stringdata0))
        return static_cast<void*>(this);
    return Plasma::DataEngine::qt_metacast(_clname);
}

int PowermanagementEngine::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Plasma::DataEngine::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 17;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
