/****************************************************************************
** Meta object code from reading C++ file 'panel.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/shell/scripting/panel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'panel.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_WorkspaceScripting__Panel_t {
    QByteArrayData data[31];
    char stringdata0[327];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_WorkspaceScripting__Panel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_WorkspaceScripting__Panel_t qt_meta_stringdata_WorkspaceScripting__Panel = {
    {
QT_MOC_LITERAL(0, 0, 25), // "WorkspaceScripting::Panel"
QT_MOC_LITERAL(1, 26, 6), // "remove"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 26), // "showConfigurationInterface"
QT_MOC_LITERAL(4, 61, 10), // "readConfig"
QT_MOC_LITERAL(5, 72, 3), // "key"
QT_MOC_LITERAL(6, 76, 3), // "def"
QT_MOC_LITERAL(7, 80, 11), // "writeConfig"
QT_MOC_LITERAL(8, 92, 5), // "value"
QT_MOC_LITERAL(9, 98, 12), // "reloadConfig"
QT_MOC_LITERAL(10, 111, 10), // "configKeys"
QT_MOC_LITERAL(11, 122, 12), // "configGroups"
QT_MOC_LITERAL(12, 135, 18), // "currentConfigGroup"
QT_MOC_LITERAL(13, 154, 16), // "globalConfigKeys"
QT_MOC_LITERAL(14, 171, 18), // "globalConfigGroups"
QT_MOC_LITERAL(15, 190, 7), // "version"
QT_MOC_LITERAL(16, 198, 4), // "type"
QT_MOC_LITERAL(17, 203, 10), // "formFactor"
QT_MOC_LITERAL(18, 214, 9), // "widgetIds"
QT_MOC_LITERAL(19, 224, 10), // "QList<int>"
QT_MOC_LITERAL(20, 235, 6), // "screen"
QT_MOC_LITERAL(21, 242, 8), // "location"
QT_MOC_LITERAL(22, 251, 2), // "id"
QT_MOC_LITERAL(23, 254, 6), // "locked"
QT_MOC_LITERAL(24, 261, 9), // "alignment"
QT_MOC_LITERAL(25, 271, 6), // "offset"
QT_MOC_LITERAL(26, 278, 6), // "length"
QT_MOC_LITERAL(27, 285, 13), // "minimumLength"
QT_MOC_LITERAL(28, 299, 13), // "maximumLength"
QT_MOC_LITERAL(29, 313, 6), // "height"
QT_MOC_LITERAL(30, 320, 6) // "hiding"

    },
    "WorkspaceScripting::Panel\0remove\0\0"
    "showConfigurationInterface\0readConfig\0"
    "key\0def\0writeConfig\0value\0reloadConfig\0"
    "configKeys\0configGroups\0currentConfigGroup\0"
    "globalConfigKeys\0globalConfigGroups\0"
    "version\0type\0formFactor\0widgetIds\0"
    "QList<int>\0screen\0location\0id\0locked\0"
    "alignment\0offset\0length\0minimumLength\0"
    "maximumLength\0height\0hiding"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_WorkspaceScripting__Panel[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   44,    2, 0x0a /* Public */,
       3,    0,   45,    2, 0x0a /* Public */,
       4,    2,   46,    2, 0x0a /* Public */,
       4,    1,   51,    2, 0x2a /* Public | MethodCloned */,
       7,    2,   54,    2, 0x0a /* Public */,
       9,    0,   59,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::QVariant, QMetaType::QString, QMetaType::QVariant,    5,    6,
    QMetaType::QVariant, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariant,    5,    8,
    QMetaType::Void,

 // properties: name, type, flags
      10, QMetaType::QStringList, 0x00095001,
      11, QMetaType::QStringList, 0x00095001,
      12, QMetaType::QStringList, 0x00095103,
      13, QMetaType::QStringList, 0x00095001,
      14, QMetaType::QStringList, 0x00095001,
      15, QMetaType::QString, 0x00095001,
      16, QMetaType::QString, 0x00095001,
      17, QMetaType::QString, 0x00095001,
      18, 0x80000000 | 19, 0x00095009,
      20, QMetaType::Int, 0x00095001,
      21, QMetaType::QString, 0x00095103,
      22, QMetaType::Int, 0x00095001,
      23, QMetaType::Bool, 0x00095103,
      24, QMetaType::QString, 0x00095103,
      25, QMetaType::Int, 0x00095103,
      26, QMetaType::Int, 0x00095103,
      27, QMetaType::Int, 0x00095103,
      28, QMetaType::Int, 0x00095103,
      29, QMetaType::Int, 0x00095103,
      30, QMetaType::QString, 0x00095103,

       0        // eod
};

