/****************************************************************************
** Meta object code from reading C++ file 'scripting_model.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_model.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'scripting_model.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__ScriptingClientModel__ClientModel_t {
    QByteArrayData data[31];
    char stringdata0[576];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__ScriptingClientModel__ClientModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__ScriptingClientModel__ClientModel_t qt_meta_stringdata_KWin__ScriptingClientModel__ClientModel = {
    {
QT_MOC_LITERAL(0, 0, 39), // "KWin::ScriptingClientModel::C..."
QT_MOC_LITERAL(1, 40, 17), // "exclusionsChanged"
QT_MOC_LITERAL(2, 58, 0), // ""
QT_MOC_LITERAL(3, 59, 16), // "levelBeginInsert"
QT_MOC_LITERAL(4, 76, 8), // "rowStart"
QT_MOC_LITERAL(5, 85, 6), // "rowEnd"
QT_MOC_LITERAL(6, 92, 8), // "parentId"
QT_MOC_LITERAL(7, 101, 14), // "levelEndInsert"
QT_MOC_LITERAL(8, 116, 16), // "levelBeginRemove"
QT_MOC_LITERAL(9, 133, 14), // "levelEndRemove"
QT_MOC_LITERAL(10, 148, 10), // "exclusions"
QT_MOC_LITERAL(11, 159, 10), // "Exclusions"
QT_MOC_LITERAL(12, 170, 11), // "NoExclusion"
QT_MOC_LITERAL(13, 182, 23), // "DesktopWindowsExclusion"
QT_MOC_LITERAL(14, 206, 20), // "DockWindowsExclusion"
QT_MOC_LITERAL(15, 227, 23), // "UtilityWindowsExclusion"
QT_MOC_LITERAL(16, 251, 23), // "SpecialWindowsExclusion"
QT_MOC_LITERAL(17, 275, 20), // "SkipTaskbarExclusion"
QT_MOC_LITERAL(18, 296, 18), // "SkipPagerExclusion"
QT_MOC_LITERAL(19, 315, 23), // "SwitchSwitcherExclusion"
QT_MOC_LITERAL(20, 339, 22), // "OtherDesktopsExclusion"
QT_MOC_LITERAL(21, 362, 24), // "OtherActivitiesExclusion"
QT_MOC_LITERAL(22, 387, 18), // "MinimizedExclusion"
QT_MOC_LITERAL(23, 406, 29), // "NonSelectedWindowTabExclusion"
QT_MOC_LITERAL(24, 436, 26), // "NotAcceptingFocusExclusion"
QT_MOC_LITERAL(25, 463, 16), // "LevelRestriction"
QT_MOC_LITERAL(26, 480, 13), // "NoRestriction"
QT_MOC_LITERAL(27, 494, 25), // "VirtualDesktopRestriction"
QT_MOC_LITERAL(28, 520, 17), // "ScreenRestriction"
QT_MOC_LITERAL(29, 538, 19), // "ActivityRestriction"
QT_MOC_LITERAL(30, 558, 17) // "LevelRestrictions"

    },
    "KWin::ScriptingClientModel::ClientModel\0"
    "exclusionsChanged\0\0levelBeginInsert\0"
    "rowStart\0rowEnd\0parentId\0levelEndInsert\0"
    "levelBeginRemove\0levelEndRemove\0"
    "exclusions\0Exclusions\0NoExclusion\0"
    "DesktopWindowsExclusion\0DockWindowsExclusion\0"
    "UtilityWindowsExclusion\0SpecialWindowsExclusion\0"
    "SkipTaskbarExclusion\0SkipPagerExclusion\0"
    "SwitchSwitcherExclusion\0OtherDesktopsExclusion\0"
    "OtherActivitiesExclusion\0MinimizedExclusion\0"
    "NonSelectedWindowTabExclusion\0"
    "NotAcceptingFocusExclusion\0LevelRestriction\0"
    "NoRestriction\0VirtualDesktopRestriction\0"
    "ScreenRestriction\0ActivityRestriction\0"
    "LevelRestrictions"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__ScriptingClientModel__ClientModel[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    3,   40,    2, 0x08 /* Private */,
       7,    0,   47,    2, 0x08 /* Private */,
       8,    3,   48,    2, 0x08 /* Private */,
       9,    0,   55,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::UInt,    4,    5,    6,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::UInt,    4,    5,    6,
    QMetaType::Void,

 // properties: name, type, flags
      10, 0x80000000 | 11, 0x0049510b,

 // properties: notify_signal_id
       0,

 // enums: name, flags, count, data
      11, 0x1,   13,   72,
      25, 0x0,    4,   98,
      30, 0x1,    4,  106,

 // enum data: key, value
      12, uint(KWin::ScriptingClientModel::ClientModel::NoExclusion),
      13, uint(KWin::ScriptingClientModel::ClientModel::DesktopWindowsExclusion),
      14, uint(KWin::ScriptingClientModel::ClientModel::DockWindowsExclusion),
      15, uint(KWin::ScriptingClientModel::ClientModel::UtilityWindowsExclusion),
      16, uint(KWin::ScriptingClientModel::ClientModel::SpecialWindowsExclusion),
      17, uint(KWin::ScriptingClientModel::ClientModel::SkipTaskbarExclusion),
      18, uint(KWin::ScriptingClientModel::ClientModel::SkipPagerExclusion),
      19, uint(KWin::ScriptingClientModel::ClientModel::SwitchSwitcherExclusion),
      20, uint(KWin::ScriptingClientModel::ClientModel::OtherDesktopsExclusion),
      21, uint(KWin::ScriptingClientModel::ClientModel::OtherActivitiesExclusion),
      22, uint(KWin::ScriptingClientModel::ClientModel::MinimizedExclusion),
      23, uint(KWin::ScriptingClientModel::ClientModel::NonSelectedWindowTabExclusion),
      24, uint(KWin::ScriptingClientModel::ClientModel::NotAcceptingFocusExclusion),
      26, uint(KWin::ScriptingClientModel::ClientModel::NoRestriction),
      27, uint(KWin::ScriptingClientModel::ClientModel::VirtualDesktopRestriction),
      28, uint(KWin::ScriptingClientModel::ClientModel::ScreenRestriction),
      29, uint(KWin::ScriptingClientModel::ClientModel::ActivityRestriction),
      26, uint(KWin::ScriptingClientModel::ClientModel::NoRestriction),
      27, uint(KWin::ScriptingClientModel::ClientModel::VirtualDesktopRestriction),
      28, uint(KWin::ScriptingClientModel::ClientModel::ScreenRestriction),
      29, uint(KWin::ScriptingClientModel::ClientModel::ActivityRestriction),

       0        // eod
};

