/****************************************************************************
** Meta object code from reading C++ file 'corona.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/corona.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'corona.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__Corona_t {
    QByteArrayData data[42];
    char stringdata0[637];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Plasma__Corona_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Plasma__Corona_t qt_meta_stringdata_Plasma__Corona = {
    {
QT_MOC_LITERAL(0, 0, 14), // "Plasma::Corona"
QT_MOC_LITERAL(1, 15, 16), // "containmentAdded"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 20), // "Plasma::Containment*"
QT_MOC_LITERAL(4, 54, 11), // "containment"
QT_MOC_LITERAL(5, 66, 18), // "containmentCreated"
QT_MOC_LITERAL(6, 85, 18), // "screenOwnerChanged"
QT_MOC_LITERAL(7, 104, 8), // "isScreen"
QT_MOC_LITERAL(8, 113, 12), // "configSynced"
QT_MOC_LITERAL(9, 126, 28), // "availableScreenRegionChanged"
QT_MOC_LITERAL(10, 155, 26), // "availableScreenRectChanged"
QT_MOC_LITERAL(11, 182, 21), // "screenGeometryChanged"
QT_MOC_LITERAL(12, 204, 2), // "id"
QT_MOC_LITERAL(13, 207, 19), // "immutabilityChanged"
QT_MOC_LITERAL(14, 227, 31), // "Plasma::Types::ImmutabilityType"
QT_MOC_LITERAL(15, 259, 12), // "immutability"
QT_MOC_LITERAL(16, 272, 13), // "screenRemoved"
QT_MOC_LITERAL(17, 286, 11), // "screenAdded"
QT_MOC_LITERAL(18, 298, 15), // "editModeChanged"
QT_MOC_LITERAL(19, 314, 4), // "edit"
QT_MOC_LITERAL(20, 319, 14), // "packageChanged"
QT_MOC_LITERAL(21, 334, 15), // "Plasma::Package"
QT_MOC_LITERAL(22, 350, 7), // "package"
QT_MOC_LITERAL(23, 358, 15), // "kPackageChanged"
QT_MOC_LITERAL(24, 374, 17), // "KPackage::Package"
QT_MOC_LITERAL(25, 392, 16), // "startupCompleted"
QT_MOC_LITERAL(26, 409, 10), // "loadLayout"
QT_MOC_LITERAL(27, 420, 6), // "config"
QT_MOC_LITERAL(28, 427, 10), // "saveLayout"
QT_MOC_LITERAL(29, 438, 15), // "setImmutability"
QT_MOC_LITERAL(30, 454, 23), // "Types::ImmutabilityType"
QT_MOC_LITERAL(31, 478, 9), // "immutable"
QT_MOC_LITERAL(32, 488, 17), // "requestConfigSync"
QT_MOC_LITERAL(33, 506, 17), // "requireConfigSync"
QT_MOC_LITERAL(34, 524, 20), // "containmentDestroyed"
QT_MOC_LITERAL(35, 545, 10), // "syncConfig"
QT_MOC_LITERAL(36, 556, 18), // "toggleImmutability"
QT_MOC_LITERAL(37, 575, 16), // "containmentReady"
QT_MOC_LITERAL(38, 592, 18), // "isStartupCompleted"
QT_MOC_LITERAL(39, 611, 8), // "editMode"
QT_MOC_LITERAL(40, 620, 7), // "Package"
QT_MOC_LITERAL(41, 628, 8) // "kPackage"

    },
    "Plasma::Corona\0containmentAdded\0\0"
    "Plasma::Containment*\0containment\0"
    "containmentCreated\0screenOwnerChanged\0"
    "isScreen\0configSynced\0"
    "availableScreenRegionChanged\0"
    "availableScreenRectChanged\0"
    "screenGeometryChanged\0id\0immutabilityChanged\0"
    "Plasma::Types::ImmutabilityType\0"
    "immutability\0screenRemoved\0screenAdded\0"
    "editModeChanged\0edit\0packageChanged\0"
    "Plasma::Package\0package\0kPackageChanged\0"
    "KPackage::Package\0startupCompleted\0"
    "loadLayout\0config\0saveLayout\0"
    "setImmutability\0Types::ImmutabilityType\0"
    "immutable\0requestConfigSync\0"
    "requireConfigSync\0containmentDestroyed\0"
    "syncConfig\0toggleImmutability\0"
    "containmentReady\0isStartupCompleted\0"
    "editMode\0Package\0kPackage"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Plasma__Corona[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  139,    2, 0x06 /* Public */,
       5,    1,  142,    2, 0x06 /* Public */,
       6,    1,  145,    2, 0x06 /* Public */,
       8,    0,  148,    2, 0x06 /* Public */,
       9,    0,  149,    2, 0x06 /* Public */,
      10,    0,  150,    2, 0x06 /* Public */,
      11,    1,  151,    2, 0x06 /* Public */,
      13,    1,  154,    2, 0x06 /* Public */,
      16,    1,  157,    2, 0x06 /* Public */,
      17,    1,  160,    2, 0x06 /* Public */,
      18,    1,  163,    2, 0x06 /* Public */,
      20,    1,  166,    2, 0x06 /* Public */,
      23,    1,  169,    2, 0x06 /* Public */,
      25,    0,  172,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      26,    1,  173,    2, 0x0a /* Public */,
      26,    0,  176,    2, 0x2a /* Public | MethodCloned */,
      28,    1,  177,    2, 0x0a /* Public */,
      28,    0,  180,    2, 0x2a /* Public | MethodCloned */,
      29,    1,  181,    2, 0x0a /* Public */,
      32,    0,  184,    2, 0x0a /* Public */,
      33,    0,  185,    2, 0x0a /* Public */,
      34,    1,  186,    2, 0x08 /* Private */,
      35,    0,  189,    2, 0x08 /* Private */,
      36,    0,  190,    2, 0x08 /* Private */,
      37,    1,  191,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void, 0x80000000 | 14,   15,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void, QMetaType::Bool,   19,
    QMetaType::Void, 0x80000000 | 21,   22,
    QMetaType::Void, 0x80000000 | 24,   22,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,   27,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   27,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 30,   31,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QObjectStar,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,

 // properties: name, type, flags
      38, QMetaType::Bool, 0x00495001,
      39, QMetaType::Bool, 0x00495103,
      22, 0x80000000 | 40, 0x00495009,
      41, 0x80000000 | 24, 0x00495009,

 // properties: notify_signal_id
      13,
      10,
      11,
      12,

       0        // eod
};

