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

#include "../src/kwin-5.4.3/scripting/scripting.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'scripting.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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_KWin__AbstractScript_t {
    QByteArrayData data[15];
    char stringdata0[178];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__AbstractScript_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__AbstractScript_t qt_meta_stringdata_KWin__AbstractScript = {
    {
QT_MOC_LITERAL(0, 0, 20), // "KWin::AbstractScript"
QT_MOC_LITERAL(1, 21, 5), // "print"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 4), // "text"
QT_MOC_LITERAL(4, 33, 4), // "stop"
QT_MOC_LITERAL(5, 38, 3), // "run"
QT_MOC_LITERAL(6, 42, 19), // "slotPendingDBusCall"
QT_MOC_LITERAL(7, 62, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(8, 87, 7), // "watcher"
QT_MOC_LITERAL(9, 95, 23), // "globalShortcutTriggered"
QT_MOC_LITERAL(10, 119, 15), // "borderActivated"
QT_MOC_LITERAL(11, 135, 14), // "ElectricBorder"
QT_MOC_LITERAL(12, 150, 4), // "edge"
QT_MOC_LITERAL(13, 155, 15), // "actionDestroyed"
QT_MOC_LITERAL(14, 171, 6) // "object"

    },
    "KWin::AbstractScript\0print\0\0text\0stop\0"
    "run\0slotPendingDBusCall\0"
    "QDBusPendingCallWatcher*\0watcher\0"
    "globalShortcutTriggered\0borderActivated\0"
    "ElectricBorder\0edge\0actionDestroyed\0"
    "object"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__AbstractScript[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   49,    2, 0x46 /* Public | isScriptable */,

 // slots: name, argc, parameters, tag, flags
       4,    0,   52,    2, 0x4a /* Public | isScriptable */,
       5,    0,   53,    2, 0x4a /* Public | isScriptable */,
       6,    1,   54,    2, 0x0a /* Public */,
       9,    0,   57,    2, 0x08 /* Private */,
      10,    1,   58,    2, 0x08 /* Private */,
      13,    1,   61,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void,
    QMetaType::Bool, 0x80000000 | 11,   12,
    QMetaType::Void, QMetaType::QObjectStar,   14,

       0        // eod
};

void KWin::AbstractScript::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AbstractScript *_t = static_cast<AbstractScript *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->print((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->stop(); break;
        case 2: _t->run(); break;
        case 3: _t->slotPendingDBusCall((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        case 4: _t->globalShortcutTriggered(); break;
        case 5: { bool _r = _t->borderActivated((*reinterpret_cast< ElectricBorder(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 6: _t->actionDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (AbstractScript::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AbstractScript::print)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KWin::AbstractScript::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KWin__AbstractScript.data,
      qt_meta_data_KWin__AbstractScript,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::AbstractScript::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__AbstractScript.stringdata0))
        return static_cast<void*>(const_cast< AbstractScript*>(this));
    return QObject::qt_metacast(_clname);
}

int KWin::AbstractScript::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 < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 7;
    }
    return _id;
}

// SIGNAL 0
void KWin::AbstractScript::print(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_KWin__Script_t {
    QByteArrayData data[11];
    char stringdata0[134];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__Script_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__Script_t qt_meta_stringdata_KWin__Script = {
    {
QT_MOC_LITERAL(0, 0, 12), // "KWin::Script"
QT_MOC_LITERAL(1, 13, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 29, 22), // "org.kde.kwin.Scripting"
QT_MOC_LITERAL(3, 52, 10), // "printError"
QT_MOC_LITERAL(4, 63, 0), // ""
QT_MOC_LITERAL(5, 64, 4), // "text"
QT_MOC_LITERAL(6, 69, 3), // "run"
QT_MOC_LITERAL(7, 73, 12), // "sigException"
QT_MOC_LITERAL(8, 86, 12), // "QScriptValue"
QT_MOC_LITERAL(9, 99, 9), // "exception"
QT_MOC_LITERAL(10, 109, 24) // "slotScriptLoadedFromFile"

    },
    "KWin::Script\0D-Bus Interface\0"
    "org.kde.kwin.Scripting\0printError\0\0"
    "text\0run\0sigException\0QScriptValue\0"
    "exception\0slotScriptLoadedFromFile"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__Script[] = {

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

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    1,   36,    4, 0x46 /* Public | isScriptable */,

 // slots: name, argc, parameters, tag, flags
       6,    0,   39,    4, 0x4a /* Public | isScriptable */,
       7,    1,   40,    4, 0x08 /* Private */,
      10,    0,   43,    4, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    5,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void,

       0        // eod
};

void KWin::Script::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Script *_t = static_cast<Script *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->printError((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->run(); break;
        case 2: _t->sigException((*reinterpret_cast< const QScriptValue(*)>(_a[1]))); break;
        case 3: _t->slotScriptLoadedFromFile(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Script::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Script::printError)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KWin::Script::staticMetaObject = {
    { &AbstractScript::staticMetaObject, qt_meta_stringdata_KWin__Script.data,
      qt_meta_data_KWin__Script,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::Script::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__Script.stringdata0))
        return static_cast<void*>(const_cast< Script*>(this));
    return AbstractScript::qt_metacast(_clname);
}

int KWin::Script::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AbstractScript::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 4;
    }
    return _id;
}

// SIGNAL 0
void KWin::Script::printError(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_KWin__DeclarativeScript_t {
    QByteArrayData data[6];
    char stringdata0[84];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__DeclarativeScript_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__DeclarativeScript_t qt_meta_stringdata_KWin__DeclarativeScript = {
    {
QT_MOC_LITERAL(0, 0, 23), // "KWin::DeclarativeScript"
QT_MOC_LITERAL(1, 24, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 40, 22), // "org.kde.kwin.Scripting"
QT_MOC_LITERAL(3, 63, 3), // "run"
QT_MOC_LITERAL(4, 67, 0), // ""
QT_MOC_LITERAL(5, 68, 15) // "createComponent"

    },
    "KWin::DeclarativeScript\0D-Bus Interface\0"
    "org.kde.kwin.Scripting\0run\0\0createComponent"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__DeclarativeScript[] = {

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

 // classinfo: key, value
       1,    2,

 // slots: name, argc, parameters, tag, flags
       3,    0,   26,    4, 0x4a /* Public | isScriptable */,
       5,    0,   27,    4, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KWin::DeclarativeScript::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DeclarativeScript *_t = static_cast<DeclarativeScript *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->run(); break;
        case 1: _t->createComponent(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

const QMetaObject KWin::DeclarativeScript::staticMetaObject = {
    { &AbstractScript::staticMetaObject, qt_meta_stringdata_KWin__DeclarativeScript.data,
      qt_meta_data_KWin__DeclarativeScript,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::DeclarativeScript::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__DeclarativeScript.stringdata0))
        return static_cast<void*>(const_cast< DeclarativeScript*>(this));
    return AbstractScript::qt_metacast(_clname);
}

int KWin::DeclarativeScript::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AbstractScript::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 2;
    }
    return _id;
}
struct qt_meta_stringdata_KWin__JSEngineGlobalMethodsWrapper_t {
    QByteArrayData data[17];
    char stringdata0[218];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__JSEngineGlobalMethodsWrapper_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__JSEngineGlobalMethodsWrapper_t qt_meta_stringdata_KWin__JSEngineGlobalMethodsWrapper = {
    {
QT_MOC_LITERAL(0, 0, 34), // "KWin::JSEngineGlobalMethodsWr..."
QT_MOC_LITERAL(1, 35, 10), // "readConfig"
QT_MOC_LITERAL(2, 46, 0), // ""
QT_MOC_LITERAL(3, 47, 3), // "key"
QT_MOC_LITERAL(4, 51, 12), // "defaultValue"
QT_MOC_LITERAL(5, 64, 14), // "registerWindow"
QT_MOC_LITERAL(6, 79, 13), // "QQuickWindow*"
QT_MOC_LITERAL(7, 93, 6), // "window"
QT_MOC_LITERAL(8, 100, 16), // "ClientAreaOption"
QT_MOC_LITERAL(9, 117, 13), // "PlacementArea"
QT_MOC_LITERAL(10, 131, 12), // "MovementArea"
QT_MOC_LITERAL(11, 144, 12), // "MaximizeArea"
QT_MOC_LITERAL(12, 157, 16), // "MaximizeFullArea"
QT_MOC_LITERAL(13, 174, 14), // "FullScreenArea"
QT_MOC_LITERAL(14, 189, 8), // "WorkArea"
QT_MOC_LITERAL(15, 198, 8), // "FullArea"
QT_MOC_LITERAL(16, 207, 10) // "ScreenArea"

    },
    "KWin::JSEngineGlobalMethodsWrapper\0"
    "readConfig\0\0key\0defaultValue\0"
    "registerWindow\0QQuickWindow*\0window\0"
    "ClientAreaOption\0PlacementArea\0"
    "MovementArea\0MaximizeArea\0MaximizeFullArea\0"
    "FullScreenArea\0WorkArea\0FullArea\0"
    "ScreenArea"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__JSEngineGlobalMethodsWrapper[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    2,   29,    2, 0x0a /* Public */,
       1,    1,   34,    2, 0x2a /* Public | MethodCloned */,
       5,    1,   37,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::QVariant, QMetaType::QString, QMetaType::QVariant,    3,    4,
    QMetaType::QVariant, QMetaType::QString,    3,
    QMetaType::Void, 0x80000000 | 6,    7,

 // enums: name, flags, count, data
       8, 0x0,    8,   44,

 // enum data: key, value
       9, uint(KWin::JSEngineGlobalMethodsWrapper::PlacementArea),
      10, uint(KWin::JSEngineGlobalMethodsWrapper::MovementArea),
      11, uint(KWin::JSEngineGlobalMethodsWrapper::MaximizeArea),
      12, uint(KWin::JSEngineGlobalMethodsWrapper::MaximizeFullArea),
      13, uint(KWin::JSEngineGlobalMethodsWrapper::FullScreenArea),
      14, uint(KWin::JSEngineGlobalMethodsWrapper::WorkArea),
      15, uint(KWin::JSEngineGlobalMethodsWrapper::FullArea),
      16, uint(KWin::JSEngineGlobalMethodsWrapper::ScreenArea),

       0        // eod
};

void KWin::JSEngineGlobalMethodsWrapper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        JSEngineGlobalMethodsWrapper *_t = static_cast<JSEngineGlobalMethodsWrapper *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { QVariant _r = _t->readConfig((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; }  break;
        case 1: { QVariant _r = _t->readConfig((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; }  break;
        case 2: _t->registerWindow((*reinterpret_cast< QQuickWindow*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject KWin::JSEngineGlobalMethodsWrapper::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KWin__JSEngineGlobalMethodsWrapper.data,
      qt_meta_data_KWin__JSEngineGlobalMethodsWrapper,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::JSEngineGlobalMethodsWrapper::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__JSEngineGlobalMethodsWrapper.stringdata0))
        return static_cast<void*>(const_cast< JSEngineGlobalMethodsWrapper*>(this));
    return QObject::qt_metacast(_clname);
}

int KWin::JSEngineGlobalMethodsWrapper::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 < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 3;
    }
    return _id;
}
struct qt_meta_stringdata_KWin__Scripting_t {
    QByteArrayData data[14];
    char stringdata0[185];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__Scripting_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__Scripting_t qt_meta_stringdata_KWin__Scripting = {
    {
QT_MOC_LITERAL(0, 0, 15), // "KWin::Scripting"
QT_MOC_LITERAL(1, 16, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 32, 22), // "org.kde.kwin.Scripting"
QT_MOC_LITERAL(3, 55, 15), // "scriptDestroyed"
QT_MOC_LITERAL(4, 71, 0), // ""
QT_MOC_LITERAL(5, 72, 6), // "object"
QT_MOC_LITERAL(6, 79, 5), // "start"
QT_MOC_LITERAL(7, 85, 18), // "slotScriptsQueried"
QT_MOC_LITERAL(8, 104, 10), // "loadScript"
QT_MOC_LITERAL(9, 115, 8), // "filePath"
QT_MOC_LITERAL(10, 124, 10), // "pluginName"
QT_MOC_LITERAL(11, 135, 21), // "loadDeclarativeScript"
QT_MOC_LITERAL(12, 157, 14), // "isScriptLoaded"
QT_MOC_LITERAL(13, 172, 12) // "unloadScript"

    },
    "KWin::Scripting\0D-Bus Interface\0"
    "org.kde.kwin.Scripting\0scriptDestroyed\0"
    "\0object\0start\0slotScriptsQueried\0"
    "loadScript\0filePath\0pluginName\0"
    "loadDeclarativeScript\0isScriptLoaded\0"
    "unloadScript"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__Scripting[] = {

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

 // classinfo: key, value
       1,    2,

 // slots: name, argc, parameters, tag, flags
       3,    1,   61,    4, 0x0a /* Public */,
       6,    0,   64,    4, 0x4a /* Public | isScriptable */,
       7,    0,   65,    4, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
       8,    2,   66,    4, 0x42 /* Public | isScriptable */,
       8,    1,   71,    4, 0x62 /* Public | MethodCloned | isScriptable */,
      11,    2,   74,    4, 0x42 /* Public | isScriptable */,
      11,    1,   79,    4, 0x62 /* Public | MethodCloned | isScriptable */,
      12,    1,   82,    4, 0x42 /* Public | isScriptable */,
      13,    1,   85,    4, 0x42 /* Public | isScriptable */,

 // slots: parameters
    QMetaType::Void, QMetaType::QObjectStar,    5,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::Int, QMetaType::QString, QMetaType::QString,    9,   10,
    QMetaType::Int, QMetaType::QString,    9,
    QMetaType::Int, QMetaType::QString, QMetaType::QString,    9,   10,
    QMetaType::Int, QMetaType::QString,    9,
    QMetaType::Bool, QMetaType::QString,   10,
    QMetaType::Bool, QMetaType::QString,   10,

       0        // eod
};

void KWin::Scripting::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Scripting *_t = static_cast<Scripting *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->scriptDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 1: _t->start(); break;
        case 2: _t->slotScriptsQueried(); break;
        case 3: { int _r = _t->loadScript((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 4: { int _r = _t->loadScript((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 5: { int _r = _t->loadDeclarativeScript((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 6: { int _r = _t->loadDeclarativeScript((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 7: { bool _r = _t->isScriptLoaded((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 8: { bool _r = _t->unloadScript((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        default: ;
        }
    }
}

const QMetaObject KWin::Scripting::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KWin__Scripting.data,
      qt_meta_data_KWin__Scripting,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::Scripting::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__Scripting.stringdata0))
        return static_cast<void*>(const_cast< Scripting*>(this));
    return QObject::qt_metacast(_clname);
}

int KWin::Scripting::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 < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 9;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