void KWin::ScriptingClientModel::ClientModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ClientModel *_t = static_cast<ClientModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->exclusionsChanged(); break;
        case 1: _t->levelBeginInsert((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< quint32(*)>(_a[3]))); break;
        case 2: _t->levelEndInsert(); break;
        case 3: _t->levelBeginRemove((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< quint32(*)>(_a[3]))); break;
        case 4: _t->levelEndRemove(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (ClientModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ClientModel::exclusionsChanged)) {
                *result = 0;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        ClientModel *_t = static_cast<ClientModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = QFlag(_t->exclusions()); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        ClientModel *_t = static_cast<ClientModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setExclusions(QFlag(*reinterpret_cast<int*>(_v))); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KWin::ScriptingClientModel::ClientModel::staticMetaObject = {
    { &QAbstractItemModel::staticMetaObject, qt_meta_stringdata_KWin__ScriptingClientModel__ClientModel.data,
      qt_meta_data_KWin__ScriptingClientModel__ClientModel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::ScriptingClientModel::ClientModel::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__ScriptingClientModel__ClientModel.stringdata0))
        return static_cast<void*>(const_cast< ClientModel*>(this));
    return QAbstractItemModel::qt_metacast(_clname);
}

int KWin::ScriptingClientModel::ClientModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractItemModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 5;
    }
