/****************************************************************************
** Meta object code from reading C++ file 'widgetexplorer.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-workspace-5.8.9/components/shellprivate/widgetexplorer/widgetexplorer.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'widgetexplorer.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_WidgetAction_t {
    QByteArrayData data[4];
    char stringdata0[41];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_WidgetAction_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_WidgetAction_t qt_meta_stringdata_WidgetAction = {
    {
QT_MOC_LITERAL(0, 0, 12), // "WidgetAction"
QT_MOC_LITERAL(1, 13, 16), // "separatorChanged"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 9) // "separator"

    },
    "WidgetAction\0separatorChanged\0\0separator"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_WidgetAction[] = {

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

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

 // signals: parameters
    QMetaType::Void,

 // properties: name, type, flags
       3, QMetaType::Bool, 0x00495103,

 // properties: notify_signal_id
       0,

       0        // eod
};

void WidgetAction::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        WidgetAction *_t = static_cast<WidgetAction *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->separatorChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (WidgetAction::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WidgetAction::separatorChanged)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        WidgetAction *_t = static_cast<WidgetAction *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->isSeparator(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        WidgetAction *_t = static_cast<WidgetAction *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setSeparator(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    Q_UNUSED(_a);
}

const QMetaObject WidgetAction::staticMetaObject = {
    { &QAction::staticMetaObject, qt_meta_stringdata_WidgetAction.data,
      qt_meta_data_WidgetAction,  qt_static_metacall, nullptr, nullptr}
};


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

void *WidgetAction::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_WidgetAction.stringdata0))
        return static_cast<void*>(this);
    return QAction::qt_metacast(_clname);
}

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

// SIGNAL 0
void WidgetAction::separatorChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
struct qt_meta_stringdata_WidgetExplorer_t {
    QByteArrayData data[30];
    char stringdata0[449];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_WidgetExplorer_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_WidgetExplorer_t qt_meta_stringdata_WidgetExplorer = {
    {
QT_MOC_LITERAL(0, 0, 14), // "WidgetExplorer"
QT_MOC_LITERAL(1, 15, 25), // "widgetsMenuActionsChanged"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 19), // "extraActionsChanged"
QT_MOC_LITERAL(4, 62, 11), // "shouldClose"
QT_MOC_LITERAL(5, 74, 11), // "viewChanged"
QT_MOC_LITERAL(6, 86, 18), // "applicationChanged"
QT_MOC_LITERAL(7, 105, 18), // "containmentChanged"
QT_MOC_LITERAL(8, 124, 15), // "providesChanged"
QT_MOC_LITERAL(9, 140, 9), // "addApplet"
QT_MOC_LITERAL(10, 150, 10), // "pluginName"
QT_MOC_LITERAL(11, 161, 14), // "openWidgetFile"
QT_MOC_LITERAL(12, 176, 15), // "downloadWidgets"
QT_MOC_LITERAL(13, 192, 4), // "type"
QT_MOC_LITERAL(14, 197, 19), // "immutabilityChanged"
QT_MOC_LITERAL(15, 217, 31), // "Plasma::Types::ImmutabilityType"
QT_MOC_LITERAL(16, 249, 11), // "appletAdded"
QT_MOC_LITERAL(17, 261, 15), // "Plasma::Applet*"
QT_MOC_LITERAL(18, 277, 13), // "appletRemoved"
QT_MOC_LITERAL(19, 291, 20), // "containmentDestroyed"
QT_MOC_LITERAL(20, 312, 9), // "uninstall"
QT_MOC_LITERAL(21, 322, 12), // "widgetsModel"
QT_MOC_LITERAL(22, 335, 11), // "filterModel"
QT_MOC_LITERAL(23, 347, 18), // "widgetsMenuActions"
QT_MOC_LITERAL(24, 366, 15), // "QList<QObject*>"
QT_MOC_LITERAL(25, 382, 12), // "extraActions"
QT_MOC_LITERAL(26, 395, 11), // "application"
QT_MOC_LITERAL(27, 407, 8), // "provides"
QT_MOC_LITERAL(28, 416, 11), // "containment"
QT_MOC_LITERAL(29, 428, 20) // "Plasma::Containment*"

    },
    "WidgetExplorer\0widgetsMenuActionsChanged\0"
    "\0extraActionsChanged\0shouldClose\0"
    "viewChanged\0applicationChanged\0"
    "containmentChanged\0providesChanged\0"
    "addApplet\0pluginName\0openWidgetFile\0"
    "downloadWidgets\0type\0immutabilityChanged\0"
    "Plasma::Types::ImmutabilityType\0"
    "appletAdded\0Plasma::Applet*\0appletRemoved\0"
    "containmentDestroyed\0uninstall\0"
    "widgetsModel\0filterModel\0widgetsMenuActions\0"
    "QList<QObject*>\0extraActions\0application\0"
    "provides\0containment\0Plasma::Containment*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_WidgetExplorer[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   89,    2, 0x06 /* Public */,
       3,    0,   90,    2, 0x06 /* Public */,
       4,    0,   91,    2, 0x06 /* Public */,
       5,    0,   92,    2, 0x06 /* Public */,
       6,    0,   93,    2, 0x06 /* Public */,
       7,    0,   94,    2, 0x06 /* Public */,
       8,    0,   95,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    1,   96,    2, 0x0a /* Public */,
      11,    0,   99,    2, 0x0a /* Public */,
      12,    1,  100,    2, 0x0a /* Public */,
      14,    1,  103,    2, 0x09 /* Protected */,
      16,    1,  106,    2, 0x08 /* Private */,
      18,    1,  109,    2, 0x08 /* Private */,
      19,    0,  112,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      20,    1,  113,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,   10,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   13,
    QMetaType::Void, 0x80000000 | 15,    2,
    QMetaType::Void, 0x80000000 | 17,    2,
    QMetaType::Void, 0x80000000 | 17,    2,
    QMetaType::Void,

 // methods: parameters
    QMetaType::Void, QMetaType::QString,   10,

 // properties: name, type, flags
      21, QMetaType::QObjectStar, 0x00095401,
      22, QMetaType::QObjectStar, 0x00095401,
      23, 0x80000000 | 24, 0x00495009,
      25, 0x80000000 | 24, 0x00495009,
      26, QMetaType::QString, 0x00495103,
      27, QMetaType::QStringList, 0x00495103,
      28, 0x80000000 | 29, 0x0049510b,

 // properties: notify_signal_id
       0,
       0,
       0,
       1,
       4,
       6,
       5,

       0        // eod
};

