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

#include "../../../../src/plasma-framework-5.12.0/src/scriptengines/qml/plasmoid/containmentinterface.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'containmentinterface.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.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
struct qt_meta_stringdata_ContainmentInterface_t {
    QByteArrayData data[50];
    char stringdata[677];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ContainmentInterface_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ContainmentInterface_t qt_meta_stringdata_ContainmentInterface = {
    {
QT_MOC_LITERAL(0, 0, 20), // "ContainmentInterface"
QT_MOC_LITERAL(1, 21, 11), // "appletAdded"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 6), // "applet"
QT_MOC_LITERAL(4, 41, 1), // "x"
QT_MOC_LITERAL(5, 43, 1), // "y"
QT_MOC_LITERAL(6, 45, 13), // "appletRemoved"
QT_MOC_LITERAL(7, 59, 15), // "activityChanged"
QT_MOC_LITERAL(8, 75, 19), // "activityNameChanged"
QT_MOC_LITERAL(9, 95, 28), // "availableScreenRegionChanged"
QT_MOC_LITERAL(10, 124, 26), // "availableScreenRectChanged"
QT_MOC_LITERAL(11, 151, 14), // "appletsChanged"
QT_MOC_LITERAL(12, 166, 20), // "drawWallpaperChanged"
QT_MOC_LITERAL(13, 187, 22), // "containmentTypeChanged"
QT_MOC_LITERAL(14, 210, 14), // "actionsChanged"
QT_MOC_LITERAL(15, 225, 18), // "appletAddedForward"
QT_MOC_LITERAL(16, 244, 15), // "Plasma::Applet*"
QT_MOC_LITERAL(17, 260, 20), // "appletRemovedForward"
QT_MOC_LITERAL(18, 281, 13), // "loadWallpaper"
QT_MOC_LITERAL(19, 295, 13), // "dropJobResult"
QT_MOC_LITERAL(20, 309, 5), // "KJob*"
QT_MOC_LITERAL(21, 315, 3), // "job"
QT_MOC_LITERAL(22, 319, 17), // "mimeTypeRetrieved"
QT_MOC_LITERAL(23, 337, 9), // "KIO::Job*"
QT_MOC_LITERAL(24, 347, 8), // "mimetype"
QT_MOC_LITERAL(25, 356, 12), // "createApplet"
QT_MOC_LITERAL(26, 369, 6), // "plugin"
QT_MOC_LITERAL(27, 376, 4), // "args"
QT_MOC_LITERAL(28, 381, 3), // "pos"
QT_MOC_LITERAL(29, 385, 15), // "slotAboutToQuit"
QT_MOC_LITERAL(30, 401, 15), // "processMimeData"
QT_MOC_LITERAL(31, 417, 10), // "QMimeData*"
QT_MOC_LITERAL(32, 428, 4), // "data"
QT_MOC_LITERAL(33, 433, 13), // "containmentAt"
QT_MOC_LITERAL(34, 447, 9), // "addApplet"
QT_MOC_LITERAL(35, 457, 16), // "AppletInterface*"
QT_MOC_LITERAL(36, 474, 13), // "mapFromApplet"
QT_MOC_LITERAL(37, 488, 11), // "mapToApplet"
QT_MOC_LITERAL(38, 500, 29), // "adjustToAvailableScreenRegion"
QT_MOC_LITERAL(39, 530, 1), // "w"
QT_MOC_LITERAL(40, 532, 1), // "h"
QT_MOC_LITERAL(41, 534, 7), // "applets"
QT_MOC_LITERAL(42, 542, 15), // "QList<QObject*>"
QT_MOC_LITERAL(43, 558, 15), // "containmentType"
QT_MOC_LITERAL(44, 574, 30), // "Plasma::Types::ContainmentType"
QT_MOC_LITERAL(45, 605, 8), // "activity"
QT_MOC_LITERAL(46, 614, 12), // "activityName"
QT_MOC_LITERAL(47, 627, 7), // "actions"
QT_MOC_LITERAL(48, 635, 19), // "availableScreenRect"
QT_MOC_LITERAL(49, 655, 21) // "availableScreenRegion"

    },
    "ContainmentInterface\0appletAdded\0\0"
    "applet\0x\0y\0appletRemoved\0activityChanged\0"
    "activityNameChanged\0availableScreenRegionChanged\0"
    "availableScreenRectChanged\0appletsChanged\0"
    "drawWallpaperChanged\0containmentTypeChanged\0"
    "actionsChanged\0appletAddedForward\0"
    "Plasma::Applet*\0appletRemovedForward\0"
    "loadWallpaper\0dropJobResult\0KJob*\0job\0"
    "mimeTypeRetrieved\0KIO::Job*\0mimetype\0"
    "createApplet\0plugin\0args\0pos\0"
    "slotAboutToQuit\0processMimeData\0"
    "QMimeData*\0data\0containmentAt\0addApplet\0"
    "AppletInterface*\0mapFromApplet\0"
    "mapToApplet\0adjustToAvailableScreenRegion\0"
    "w\0h\0applets\0QList<QObject*>\0containmentType\0"
    "Plasma::Types::ContainmentType\0activity\0"
    "activityName\0actions\0availableScreenRect\0"
    "availableScreenRegion"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ContainmentInterface[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      24,   14, // methods
       7,  224, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      10,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    3,  134,    2, 0x06 /* Public */,
       6,    1,  141,    2, 0x06 /* Public */,
       7,    0,  144,    2, 0x06 /* Public */,
       8,    0,  145,    2, 0x06 /* Public */,
       9,    0,  146,    2, 0x06 /* Public */,
      10,    0,  147,    2, 0x06 /* Public */,
      11,    0,  148,    2, 0x06 /* Public */,
      12,    0,  149,    2, 0x06 /* Public */,
      13,    0,  150,    2, 0x06 /* Public */,
      14,    0,  151,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    1,  152,    2, 0x09 /* Protected */,
      17,    1,  155,    2, 0x09 /* Protected */,
      18,    0,  158,    2, 0x09 /* Protected */,
      19,    1,  159,    2, 0x09 /* Protected */,
      22,    2,  162,    2, 0x09 /* Protected */,
      25,    3,  167,    2, 0x08 /* Private */,
      29,    0,  174,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      30,    3,  175,    2, 0x02 /* Public */,
      30,    3,  182,    2, 0x02 /* Public */,
      33,    2,  189,    2, 0x02 /* Public */,
      34,    3,  194,    2, 0x02 /* Public */,
      36,    3,  201,    2, 0x02 /* Public */,
      37,    3,  208,    2, 0x02 /* Public */,
      38,    4,  215,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QObjectStar, QMetaType::Int, QMetaType::Int,    3,    4,    5,
    QMetaType::Void, QMetaType::QObjectStar,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 16,    3,
    QMetaType::Void, 0x80000000 | 16,    3,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 20,   21,
    QMetaType::Void, 0x80000000 | 23, QMetaType::QString,   21,   24,
    0x80000000 | 16, QMetaType::QString, QMetaType::QVariantList, QMetaType::QPoint,   26,   27,   28,
    QMetaType::Void,

 // methods: parameters
    QMetaType::Void, 0x80000000 | 31, QMetaType::Int, QMetaType::Int,   32,    4,    5,
    QMetaType::Void, QMetaType::QObjectStar, QMetaType::Int, QMetaType::Int,   32,    4,    5,
    QMetaType::QObjectStar, QMetaType::Int, QMetaType::Int,    4,    5,
    QMetaType::Void, 0x80000000 | 35, QMetaType::Int, QMetaType::Int,    3,    4,    5,
    QMetaType::QPointF, 0x80000000 | 35, QMetaType::Int, QMetaType::Int,    3,    4,    5,
    QMetaType::QPointF, 0x80000000 | 35, QMetaType::Int, QMetaType::Int,    3,    4,    5,
    QMetaType::QPointF, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int,    4,    5,   39,   40,

 // properties: name, type, flags
      41, 0x80000000 | 42, 0x00495009,
      43, 0x80000000 | 44, 0x0049510b,
      45, QMetaType::QString, 0x00495001,
      46, QMetaType::QString, 0x00495001,
      47, 0x80000000 | 42, 0x00495009,
      48, QMetaType::QRect, 0x00495001,
      49, QMetaType::QVariantList, 0x00495001,

 // properties: notify_signal_id
       6,
       8,
       2,
       3,
       9,
       5,
       4,

       0        // eod
};

void ContainmentInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ContainmentInterface *_t = static_cast<ContainmentInterface *>(_o);
        switch (_id) {
        case 0: _t->appletAdded((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 1: _t->appletRemoved((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 2: _t->activityChanged(); break;
        case 3: _t->activityNameChanged(); break;
        case 4: _t->availableScreenRegionChanged(); break;
        case 5: _t->availableScreenRectChanged(); break;
        case 6: _t->appletsChanged(); break;
        case 7: _t->drawWallpaperChanged(); break;
        case 8: _t->containmentTypeChanged(); break;
        case 9: _t->actionsChanged(); break;
        case 10: _t->appletAddedForward((*reinterpret_cast< Plasma::Applet*(*)>(_a[1]))); break;
        case 11: _t->appletRemovedForward((*reinterpret_cast< Plasma::Applet*(*)>(_a[1]))); break;
        case 12: _t->loadWallpaper(); break;
        case 13: _t->dropJobResult((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 14: _t->mimeTypeRetrieved((*reinterpret_cast< KIO::Job*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 15: { Plasma::Applet* _r = _t->createApplet((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariantList(*)>(_a[2])),(*reinterpret_cast< const QPoint(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< Plasma::Applet**>(_a[0]) = _r; }  break;
        case 16: _t->slotAboutToQuit(); break;
        case 17: _t->processMimeData((*reinterpret_cast< QMimeData*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 18: _t->processMimeData((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 19: { QObject* _r = _t->containmentAt((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QObject**>(_a[0]) = _r; }  break;
        case 20: _t->addApplet((*reinterpret_cast< AppletInterface*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 21: { QPointF _r = _t->mapFromApplet((*reinterpret_cast< AppletInterface*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QPointF*>(_a[0]) = _r; }  break;
        case 22: { QPointF _r = _t->mapToApplet((*reinterpret_cast< AppletInterface*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QPointF*>(_a[0]) = _r; }  break;
        case 23: { QPointF _r = _t->adjustToAvailableScreenRegion((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< QPointF*>(_a[0]) = _r; }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 10:
            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 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 20:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< AppletInterface* >(); break;
            }
            break;
        case 21:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< AppletInterface* >(); break;
            }
            break;
        case 22:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< AppletInterface* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (ContainmentInterface::*_t)(QObject * , int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ContainmentInterface::appletAdded)) {
                *result = 0;
            }
        }
        {
            typedef void (ContainmentInterface::*_t)(QObject * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ContainmentInterface::appletRemoved)) {
                *result = 1;
            }
        }
        {
            typedef void (ContainmentInterface::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ContainmentInterface::activityChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (ContainmentInterface::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ContainmentInterface::activityNameChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (ContainmentInterface::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ContainmentInterface::availableScreenRegionChanged)) {
                *result = 4;
            }
        }
        {
            typedef void (ContainmentInterface::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ContainmentInterface::availableScreenRectChanged)) {
                *result = 5;
            }
        }
        {
            typedef void (ContainmentInterface::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ContainmentInterface::appletsChanged)) {
                *result = 6;
            }
        }
        {
            typedef void (ContainmentInterface::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ContainmentInterface::drawWallpaperChanged)) {
                *result = 7;
            }
        }
        {
            typedef void (ContainmentInterface::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ContainmentInterface::containmentTypeChanged)) {
                *result = 8;
            }
        }
        {
            typedef void (ContainmentInterface::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ContainmentInterface::actionsChanged)) {
                *result = 9;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QObject*> >(); break;
        }
    }

}

static const QMetaObject * const qt_meta_extradata_ContainmentInterface[] = {
        &Plasma::Types::staticMetaObject,
    Q_NULLPTR
};

const QMetaObject ContainmentInterface::staticMetaObject = {
    { &AppletInterface::staticMetaObject, qt_meta_stringdata_ContainmentInterface.data,
      qt_meta_data_ContainmentInterface,  qt_static_metacall, qt_meta_extradata_ContainmentInterface, Q_NULLPTR}
};


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

void *ContainmentInterface::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_ContainmentInterface.stringdata))
        return static_cast<void*>(const_cast< ContainmentInterface*>(this));
    return AppletInterface::qt_metacast(_clname);
}

int ContainmentInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AppletInterface::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QList<QObject*>*>(_v) = applets(); break;
        case 1: *reinterpret_cast< Plasma::Types::ContainmentType*>(_v) = containmentType(); break;
        case 2: *reinterpret_cast< QString*>(_v) = activity(); break;
        case 3: *reinterpret_cast< QString*>(_v) = activityName(); break;
        case 4: *reinterpret_cast< QList<QObject*>*>(_v) = actions(); break;
        case 5: *reinterpret_cast< QRect*>(_v) = availableScreenRect(); break;
        case 6: *reinterpret_cast< QVariantList*>(_v) = availableScreenRegion(); break;
        default: break;
        }
        _id -= 7;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 1: setContainmentType(*reinterpret_cast< Plasma::Types::ContainmentType*>(_v)); break;
        default: break;
        }
        _id -= 7;
    } else if (_c == QMetaObject::ResetProperty) {
        _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;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void ContainmentInterface::appletAdded(QObject * _t1, int _t2, int _t3)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void ContainmentInterface::appletRemoved(QObject * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void ContainmentInterface::activityChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void ContainmentInterface::activityNameChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

// SIGNAL 4
void ContainmentInterface::availableScreenRegionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}

// SIGNAL 5
void ContainmentInterface::availableScreenRectChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
}

// SIGNAL 6
void ContainmentInterface::appletsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, Q_NULLPTR);
}

// SIGNAL 7
void ContainmentInterface::drawWallpaperChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, Q_NULLPTR);
}

// SIGNAL 8
void ContainmentInterface::containmentTypeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, Q_NULLPTR);
}

// SIGNAL 9
void ContainmentInterface::actionsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