#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 KWin::ScriptingClientModel::ClientModel::exclusionsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}
struct qt_meta_stringdata_KWin__ScriptingClientModel__AbstractLevel_t {
    QByteArrayData data[9];
    char stringdata0[112];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__ScriptingClientModel__AbstractLevel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__ScriptingClientModel__AbstractLevel_t qt_meta_stringdata_KWin__ScriptingClientModel__AbstractLevel = {
    {
QT_MOC_LITERAL(0, 0, 41), // "KWin::ScriptingClientModel::A..."
QT_MOC_LITERAL(1, 42, 11), // "beginInsert"
QT_MOC_LITERAL(2, 54, 0), // ""
QT_MOC_LITERAL(3, 55, 8), // "rowStart"
QT_MOC_LITERAL(4, 64, 6), // "rowEnd"
QT_MOC_LITERAL(5, 71, 8), // "parentId"
QT_MOC_LITERAL(6, 80, 9), // "endInsert"
QT_MOC_LITERAL(7, 90, 11), // "beginRemove"
QT_MOC_LITERAL(8, 102, 9) // "endRemove"

    },
    "KWin::ScriptingClientModel::AbstractLevel\0"
    "beginInsert\0\0rowStart\0rowEnd\0parentId\0"
    "endInsert\0beginRemove\0endRemove"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__ScriptingClientModel__AbstractLevel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    3,   34,    2, 0x06 /* Public */,
       6,    0,   41,    2, 0x06 /* Public */,
       7,    3,   42,    2, 0x06 /* Public */,
       8,    0,   49,    2, 0x06 /* Public */,

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

       0        // eod
};

void KWin::ScriptingClientModel::AbstractLevel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AbstractLevel *_t = static_cast<AbstractLevel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->beginInsert((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< quint32(*)>(_a[3]))); break;
        case 1: _t->endInsert(); break;
        case 2: _t->beginRemove((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< quint32(*)>(_a[3]))); break;
        case 3: _t->endRemove(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (AbstractLevel::*_t)(int , int , quint32 );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AbstractLevel::beginInsert)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (AbstractLevel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AbstractLevel::endInsert)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (AbstractLevel::*_t)(int , int , quint32 );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AbstractLevel::beginRemove)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (AbstractLevel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AbstractLevel::endRemove)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject KWin::ScriptingClientModel::AbstractLevel::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KWin__ScriptingClientModel__AbstractLevel.data,
      qt_meta_data_KWin__ScriptingClientModel__AbstractLevel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KWin::ScriptingClientModel::AbstractLevel::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 < 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::ScriptingClientModel::AbstractLevel::beginInsert(int _t1, int _t2, quint32 _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 KWin::ScriptingClientModel::AbstractLevel::endInsert()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void KWin::ScriptingClientModel::AbstractLevel::beginRemove(int _t1, int _t2, quint32 _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, 2, _a);
}