void WorkspaceScripting::Panel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Panel *_t = static_cast<Panel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->remove(); break;
        case 1: _t->showConfigurationInterface(); break;
        case 2: { QVariant _r = _t->readConfig((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); }  break;
        case 3: { QVariant _r = _t->readConfig((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->writeConfig((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2]))); break;
        case 5: _t->reloadConfig(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 8:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<int> >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Panel *_t = static_cast<Panel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QStringList*>(_v) = _t->configKeys(); break;
        case 1: *reinterpret_cast< QStringList*>(_v) = _t->configGroups(); break;
        case 2: *reinterpret_cast< QStringList*>(_v) = _t->currentConfigGroup(); break;
        case 3: *reinterpret_cast< QStringList*>(_v) = _t->globalConfigKeys(); break;
        case 4: *reinterpret_cast< QStringList*>(_v) = _t->globalConfigGroups(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->version(); break;
        case 6: *reinterpret_cast< QString*>(_v) = _t->type(); break;
        case 7: *reinterpret_cast< QString*>(_v) = _t->formFactor(); break;
        case 8: *reinterpret_cast< QList<int>*>(_v) = _t->widgetIds(); break;
        case 9: *reinterpret_cast< int*>(_v) = _t->screen(); break;
        case 10: *reinterpret_cast< QString*>(_v) = _t->location(); break;
        case 11: *reinterpret_cast< int*>(_v) = _t->id(); break;
        case 12: *reinterpret_cast< bool*>(_v) = _t->locked(); break;
        case 13: *reinterpret_cast< QString*>(_v) = _t->alignment(); break;
        case 14: *reinterpret_cast< int*>(_v) = _t->offset(); break;
        case 15: *reinterpret_cast< int*>(_v) = _t->length(); break;
        case 16: *reinterpret_cast< int*>(_v) = _t->minimumLength(); break;
        case 17: *reinterpret_cast< int*>(_v) = _t->maximumLength(); break;
        case 18: *reinterpret_cast< int*>(_v) = _t->height(); break;
        case 19: *reinterpret_cast< QString*>(_v) = _t->hiding(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        Panel *_t = static_cast<Panel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 2: _t->setCurrentConfigGroup(*reinterpret_cast< QStringList*>(_v)); break;
        case 10: _t->setLocation(*reinterpret_cast< QString*>(_v)); break;
        case 12: _t->setLocked(*reinterpret_cast< bool*>(_v)); break;
        case 13: _t->setAlignment(*reinterpret_cast< QString*>(_v)); break;
        case 14: _t->setOffset(*reinterpret_cast< int*>(_v)); break;
        case 15: _t->setLength(*reinterpret_cast< int*>(_v)); break;
        case 16: _t->setMinimumLength(*reinterpret_cast< int*>(_v)); break;
        case 17: _t->setMaximumLength(*reinterpret_cast< int*>(_v)); break;
        case 18: _t->setHeight(*reinterpret_cast< int*>(_v)); break;
        case 19: _t->setHiding(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject WorkspaceScripting::Panel::staticMetaObject = {
    { &Containment::staticMetaObject, qt_meta_stringdata_WorkspaceScripting__Panel.data,
      qt_meta_data_WorkspaceScripting__Panel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int WorkspaceScripting::Panel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Containment::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 6;
    }
#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 -= 20;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 20;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 20;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 20;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 20;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 20;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