void WidgetExplorer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        WidgetExplorer *_t = static_cast<WidgetExplorer *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->widgetsMenuActionsChanged(); break;
        case 1: _t->extraActionsChanged(); break;
        case 2: _t->shouldClose(); break;
        case 3: _t->viewChanged(); break;
        case 4: _t->applicationChanged(); break;
        case 5: _t->containmentChanged(); break;
        case 6: _t->providesChanged(); break;
        case 7: _t->addApplet((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->openWidgetFile(); break;
        case 9: _t->downloadWidgets((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->immutabilityChanged((*reinterpret_cast< Plasma::Types::ImmutabilityType(*)>(_a[1]))); break;
        case 11: _t->d->appletAdded((*reinterpret_cast< Plasma::Applet*(*)>(_a[1]))); break;
        case 12: _t->d->appletRemoved((*reinterpret_cast< Plasma::Applet*(*)>(_a[1]))); break;
        case 13: _t->d->containmentDestroyed(); break;
        case 14: _t->uninstall((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Plasma::Applet* >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Plasma::Applet* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (WidgetExplorer::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WidgetExplorer::widgetsMenuActionsChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (WidgetExplorer::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WidgetExplorer::extraActionsChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (WidgetExplorer::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WidgetExplorer::shouldClose)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (WidgetExplorer::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WidgetExplorer::viewChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (WidgetExplorer::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WidgetExplorer::applicationChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (WidgetExplorer::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WidgetExplorer::containmentChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (WidgetExplorer::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WidgetExplorer::providesChanged)) {
                *result = 6;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
        case 2:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QObject*> >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        WidgetExplorer *_t = static_cast<WidgetExplorer *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QObject**>(_v) = _t->widgetsModel(); break;
        case 1: *reinterpret_cast< QObject**>(_v) = _t->filterModel(); break;
        case 2: *reinterpret_cast< QList<QObject*>*>(_v) = _t->widgetsMenuActions(); break;
        case 3: *reinterpret_cast< QList<QObject*>*>(_v) = _t->extraActions(); break;
        case 4: *reinterpret_cast< QString*>(_v) = _t->application(); break;
        case 5: *reinterpret_cast< QStringList*>(_v) = _t->provides(); break;
        case 6: *reinterpret_cast< Plasma::Containment**>(_v) = _t->containment(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        WidgetExplorer *_t = static_cast<WidgetExplorer *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 4: _t->setApplication(*reinterpret_cast< QString*>(_v)); break;
        case 5: _t->setProvides(*reinterpret_cast< QStringList*>(_v)); break;
        case 6: _t->setContainment(*reinterpret_cast< Plasma::Containment**>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject WidgetExplorer::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_WidgetExplorer.data,
      qt_meta_data_WidgetExplorer,  qt_static_metacall, nullptr, nullptr}
};


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

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

int WidgetExplorer::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 < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    }
#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 -= 7;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 7;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void WidgetExplorer::widgetsMenuActionsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void WidgetExplorer::extraActionsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void WidgetExplorer::shouldClose()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void WidgetExplorer::viewChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void WidgetExplorer::applicationChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void WidgetExplorer::containmentChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void WidgetExplorer::providesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
