/****************************************************************************
** Meta object code from reading C++ file 'soliddeviceengine.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/soliddeviceengine.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'soliddeviceengine.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_SolidDeviceEngine_t {
    QByteArrayData data[18];
    char stringdata0[208];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SolidDeviceEngine_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SolidDeviceEngine_t qt_meta_stringdata_SolidDeviceEngine = {
    {
QT_MOC_LITERAL(0, 0, 17), // "SolidDeviceEngine"
QT_MOC_LITERAL(1, 18, 11), // "deviceAdded"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 3), // "udi"
QT_MOC_LITERAL(4, 35, 13), // "deviceRemoved"
QT_MOC_LITERAL(5, 49, 13), // "deviceChanged"
QT_MOC_LITERAL(6, 63, 8), // "property"
QT_MOC_LITERAL(7, 72, 5), // "value"
QT_MOC_LITERAL(8, 78, 16), // "sourceWasRemoved"
QT_MOC_LITERAL(9, 95, 6), // "source"
QT_MOC_LITERAL(10, 102, 16), // "setMountingState"
QT_MOC_LITERAL(11, 119, 18), // "setUnmountingState"
QT_MOC_LITERAL(12, 138, 12), // "setIdleState"
QT_MOC_LITERAL(13, 151, 16), // "Solid::ErrorType"
QT_MOC_LITERAL(14, 168, 5), // "error"
QT_MOC_LITERAL(15, 174, 9), // "errorData"
QT_MOC_LITERAL(16, 184, 17), // "QMap<QString,int>"
QT_MOC_LITERAL(17, 202, 5) // "props"

    },
    "SolidDeviceEngine\0deviceAdded\0\0udi\0"
    "deviceRemoved\0deviceChanged\0property\0"
    "value\0sourceWasRemoved\0source\0"
    "setMountingState\0setUnmountingState\0"
    "setIdleState\0Solid::ErrorType\0error\0"
    "errorData\0QMap<QString,int>\0props"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SolidDeviceEngine[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   54,    2, 0x08 /* Private */,
       4,    1,   57,    2, 0x08 /* Private */,
       5,    3,   60,    2, 0x08 /* Private */,
       8,    1,   67,    2, 0x08 /* Private */,
      10,    1,   70,    2, 0x08 /* Private */,
      11,    1,   73,    2, 0x08 /* Private */,
      12,    3,   76,    2, 0x08 /* Private */,
       5,    1,   83,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QVariant,    3,    6,    7,
    QMetaType::Void, QMetaType::QString,    9,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, 0x80000000 | 13, QMetaType::QVariant, QMetaType::QString,   14,   15,    3,
    QMetaType::Void, 0x80000000 | 16,   17,

       0        // eod
};

void SolidDeviceEngine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SolidDeviceEngine *_t = static_cast<SolidDeviceEngine *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->deviceAdded((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->deviceRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->deviceChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QVariant(*)>(_a[3]))); break;
        case 3: _t->sourceWasRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->setMountingState((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->setUnmountingState((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->setIdleState((*reinterpret_cast< Solid::ErrorType(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 7: _t->deviceChanged((*reinterpret_cast< const QMap<QString,int>(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Solid::ErrorType >(); break;
            }
            break;
        }
    }
}

const QMetaObject SolidDeviceEngine::staticMetaObject = {
    { &Plasma::DataEngine::staticMetaObject, qt_meta_stringdata_SolidDeviceEngine.data,
      qt_meta_data_SolidDeviceEngine,  qt_static_metacall, nullptr, nullptr}
};


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

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

int SolidDeviceEngine::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 < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
