/****************************************************************************
** Meta object code from reading C++ file 'dataengine.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-framework-5.43.0/src/plasma/dataengine.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dataengine.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_Plasma__DataEngine_t {
    QByteArrayData data[23];
    char stringdata0[380];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Plasma__DataEngine_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Plasma__DataEngine_t qt_meta_stringdata_Plasma__DataEngine = {
    {
QT_MOC_LITERAL(0, 0, 18), // "Plasma::DataEngine"
QT_MOC_LITERAL(1, 19, 11), // "sourceAdded"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 6), // "source"
QT_MOC_LITERAL(4, 39, 13), // "sourceRemoved"
QT_MOC_LITERAL(5, 53, 12), // "removeSource"
QT_MOC_LITERAL(6, 66, 16), // "updateAllSources"
QT_MOC_LITERAL(7, 83, 39), // "forceImmediateUpdateOfAllVisu..."
QT_MOC_LITERAL(8, 123, 20), // "internalUpdateSource"
QT_MOC_LITERAL(9, 144, 14), // "DataContainer*"
QT_MOC_LITERAL(10, 159, 15), // "sourceDestroyed"
QT_MOC_LITERAL(11, 175, 6), // "object"
QT_MOC_LITERAL(12, 182, 22), // "scheduleSourcesUpdated"
QT_MOC_LITERAL(13, 205, 16), // "serviceForSource"
QT_MOC_LITERAL(14, 222, 8), // "Service*"
QT_MOC_LITERAL(15, 231, 13), // "connectSource"
QT_MOC_LITERAL(16, 245, 13), // "visualization"
QT_MOC_LITERAL(17, 259, 15), // "pollingInterval"
QT_MOC_LITERAL(18, 275, 32), // "Plasma::Types::IntervalAlignment"
QT_MOC_LITERAL(19, 308, 17), // "intervalAlignment"
QT_MOC_LITERAL(20, 326, 17), // "connectAllSources"
QT_MOC_LITERAL(21, 344, 16), // "disconnectSource"
QT_MOC_LITERAL(22, 361, 18) // "containerForSource"

    },
    "Plasma::DataEngine\0sourceAdded\0\0source\0"
    "sourceRemoved\0removeSource\0updateAllSources\0"
    "forceImmediateUpdateOfAllVisualizations\0"
    "internalUpdateSource\0DataContainer*\0"
    "sourceDestroyed\0object\0scheduleSourcesUpdated\0"
    "serviceForSource\0Service*\0connectSource\0"
    "visualization\0pollingInterval\0"
    "Plasma::Types::IntervalAlignment\0"
    "intervalAlignment\0connectAllSources\0"
    "disconnectSource\0containerForSource"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Plasma__DataEngine[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   99,    2, 0x06 /* Public */,
       4,    1,  102,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    1,  105,    2, 0x09 /* Protected */,
       6,    0,  108,    2, 0x09 /* Protected */,
       7,    0,  109,    2, 0x09 /* Protected */,
       8,    1,  110,    2, 0x08 /* Private */,
      10,    1,  113,    2, 0x08 /* Private */,
      12,    0,  116,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      13,    1,  117,    2, 0x02 /* Public */,
      15,    4,  120,    2, 0x02 /* Public */,
      15,    3,  129,    2, 0x22 /* Public | MethodCloned */,
      15,    2,  136,    2, 0x22 /* Public | MethodCloned */,
      20,    3,  141,    2, 0x02 /* Public */,
      20,    2,  148,    2, 0x22 /* Public | MethodCloned */,
      20,    1,  153,    2, 0x22 /* Public | MethodCloned */,
      21,    2,  156,    2, 0x02 /* Public */,
      22,    1,  161,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 9,    3,
    QMetaType::Void, QMetaType::QObjectStar,   11,
    QMetaType::Void,

 // methods: parameters
    0x80000000 | 14, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString, QMetaType::QObjectStar, QMetaType::UInt, 0x80000000 | 18,    3,   16,   17,   19,
    QMetaType::Void, QMetaType::QString, QMetaType::QObjectStar, QMetaType::UInt,    3,   16,   17,
    QMetaType::Void, QMetaType::QString, QMetaType::QObjectStar,    3,   16,
    QMetaType::Void, QMetaType::QObjectStar, QMetaType::UInt, 0x80000000 | 18,   16,   17,   19,
    QMetaType::Void, QMetaType::QObjectStar, QMetaType::UInt,   16,   17,
    QMetaType::Void, QMetaType::QObjectStar,   16,
    QMetaType::Void, QMetaType::QString, QMetaType::QObjectStar,    3,   16,
    0x80000000 | 9, QMetaType::QString,    3,

       0        // eod
};

void Plasma::DataEngine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DataEngine *_t = static_cast<DataEngine *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sourceAdded((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->sourceRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->removeSource((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->updateAllSources(); break;
        case 4: _t->forceImmediateUpdateOfAllVisualizations(); break;
        case 5: _t->d->internalUpdateSource((*reinterpret_cast< DataContainer*(*)>(_a[1]))); break;
        case 6: _t->d->sourceDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 7: _t->d->scheduleSourcesUpdated(); break;
        case 8: { Service* _r = _t->serviceForSource((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< Service**>(_a[0]) = std::move(_r); }  break;
        case 9: _t->connectSource((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QObject*(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3])),(*reinterpret_cast< Plasma::Types::IntervalAlignment(*)>(_a[4]))); break;
        case 10: _t->connectSource((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QObject*(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
        case 11: _t->connectSource((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QObject*(*)>(_a[2]))); break;
        case 12: _t->connectAllSources((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< Plasma::Types::IntervalAlignment(*)>(_a[3]))); break;
        case 13: _t->connectAllSources((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
        case 14: _t->connectAllSources((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 15: _t->disconnectSource((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QObject*(*)>(_a[2]))); break;
        case 16: { DataContainer* _r = _t->containerForSource((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< DataContainer**>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (DataEngine::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DataEngine::sourceAdded)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (DataEngine::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DataEngine::sourceRemoved)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject Plasma::DataEngine::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Plasma__DataEngine.data,
      qt_meta_data_Plasma__DataEngine,  qt_static_metacall, nullptr, nullptr}
};


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

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

int Plasma::DataEngine::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 < 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;
}

// SIGNAL 0
void Plasma::DataEngine::sourceAdded(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Plasma::DataEngine::sourceRemoved(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
