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

#include "../../../../../src/solid/devices/backends/win/winbattery.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'winbattery.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.1. 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_Solid__Backends__Win__WinBattery_t {
    QByteArrayData data[27];
    char stringdata0[403];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Solid__Backends__Win__WinBattery_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Solid__Backends__Win__WinBattery_t qt_meta_stringdata_Solid__Backends__Win__WinBattery = {
    {
QT_MOC_LITERAL(0, 0, 32), // "Solid::Backends::Win::WinBattery"
QT_MOC_LITERAL(1, 33, 20), // "chargePercentChanged"
QT_MOC_LITERAL(2, 54, 0), // ""
QT_MOC_LITERAL(3, 55, 5), // "value"
QT_MOC_LITERAL(4, 61, 3), // "udi"
QT_MOC_LITERAL(5, 65, 15), // "capacityChanged"
QT_MOC_LITERAL(6, 81, 18), // "chargeStateChanged"
QT_MOC_LITERAL(7, 100, 8), // "newState"
QT_MOC_LITERAL(8, 109, 23), // "powerSupplyStateChanged"
QT_MOC_LITERAL(9, 133, 13), // "energyChanged"
QT_MOC_LITERAL(10, 147, 6), // "energy"
QT_MOC_LITERAL(11, 154, 17), // "energyFullChanged"
QT_MOC_LITERAL(12, 172, 10), // "energyFull"
QT_MOC_LITERAL(13, 183, 23), // "energyFullDesignChanged"
QT_MOC_LITERAL(14, 207, 16), // "energyFullDesign"
QT_MOC_LITERAL(15, 224, 17), // "energyRateChanged"
QT_MOC_LITERAL(16, 242, 10), // "energyRate"
QT_MOC_LITERAL(17, 253, 18), // "timeToEmptyChanged"
QT_MOC_LITERAL(18, 272, 4), // "time"
QT_MOC_LITERAL(19, 277, 18), // "temperatureChanged"
QT_MOC_LITERAL(20, 296, 11), // "temperature"
QT_MOC_LITERAL(21, 308, 14), // "voltageChanged"
QT_MOC_LITERAL(22, 323, 7), // "voltage"
QT_MOC_LITERAL(23, 331, 19), // "presentStateChanged"
QT_MOC_LITERAL(24, 351, 17), // "timeToFullChanged"
QT_MOC_LITERAL(25, 369, 20), // "remainingTimeChanged"
QT_MOC_LITERAL(26, 390, 12) // "powerChanged"

    },
    "Solid::Backends::Win::WinBattery\0"
    "chargePercentChanged\0\0value\0udi\0"
    "capacityChanged\0chargeStateChanged\0"
    "newState\0powerSupplyStateChanged\0"
    "energyChanged\0energy\0energyFullChanged\0"
    "energyFull\0energyFullDesignChanged\0"
    "energyFullDesign\0energyRateChanged\0"
    "energyRate\0timeToEmptyChanged\0time\0"
    "temperatureChanged\0temperature\0"
    "voltageChanged\0voltage\0presentStateChanged\0"
    "timeToFullChanged\0remainingTimeChanged\0"
    "powerChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Solid__Backends__Win__WinBattery[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   89,    2, 0x06 /* Public */,
       5,    2,   94,    2, 0x06 /* Public */,
       6,    2,   99,    2, 0x06 /* Public */,
       8,    2,  104,    2, 0x06 /* Public */,
       9,    2,  109,    2, 0x06 /* Public */,
      11,    2,  114,    2, 0x06 /* Public */,
      13,    2,  119,    2, 0x06 /* Public */,
      15,    2,  124,    2, 0x06 /* Public */,
      17,    2,  129,    2, 0x06 /* Public */,
      19,    2,  134,    2, 0x06 /* Public */,
      21,    2,  139,    2, 0x06 /* Public */,
      23,    2,  144,    2, 0x06 /* Public */,
      24,    2,  149,    2, 0x06 /* Public */,
      25,    2,  154,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      26,    0,  159,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::QString,    3,    4,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,    3,    4,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,    7,    4,
    QMetaType::Void, QMetaType::Bool, QMetaType::QString,    7,    4,
    QMetaType::Void, QMetaType::Double, QMetaType::QString,   10,    4,
    QMetaType::Void, QMetaType::Double, QMetaType::QString,   12,    4,
    QMetaType::Void, QMetaType::Double, QMetaType::QString,   14,    4,
    QMetaType::Void, QMetaType::Double, QMetaType::QString,   16,    4,
    QMetaType::Void, QMetaType::LongLong, QMetaType::QString,   18,    4,
    QMetaType::Void, QMetaType::Double, QMetaType::QString,   20,    4,
    QMetaType::Void, QMetaType::Double, QMetaType::QString,   22,    4,
    QMetaType::Void, QMetaType::Bool, QMetaType::QString,    7,    4,
    QMetaType::Void, QMetaType::LongLong, QMetaType::QString,   18,    4,
    QMetaType::Void, QMetaType::LongLong, QMetaType::QString,   18,    4,

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

void Solid::Backends::Win::WinBattery::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        WinBattery *_t = static_cast<WinBattery *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->chargePercentChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->capacityChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 2: _t->chargeStateChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 3: _t->powerSupplyStateChanged((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 4: _t->energyChanged((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 5: _t->energyFullChanged((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 6: _t->energyFullDesignChanged((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 7: _t->energyRateChanged((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 8: _t->timeToEmptyChanged((*reinterpret_cast< qlonglong(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 9: _t->temperatureChanged((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 10: _t->voltageChanged((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 11: _t->presentStateChanged((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 12: _t->timeToFullChanged((*reinterpret_cast< qlonglong(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 13: _t->remainingTimeChanged((*reinterpret_cast< qlonglong(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 14: _t->powerChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (WinBattery::*_t)(int , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WinBattery::chargePercentChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (WinBattery::*_t)(int , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WinBattery::capacityChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (WinBattery::*_t)(int , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WinBattery::chargeStateChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (WinBattery::*_t)(bool , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WinBattery::powerSupplyStateChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (WinBattery::*_t)(double , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WinBattery::energyChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (WinBattery::*_t)(double , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WinBattery::energyFullChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (WinBattery::*_t)(double , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WinBattery::energyFullDesignChanged)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (WinBattery::*_t)(double , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WinBattery::energyRateChanged)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (WinBattery::*_t)(qlonglong , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WinBattery::timeToEmptyChanged)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (WinBattery::*_t)(double , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WinBattery::temperatureChanged)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (WinBattery::*_t)(double , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WinBattery::voltageChanged)) {
                *result = 10;
                return;
            }
        }
        {
            typedef void (WinBattery::*_t)(bool , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WinBattery::presentStateChanged)) {
                *result = 11;
                return;
            }
        }
        {
            typedef void (WinBattery::*_t)(qlonglong , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WinBattery::timeToFullChanged)) {
                *result = 12;
                return;
            }
        }
        {
            typedef void (WinBattery::*_t)(qlonglong , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WinBattery::remainingTimeChanged)) {
                *result = 13;
                return;
            }
        }
    }
}

const QMetaObject Solid::Backends::Win::WinBattery::staticMetaObject = {
    { &WinInterface::staticMetaObject, qt_meta_stringdata_Solid__Backends__Win__WinBattery.data,
      qt_meta_data_Solid__Backends__Win__WinBattery,  qt_static_metacall, nullptr, nullptr}
};


const QMetaObject *Solid::Backends::Win::WinBattery::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *Solid::Backends::Win::WinBattery::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Solid__Backends__Win__WinBattery.stringdata0))
        return static_cast<void*>(const_cast< WinBattery*>(this));
    if (!strcmp(_clname, "Solid::Ifaces::Battery"))
        return static_cast< Solid::Ifaces::Battery*>(const_cast< WinBattery*>(this));
    if (!strcmp(_clname, "org.kde.Solid.Ifaces.Battery/0.3"))
        return static_cast< Solid::Ifaces::Battery*>(const_cast< WinBattery*>(this));
    return WinInterface::qt_metacast(_clname);
}

int Solid::Backends::Win::WinBattery::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = WinInterface::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 15;
    }
    return _id;
}

// SIGNAL 0
void Solid::Backends::Win::WinBattery::chargePercentChanged(int _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Solid::Backends::Win::WinBattery::capacityChanged(int _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Solid::Backends::Win::WinBattery::chargeStateChanged(int _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Solid::Backends::Win::WinBattery::powerSupplyStateChanged(bool _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Solid::Backends::Win::WinBattery::energyChanged(double _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Solid::Backends::Win::WinBattery::energyFullChanged(double _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void Solid::Backends::Win::WinBattery::energyFullDesignChanged(double _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void Solid::Backends::Win::WinBattery::energyRateChanged(double _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void Solid::Backends::Win::WinBattery::timeToEmptyChanged(qlonglong _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void Solid::Backends::Win::WinBattery::temperatureChanged(double _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}

// SIGNAL 10
void Solid::Backends::Win::WinBattery::voltageChanged(double _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 10, _a);
}

// SIGNAL 11
void Solid::Backends::Win::WinBattery::presentStateChanged(bool _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 11, _a);
}

// SIGNAL 12
void Solid::Backends::Win::WinBattery::timeToFullChanged(qlonglong _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 12, _a);
}

// SIGNAL 13
void Solid::Backends::Win::WinBattery::remainingTimeChanged(qlonglong _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 13, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
