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

#include "../../../src/plasma-workspace-5.8.8/dataengines/soliddevice/devicesignalmapper.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'devicesignalmapper.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.2. 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_DeviceSignalMapper_t {
    QByteArrayData data[6];
    char stringdata0[53];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DeviceSignalMapper_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DeviceSignalMapper_t qt_meta_stringdata_DeviceSignalMapper = {
    {
QT_MOC_LITERAL(0, 0, 18), // "DeviceSignalMapper"
QT_MOC_LITERAL(1, 19, 13), // "deviceChanged"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 3), // "udi"
QT_MOC_LITERAL(4, 38, 8), // "property"
QT_MOC_LITERAL(5, 47, 5) // "value"

    },
    "DeviceSignalMapper\0deviceChanged\0\0udi\0"
    "property\0value"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DeviceSignalMapper[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    3,   19,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QVariant,    3,    4,    5,

       0        // eod
};

void DeviceSignalMapper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DeviceSignalMapper *_t = static_cast<DeviceSignalMapper *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->deviceChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< QVariant(*)>(_a[3]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (DeviceSignalMapper::*_t)(const QString & , const QString & , QVariant );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DeviceSignalMapper::deviceChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject DeviceSignalMapper::staticMetaObject = {
    { &QSignalMapper::staticMetaObject, qt_meta_stringdata_DeviceSignalMapper.data,
      qt_meta_data_DeviceSignalMapper,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void DeviceSignalMapper::deviceChanged(const QString & _t1, const QString & _t2, QVariant _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_BatterySignalMapper_t {
    QByteArrayData data[7];
    char stringdata0[96];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_BatterySignalMapper_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_BatterySignalMapper_t qt_meta_stringdata_BatterySignalMapper = {
    {
QT_MOC_LITERAL(0, 0, 19), // "BatterySignalMapper"
QT_MOC_LITERAL(1, 20, 20), // "chargePercentChanged"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 5), // "value"
QT_MOC_LITERAL(4, 48, 18), // "chargeStateChanged"
QT_MOC_LITERAL(5, 67, 8), // "newState"
QT_MOC_LITERAL(6, 76, 19) // "presentStateChanged"

    },
    "BatterySignalMapper\0chargePercentChanged\0"
    "\0value\0chargeStateChanged\0newState\0"
    "presentStateChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_BatterySignalMapper[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   29,    2, 0x0a /* Public */,
       4,    1,   32,    2, 0x0a /* Public */,
       6,    1,   35,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void, QMetaType::Bool,    5,

       0        // eod
};

void BatterySignalMapper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        BatterySignalMapper *_t = static_cast<BatterySignalMapper *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->chargePercentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->chargeStateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->presentStateChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject BatterySignalMapper::staticMetaObject = {
    { &DeviceSignalMapper::staticMetaObject, qt_meta_stringdata_BatterySignalMapper.data,
      qt_meta_data_BatterySignalMapper,  qt_static_metacall, nullptr, nullptr}
};


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

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

int BatterySignalMapper::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DeviceSignalMapper::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 3;
    }
    return _id;
}
struct qt_meta_stringdata_StorageAccessSignalMapper_t {
    QByteArrayData data[4];
    char stringdata0[59];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_StorageAccessSignalMapper_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_StorageAccessSignalMapper_t qt_meta_stringdata_StorageAccessSignalMapper = {
    {
QT_MOC_LITERAL(0, 0, 25), // "StorageAccessSignalMapper"
QT_MOC_LITERAL(1, 26, 20), // "accessibilityChanged"
QT_MOC_LITERAL(2, 47, 0), // ""
QT_MOC_LITERAL(3, 48, 10) // "accessible"

    },
    "StorageAccessSignalMapper\0"
    "accessibilityChanged\0\0accessible"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_StorageAccessSignalMapper[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   19,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    3,

       0        // eod
};

void StorageAccessSignalMapper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        StorageAccessSignalMapper *_t = static_cast<StorageAccessSignalMapper *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->accessibilityChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject StorageAccessSignalMapper::staticMetaObject = {
    { &DeviceSignalMapper::staticMetaObject, qt_meta_stringdata_StorageAccessSignalMapper.data,
      qt_meta_data_StorageAccessSignalMapper,  qt_static_metacall, nullptr, nullptr}
};


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

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

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