void Plasma::Corona::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Corona *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->containmentAdded((*reinterpret_cast< Plasma::Containment*(*)>(_a[1]))); break;
        case 1: _t->containmentCreated((*reinterpret_cast< Plasma::Containment*(*)>(_a[1]))); break;
        case 2: _t->screenOwnerChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->configSynced(); break;
        case 4: _t->availableScreenRegionChanged(); break;
        case 5: _t->availableScreenRectChanged(); break;
        case 6: _t->screenGeometryChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->immutabilityChanged((*reinterpret_cast< Plasma::Types::ImmutabilityType(*)>(_a[1]))); break;
        case 8: _t->screenRemoved((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->screenAdded((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->editModeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->packageChanged((*reinterpret_cast< const Plasma::Package(*)>(_a[1]))); break;
        case 12: _t->kPackageChanged((*reinterpret_cast< const KPackage::Package(*)>(_a[1]))); break;
        case 13: _t->startupCompleted(); break;
        case 14: _t->loadLayout((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 15: _t->loadLayout(); break;
        case 16: _t->saveLayout((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 17: _t->saveLayout(); break;
        case 18: _t->setImmutability((*reinterpret_cast< const Types::ImmutabilityType(*)>(_a[1]))); break;
        case 19: _t->requestConfigSync(); break;
        case 20: _t->requireConfigSync(); break;
        case 21: _t->d->containmentDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 22: _t->d->syncConfig(); break;
        case 23: _t->d->toggleImmutability(); break;
        case 24: _t->d->containmentReady((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Plasma::Containment* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Plasma::Containment* >(); 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< KPackage::Package >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Corona::*)(Plasma::Containment * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Corona::containmentAdded)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Corona::*)(Plasma::Containment * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Corona::containmentCreated)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (Corona::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Corona::screenOwnerChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (Corona::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Corona::configSynced)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (Corona::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Corona::availableScreenRegionChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (Corona::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Corona::availableScreenRectChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (Corona::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Corona::screenGeometryChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (Corona::*)(Plasma::Types::ImmutabilityType );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Corona::immutabilityChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (Corona::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Corona::screenRemoved)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (Corona::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Corona::screenAdded)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (Corona::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Corona::editModeChanged)) {
                *result = 10;
                return;
            }
        }
        {
            using _t = void (Corona::*)(const Plasma::Package & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Corona::packageChanged)) {
                *result = 11;
                return;
            }
        }
        {
            using _t = void (Corona::*)(const KPackage::Package & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Corona::kPackageChanged)) {
                *result = 12;
                return;
            }
        }
        {
            using _t = void (Corona::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Corona::startupCompleted)) {
                *result = 13;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KPackage::Package >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<Corona *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->isStartupCompleted(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isEditMode(); break;
        case 2: *reinterpret_cast< Package*>(_v) = _t->package(); break;
        case 3: *reinterpret_cast< KPackage::Package*>(_v) = _t->kPackage(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<Corona *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setEditMode(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject Plasma::Corona::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_Plasma__Corona.data,
    qt_meta_data_Plasma__Corona,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void Plasma::Corona::containmentAdded(Plasma::Containment * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Plasma::Corona::containmentCreated(Plasma::Containment * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

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

// SIGNAL 3
void Plasma::Corona::configSynced()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void Plasma::Corona::availableScreenRegionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void Plasma::Corona::availableScreenRectChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void Plasma::Corona::screenGeometryChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void Plasma::Corona::immutabilityChanged(Plasma::Types::ImmutabilityType _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void Plasma::Corona::screenRemoved(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void Plasma::Corona::screenAdded(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}

// SIGNAL 10
void Plasma::Corona::editModeChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 10, _a);
}

// SIGNAL 11
void Plasma::Corona::packageChanged(const Plasma::Package & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 11, _a);
}

// SIGNAL 12
void Plasma::Corona::kPackageChanged(const KPackage::Package & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 12, _a);
}

// SIGNAL 13
void Plasma::Corona::startupCompleted()
{
    QMetaObject::activate(this, &staticMetaObject, 13, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
