/****************************************************************************
** Meta object code from reading C++ file 'systemtray.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/applets/systemtray/systemtray.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'systemtray.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_SystemTray_t {
    QByteArrayData data[32];
    char stringdata0[444];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SystemTray_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SystemTray_t qt_meta_stringdata_SystemTray = {
    {
QT_MOC_LITERAL(0, 0, 10), // "SystemTray"
QT_MOC_LITERAL(1, 11, 23), // "allowedPlasmoidsChanged"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 24), // "serviceNameFetchFinished"
QT_MOC_LITERAL(4, 61, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(5, 86, 7), // "watcher"
QT_MOC_LITERAL(6, 94, 15), // "QDBusConnection"
QT_MOC_LITERAL(7, 110, 10), // "connection"
QT_MOC_LITERAL(8, 121, 19), // "serviceOwnerChanged"
QT_MOC_LITERAL(9, 141, 11), // "serviceName"
QT_MOC_LITERAL(10, 153, 8), // "oldOwner"
QT_MOC_LITERAL(11, 162, 8), // "newOwner"
QT_MOC_LITERAL(12, 171, 16), // "showPlasmoidMenu"
QT_MOC_LITERAL(13, 188, 11), // "QQuickItem*"
QT_MOC_LITERAL(14, 200, 15), // "appletInterface"
QT_MOC_LITERAL(15, 216, 1), // "x"
QT_MOC_LITERAL(16, 218, 1), // "y"
QT_MOC_LITERAL(17, 220, 16), // "plasmoidCategory"
QT_MOC_LITERAL(18, 237, 29), // "showStatusNotifierContextMenu"
QT_MOC_LITERAL(19, 267, 5), // "KJob*"
QT_MOC_LITERAL(20, 273, 3), // "job"
QT_MOC_LITERAL(21, 277, 18), // "statusNotifierIcon"
QT_MOC_LITERAL(22, 296, 13), // "popupPosition"
QT_MOC_LITERAL(23, 310, 12), // "visualParent"
QT_MOC_LITERAL(24, 323, 17), // "reorderItemBefore"
QT_MOC_LITERAL(25, 341, 6), // "before"
QT_MOC_LITERAL(26, 348, 5), // "after"
QT_MOC_LITERAL(27, 354, 16), // "reorderItemAfter"
QT_MOC_LITERAL(28, 371, 18), // "availablePlasmoids"
QT_MOC_LITERAL(29, 390, 19), // "QAbstractItemModel*"
QT_MOC_LITERAL(30, 410, 16), // "allowedPlasmoids"
QT_MOC_LITERAL(31, 427, 16) // "defaultPlasmoids"

    },
    "SystemTray\0allowedPlasmoidsChanged\0\0"
    "serviceNameFetchFinished\0"
    "QDBusPendingCallWatcher*\0watcher\0"
    "QDBusConnection\0connection\0"
    "serviceOwnerChanged\0serviceName\0"
    "oldOwner\0newOwner\0showPlasmoidMenu\0"
    "QQuickItem*\0appletInterface\0x\0y\0"
    "plasmoidCategory\0showStatusNotifierContextMenu\0"
    "KJob*\0job\0statusNotifierIcon\0popupPosition\0"
    "visualParent\0reorderItemBefore\0before\0"
    "after\0reorderItemAfter\0availablePlasmoids\0"
    "QAbstractItemModel*\0allowedPlasmoids\0"
    "defaultPlasmoids"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SystemTray[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    2,   60,    2, 0x08 /* Private */,
       8,    3,   65,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      12,    3,   72,    2, 0x02 /* Public */,
      17,    1,   79,    2, 0x02 /* Public */,
      18,    2,   82,    2, 0x02 /* Public */,
      22,    3,   87,    2, 0x02 /* Public */,
      24,    2,   94,    2, 0x02 /* Public */,
      27,    2,   99,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 6,    5,    7,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,    9,   10,   11,

 // methods: parameters
    QMetaType::Void, 0x80000000 | 13, QMetaType::Int, QMetaType::Int,   14,   15,   16,
    QMetaType::QString, 0x80000000 | 13,   14,
    QMetaType::Void, 0x80000000 | 19, 0x80000000 | 13,   20,   21,
    QMetaType::QPointF, 0x80000000 | 13, QMetaType::Int, QMetaType::Int,   23,   15,   16,
    QMetaType::Void, 0x80000000 | 13, 0x80000000 | 13,   25,   26,
    QMetaType::Void, 0x80000000 | 13, 0x80000000 | 13,   26,   25,

 // properties: name, type, flags
      28, 0x80000000 | 29, 0x00095409,
      30, QMetaType::QStringList, 0x00495103,
      31, QMetaType::QStringList, 0x00095401,

 // properties: notify_signal_id
       0,
       0,
       0,

       0        // eod
};

void SystemTray::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SystemTray *_t = static_cast<SystemTray *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->allowedPlasmoidsChanged(); break;
        case 1: _t->serviceNameFetchFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1])),(*reinterpret_cast< const QDBusConnection(*)>(_a[2]))); break;
        case 2: _t->serviceOwnerChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 3: _t->showPlasmoidMenu((*reinterpret_cast< QQuickItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 4: { QString _r = _t->plasmoidCategory((*reinterpret_cast< QQuickItem*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 5: _t->showStatusNotifierContextMenu((*reinterpret_cast< KJob*(*)>(_a[1])),(*reinterpret_cast< QQuickItem*(*)>(_a[2]))); break;
        case 6: { QPointF _r = _t->popupPosition((*reinterpret_cast< QQuickItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QPointF*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->reorderItemBefore((*reinterpret_cast< QQuickItem*(*)>(_a[1])),(*reinterpret_cast< QQuickItem*(*)>(_a[2]))); break;
        case 8: _t->reorderItemAfter((*reinterpret_cast< QQuickItem*(*)>(_a[1])),(*reinterpret_cast< QQuickItem*(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 5:
            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]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (SystemTray::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SystemTray::allowedPlasmoidsChanged)) {
                *result = 0;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAbstractItemModel* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        SystemTray *_t = static_cast<SystemTray *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QAbstractItemModel**>(_v) = _t->availablePlasmoids(); break;
        case 1: *reinterpret_cast< QStringList*>(_v) = _t->allowedPlasmoids(); break;
        case 2: *reinterpret_cast< QStringList*>(_v) = _t->defaultPlasmoids(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        SystemTray *_t = static_cast<SystemTray *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setAllowedPlasmoids(*reinterpret_cast< QStringList*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject SystemTray::staticMetaObject = {
    { &Plasma::Containment::staticMetaObject, qt_meta_stringdata_SystemTray.data,
      qt_meta_data_SystemTray,  qt_static_metacall, nullptr, nullptr}
};


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

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

int SystemTray::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Plasma::Containment::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void SystemTray::allowedPlasmoidsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
