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

#include <memory>
#include "../../../../../plasma-framework-5.116.0/src/plasma/datacontainer.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'datacontainer.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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__DataContainer_t {
    QByteArrayData data[23];
    char stringdata0[303];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Plasma__DataContainer_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Plasma__DataContainer_t qt_meta_stringdata_Plasma__DataContainer = {
    {
QT_MOC_LITERAL(0, 0, 21), // "Plasma::DataContainer"
QT_MOC_LITERAL(1, 22, 11), // "dataUpdated"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 6), // "source"
QT_MOC_LITERAL(4, 42, 24), // "Plasma::DataEngine::Data"
QT_MOC_LITERAL(5, 67, 4), // "data"
QT_MOC_LITERAL(6, 72, 12), // "modelChanged"
QT_MOC_LITERAL(7, 85, 19), // "QAbstractItemModel*"
QT_MOC_LITERAL(8, 105, 5), // "model"
QT_MOC_LITERAL(9, 111, 12), // "becameUnused"
QT_MOC_LITERAL(10, 124, 15), // "updateRequested"
QT_MOC_LITERAL(11, 140, 14), // "DataContainer*"
QT_MOC_LITERAL(12, 155, 23), // "disconnectVisualization"
QT_MOC_LITERAL(13, 179, 13), // "visualization"
QT_MOC_LITERAL(14, 193, 20), // "forceImmediateUpdate"
QT_MOC_LITERAL(15, 214, 10), // "timerEvent"
QT_MOC_LITERAL(16, 225, 12), // "QTimerEvent*"
QT_MOC_LITERAL(17, 238, 5), // "event"
QT_MOC_LITERAL(18, 244, 16), // "storeJobFinished"
QT_MOC_LITERAL(19, 261, 5), // "KJob*"
QT_MOC_LITERAL(20, 267, 3), // "job"
QT_MOC_LITERAL(21, 271, 22), // "populateFromStoredData"
QT_MOC_LITERAL(22, 294, 8) // "retrieve"

    },
    "Plasma::DataContainer\0dataUpdated\0\0"
    "source\0Plasma::DataEngine::Data\0data\0"
    "modelChanged\0QAbstractItemModel*\0model\0"
    "becameUnused\0updateRequested\0"
    "DataContainer*\0disconnectVisualization\0"
    "visualization\0forceImmediateUpdate\0"
    "timerEvent\0QTimerEvent*\0event\0"
    "storeJobFinished\0KJob*\0job\0"
    "populateFromStoredData\0retrieve"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Plasma__DataContainer[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   64,    2, 0x06 /* Public */,
       6,    2,   69,    2, 0x06 /* Public */,
       9,    1,   74,    2, 0x06 /* Public */,
      10,    1,   77,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    1,   80,    2, 0x0a /* Public */,
      14,    0,   83,    2, 0x0a /* Public */,
      15,    1,   84,    2, 0x09 /* Protected */,
      18,    1,   87,    2, 0x08 /* Private */,
      21,    1,   90,    2, 0x08 /* Private */,
      22,    0,   93,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, 0x80000000 | 4,    3,    5,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 7,    3,    8,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, 0x80000000 | 11,    3,

 // slots: parameters
    QMetaType::Void, QMetaType::QObjectStar,   13,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void, 0x80000000 | 19,   20,
    QMetaType::Void, 0x80000000 | 19,   20,
    QMetaType::Void,

       0        // eod
};

void Plasma::DataContainer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<DataContainer *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->dataUpdated((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const Plasma::DataEngine::Data(*)>(_a[2]))); break;
        case 1: _t->modelChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QAbstractItemModel*(*)>(_a[2]))); break;
        case 2: _t->becameUnused((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->updateRequested((*reinterpret_cast< DataContainer*(*)>(_a[1]))); break;
        case 4: _t->disconnectVisualization((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 5: _t->forceImmediateUpdate(); break;
        case 6: _t->timerEvent((*reinterpret_cast< QTimerEvent*(*)>(_a[1]))); break;
        case 7: _t->d->storeJobFinished((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 8: _t->d->populateFromStoredData((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 9: _t->d->retrieve(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< DataContainer* >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KJob* >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KJob* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (DataContainer::*)(const QString & , const Plasma::DataEngine::Data & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DataContainer::dataUpdated)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (DataContainer::*)(const QString & , QAbstractItemModel * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DataContainer::modelChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (DataContainer::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DataContainer::becameUnused)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (DataContainer::*)(DataContainer * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&DataContainer::updateRequested)) {
                *result = 3;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Plasma::DataContainer::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_Plasma__DataContainer.data,
    qt_meta_data_Plasma__DataContainer,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int Plasma::DataContainer::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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    return _id;
}

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

// SIGNAL 1
void Plasma::DataContainer::modelChanged(const QString & _t1, QAbstractItemModel * _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Plasma::DataContainer::becameUnused(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Plasma::DataContainer::updateRequested(DataContainer * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