// SIGNAL 3
void KWin::ScriptingClientModel::AbstractLevel::endRemove()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}
struct qt_meta_stringdata_KWin__ScriptingClientModel__ForkLevel_t {
    QByteArrayData data[9];
    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__ScriptingClientModel__ForkLevel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__ScriptingClientModel__ForkLevel_t qt_meta_stringdata_KWin__ScriptingClientModel__ForkLevel = {
    {
QT_MOC_LITERAL(0, 0, 37), // "KWin::ScriptingClientModel::F..."
QT_MOC_LITERAL(1, 38, 19), // "desktopCountChanged"
QT_MOC_LITERAL(2, 58, 0), // ""
QT_MOC_LITERAL(3, 59, 13), // "previousCount"
QT_MOC_LITERAL(4, 73, 8), // "newCount"
QT_MOC_LITERAL(5, 82, 18), // "screenCountChanged"
QT_MOC_LITERAL(6, 101, 13), // "activityAdded"
QT_MOC_LITERAL(7, 115, 2), // "id"
QT_MOC_LITERAL(8, 118, 15) // "activityRemoved"

    },
    "KWin::ScriptingClientModel::ForkLevel\0"
    "desktopCountChanged\0\0previousCount\0"
    "newCount\0screenCountChanged\0activityAdded\0"
    "id\0activityRemoved"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__ScriptingClientModel__ForkLevel[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    2,   34,    2, 0x08 /* Private */,
       5,    2,   39,    2, 0x08 /* Private */,
       6,    1,   44,    2, 0x08 /* Private */,
       8,    1,   47,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::UInt, QMetaType::UInt,    3,    4,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    3,    4,
    QMetaType::Void, QMetaType::QString,    7,
    QMetaType::Void, QMetaType::QString,    7,

       0        // eod
};

void KWin::ScriptingClientModel::ForkLevel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ForkLevel *_t = static_cast<ForkLevel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->desktopCountChanged((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
        case 1: _t->screenCountChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->activityAdded((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->activityRemoved((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject KWin::ScriptingClientModel::ForkLevel::staticMetaObject = {
    { &AbstractLevel::staticMetaObject, qt_meta_stringdata_KWin__ScriptingClientModel__ForkLevel.data,
      qt_meta_data_KWin__ScriptingClientModel__ForkLevel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::ScriptingClientModel::ForkLevel::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__ScriptingClientModel__ForkLevel.stringdata0))
        return static_cast<void*>(const_cast< ForkLevel*>(this));
    return AbstractLevel::qt_metacast(_clname);
}

int KWin::ScriptingClientModel::ForkLevel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AbstractLevel::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;
}
struct qt_meta_stringdata_KWin__ScriptingClientModel__ClientLevel_t {
    QByteArrayData data[7];
    char stringdata0[103];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__ScriptingClientModel__ClientLevel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__ScriptingClientModel__ClientLevel_t qt_meta_stringdata_KWin__ScriptingClientModel__ClientLevel = {
    {
QT_MOC_LITERAL(0, 0, 39), // "KWin::ScriptingClientModel::C..."
QT_MOC_LITERAL(1, 40, 11), // "clientAdded"
QT_MOC_LITERAL(2, 52, 0), // ""
QT_MOC_LITERAL(3, 53, 21), // "KWin::AbstractClient*"
QT_MOC_LITERAL(4, 75, 6), // "client"
QT_MOC_LITERAL(5, 82, 13), // "clientRemoved"
QT_MOC_LITERAL(6, 96, 6) // "reInit"

    },
    "KWin::ScriptingClientModel::ClientLevel\0"
    "clientAdded\0\0KWin::AbstractClient*\0"
    "client\0clientRemoved\0reInit"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__ScriptingClientModel__ClientLevel[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   29,    2, 0x0a /* Public */,
       5,    1,   32,    2, 0x0a /* Public */,
       6,    0,   35,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,

       0        // eod
};

void KWin::ScriptingClientModel::ClientLevel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ClientLevel *_t = static_cast<ClientLevel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->clientAdded((*reinterpret_cast< KWin::AbstractClient*(*)>(_a[1]))); break;
        case 1: _t->clientRemoved((*reinterpret_cast< KWin::AbstractClient*(*)>(_a[1]))); break;
        case 2: _t->reInit(); break;
        default: ;
        }
    }
}

const QMetaObject KWin::ScriptingClientModel::ClientLevel::staticMetaObject = {
    { &AbstractLevel::staticMetaObject, qt_meta_stringdata_KWin__ScriptingClientModel__ClientLevel.data,
      qt_meta_data_KWin__ScriptingClientModel__ClientLevel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::ScriptingClientModel::ClientLevel::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__ScriptingClientModel__ClientLevel.stringdata0))
        return static_cast<void*>(const_cast< ClientLevel*>(this));
    return AbstractLevel::qt_metacast(_clname);
}

int KWin::ScriptingClientModel::ClientLevel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AbstractLevel::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__ScriptingClientModel__SimpleClientModel_t {
    QByteArrayData data[1];
    char stringdata0[46];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__ScriptingClientModel__SimpleClientModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__ScriptingClientModel__SimpleClientModel_t qt_meta_stringdata_KWin__ScriptingClientModel__SimpleClientModel = {
    {
QT_MOC_LITERAL(0, 0, 45) // "KWin::ScriptingClientModel::S..."

    },
    "KWin::ScriptingClientModel::SimpleClientModel"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__ScriptingClientModel__SimpleClientModel[] = {

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

       0        // eod
};

void KWin::ScriptingClientModel::SimpleClientModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject KWin::ScriptingClientModel::SimpleClientModel::staticMetaObject = {
    { &ClientModel::staticMetaObject, qt_meta_stringdata_KWin__ScriptingClientModel__SimpleClientModel.data,
      qt_meta_data_KWin__ScriptingClientModel__SimpleClientModel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::ScriptingClientModel::SimpleClientModel::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__ScriptingClientModel__SimpleClientModel.stringdata0))
        return static_cast<void*>(const_cast< SimpleClientModel*>(this));
    return ClientModel::qt_metacast(_clname);
}

int KWin::ScriptingClientModel::SimpleClientModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ClientModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
struct qt_meta_stringdata_KWin__ScriptingClientModel__ClientModelByScreen_t {
    QByteArrayData data[1];
    char stringdata0[48];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__ScriptingClientModel__ClientModelByScreen_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__ScriptingClientModel__ClientModelByScreen_t qt_meta_stringdata_KWin__ScriptingClientModel__ClientModelByScreen = {
    {
QT_MOC_LITERAL(0, 0, 47) // "KWin::ScriptingClientModel::C..."

    },
    "KWin::ScriptingClientModel::ClientModelByScreen"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__ScriptingClientModel__ClientModelByScreen[] = {

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

       0        // eod
};

void KWin::ScriptingClientModel::ClientModelByScreen::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject KWin::ScriptingClientModel::ClientModelByScreen::staticMetaObject = {
    { &ClientModel::staticMetaObject, qt_meta_stringdata_KWin__ScriptingClientModel__ClientModelByScreen.data,
      qt_meta_data_KWin__ScriptingClientModel__ClientModelByScreen,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::ScriptingClientModel::ClientModelByScreen::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__ScriptingClientModel__ClientModelByScreen.stringdata0))
        return static_cast<void*>(const_cast< ClientModelByScreen*>(this));
    return ClientModel::qt_metacast(_clname);
}

int KWin::ScriptingClientModel::ClientModelByScreen::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ClientModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
struct qt_meta_stringdata_KWin__ScriptingClientModel__ClientModelByScreenAndDesktop_t {
    QByteArrayData data[1];
    char stringdata0[58];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__ScriptingClientModel__ClientModelByScreenAndDesktop_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__ScriptingClientModel__ClientModelByScreenAndDesktop_t qt_meta_stringdata_KWin__ScriptingClientModel__ClientModelByScreenAndDesktop = {
    {
QT_MOC_LITERAL(0, 0, 57) // "KWin::ScriptingClientModel::C..."

    },
    "KWin::ScriptingClientModel::ClientModelByScreenAndDesktop"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__ScriptingClientModel__ClientModelByScreenAndDesktop[] = {

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

       0        // eod
};

void KWin::ScriptingClientModel::ClientModelByScreenAndDesktop::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject KWin::ScriptingClientModel::ClientModelByScreenAndDesktop::staticMetaObject = {
    { &ClientModel::staticMetaObject, qt_meta_stringdata_KWin__ScriptingClientModel__ClientModelByScreenAndDesktop.data,
      qt_meta_data_KWin__ScriptingClientModel__ClientModelByScreenAndDesktop,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::ScriptingClientModel::ClientModelByScreenAndDesktop::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__ScriptingClientModel__ClientModelByScreenAndDesktop.stringdata0))
        return static_cast<void*>(const_cast< ClientModelByScreenAndDesktop*>(this));
    return ClientModel::qt_metacast(_clname);
}

int KWin::ScriptingClientModel::ClientModelByScreenAndDesktop::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ClientModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
struct qt_meta_stringdata_KWin__ScriptingClientModel__ClientFilterModel_t {
    QByteArrayData data[10];
    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__ScriptingClientModel__ClientFilterModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__ScriptingClientModel__ClientFilterModel_t qt_meta_stringdata_KWin__ScriptingClientModel__ClientFilterModel = {
    {
QT_MOC_LITERAL(0, 0, 45), // "KWin::ScriptingClientModel::C..."
QT_MOC_LITERAL(1, 46, 18), // "clientModelChanged"
QT_MOC_LITERAL(2, 65, 0), // ""
QT_MOC_LITERAL(3, 66, 13), // "filterChanged"
QT_MOC_LITERAL(4, 80, 14), // "setClientModel"
QT_MOC_LITERAL(5, 95, 12), // "ClientModel*"
QT_MOC_LITERAL(6, 108, 11), // "clientModel"
QT_MOC_LITERAL(7, 120, 9), // "setFilter"
QT_MOC_LITERAL(8, 130, 6), // "filter"
QT_MOC_LITERAL(9, 137, 40) // "KWin::ScriptingClientModel::C..."

    },
    "KWin::ScriptingClientModel::ClientFilterModel\0"
    "clientModelChanged\0\0filterChanged\0"
    "setClientModel\0ClientModel*\0clientModel\0"
    "setFilter\0filter\0"
    "KWin::ScriptingClientModel::ClientModel*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__ScriptingClientModel__ClientFilterModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   34,    2, 0x06 /* Public */,
       3,    0,   35,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    1,   36,    2, 0x0a /* Public */,
       7,    1,   39,    2, 0x0a /* Public */,

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

 // slots: parameters
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, QMetaType::QString,    8,

 // properties: name, type, flags
       6, 0x80000000 | 9, 0x0049510b,
       8, QMetaType::QString, 0x00495103,

 // properties: notify_signal_id
       0,
       1,

       0        // eod
};

void KWin::ScriptingClientModel::ClientFilterModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ClientFilterModel *_t = static_cast<ClientFilterModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->clientModelChanged(); break;
        case 1: _t->filterChanged(); break;
        case 2: _t->setClientModel((*reinterpret_cast< ClientModel*(*)>(_a[1]))); break;
        case 3: _t->setFilter((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ClientModel* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (ClientFilterModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ClientFilterModel::clientModelChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ClientFilterModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ClientFilterModel::filterChanged)) {
                *result = 1;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KWin::ScriptingClientModel::ClientModel* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        ClientFilterModel *_t = static_cast<ClientFilterModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< KWin::ScriptingClientModel::ClientModel**>(_v) = _t->clientModel(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->filter(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        ClientFilterModel *_t = static_cast<ClientFilterModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setClientModel(*reinterpret_cast< KWin::ScriptingClientModel::ClientModel**>(_v)); break;
        case 1: _t->setFilter(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KWin::ScriptingClientModel::ClientFilterModel::staticMetaObject = {
    { &QSortFilterProxyModel::staticMetaObject, qt_meta_stringdata_KWin__ScriptingClientModel__ClientFilterModel.data,
      qt_meta_data_KWin__ScriptingClientModel__ClientFilterModel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::ScriptingClientModel::ClientFilterModel::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__ScriptingClientModel__ClientFilterModel.stringdata0))
        return static_cast<void*>(const_cast< ClientFilterModel*>(this));
    return QSortFilterProxyModel::qt_metacast(_clname);
}

int KWin::ScriptingClientModel::ClientFilterModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QSortFilterProxyModel::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
#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 -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KWin::ScriptingClientModel::ClientFilterModel::clientModelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void KWin::ScriptingClientModel::ClientFilterModel::filterChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
