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

#include "../../src/kde-workspace-4.11.21/kwin/scripting/scripting_model.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'scripting_model.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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
static const uint qt_meta_data_KWin__ScriptingClientModel__ClientModel[] = {

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
       5,   14, // methods
       1,   39, // properties
       3,   43, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // signals: signature, parameters, type, tag, flags
      41,   40,   40,   40, 0x05,

 // slots: signature, parameters, type, tag, flags
      86,   61,   40,   40, 0x08,
     120,   40,   40,   40, 0x08,
     137,   61,   40,   40, 0x08,
     171,   40,   40,   40, 0x08,

 // properties: name, type, flags
     199,  188, 0x0049510b,

 // properties: notify_signal_id
       0,

 // enums: name, flags, count, data
     188, 0x1,   13,   55,
     210, 0x0,    4,   81,
     227, 0x1,    4,   89,

 // enum data: key, value
     245, uint(KWin::ScriptingClientModel::ClientModel::NoExclusion),
     257, uint(KWin::ScriptingClientModel::ClientModel::DesktopWindowsExclusion),
     281, uint(KWin::ScriptingClientModel::ClientModel::DockWindowsExclusion),
     302, uint(KWin::ScriptingClientModel::ClientModel::UtilityWindowsExclusion),
     326, uint(KWin::ScriptingClientModel::ClientModel::SpecialWindowsExclusion),
     350, uint(KWin::ScriptingClientModel::ClientModel::SkipTaskbarExclusion),
     371, uint(KWin::ScriptingClientModel::ClientModel::SkipPagerExclusion),
     390, uint(KWin::ScriptingClientModel::ClientModel::SwitchSwitcherExclusion),
     414, uint(KWin::ScriptingClientModel::ClientModel::OtherDesktopsExclusion),
     437, uint(KWin::ScriptingClientModel::ClientModel::OtherActivitiesExclusion),
     462, uint(KWin::ScriptingClientModel::ClientModel::MinimizedExclusion),
     481, uint(KWin::ScriptingClientModel::ClientModel::NonSelectedWindowTabExclusion),
     511, uint(KWin::ScriptingClientModel::ClientModel::NotAcceptingFocusExclusion),
     538, uint(KWin::ScriptingClientModel::ClientModel::NoRestriction),
     552, uint(KWin::ScriptingClientModel::ClientModel::VirtualDesktopRestriction),
     578, uint(KWin::ScriptingClientModel::ClientModel::ScreenRestriction),
     596, uint(KWin::ScriptingClientModel::ClientModel::ActivityRestriction),
     538, uint(KWin::ScriptingClientModel::ClientModel::NoRestriction),
     552, uint(KWin::ScriptingClientModel::ClientModel::VirtualDesktopRestriction),
     578, uint(KWin::ScriptingClientModel::ClientModel::ScreenRestriction),
     596, uint(KWin::ScriptingClientModel::ClientModel::ActivityRestriction),

       0        // eod
};

static const char qt_meta_stringdata_KWin__ScriptingClientModel__ClientModel[] = {
    "KWin::ScriptingClientModel::ClientModel\0"
    "\0exclusionsChanged()\0rowStart,rowEnd,parentId\0"
    "levelBeginInsert(int,int,quint32)\0"
    "levelEndInsert()\0levelBeginRemove(int,int,quint32)\0"
    "levelEndRemove()\0Exclusions\0exclusions\0"
    "LevelRestriction\0LevelRestrictions\0"
    "NoExclusion\0DesktopWindowsExclusion\0"
    "DockWindowsExclusion\0UtilityWindowsExclusion\0"
    "SpecialWindowsExclusion\0SkipTaskbarExclusion\0"
    "SkipPagerExclusion\0SwitchSwitcherExclusion\0"
    "OtherDesktopsExclusion\0OtherActivitiesExclusion\0"
    "MinimizedExclusion\0NonSelectedWindowTabExclusion\0"
    "NotAcceptingFocusExclusion\0NoRestriction\0"
    "VirtualDesktopRestriction\0ScreenRestriction\0"
    "ActivityRestriction\0"
};

void KWin::ScriptingClientModel::ClientModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        ClientModel *_t = static_cast<ClientModel *>(_o);
        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: ;
        }
    }
}

const QMetaObjectExtraData KWin::ScriptingClientModel::ClientModel::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KWin::ScriptingClientModel::ClientModel::staticMetaObject = {
    { &QAbstractItemModel::staticMetaObject, qt_meta_stringdata_KWin__ScriptingClientModel__ClientModel,
      qt_meta_data_KWin__ScriptingClientModel__ClientModel, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &KWin::ScriptingClientModel::ClientModel::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *KWin::ScriptingClientModel::ClientModel::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__ScriptingClientModel__ClientModel))
        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;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = QFlag(exclusions()); break;
        }
        _id -= 1;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setExclusions(QFlag(*reinterpret_cast<int*>(_v))); break;
        }
        _id -= 1;
    } else if (_c == QMetaObject::ResetProperty) {
        _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, 0);
}
static const uint qt_meta_data_KWin__ScriptingClientModel__AbstractLevel[] = {

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

 // signals: signature, parameters, type, tag, flags
      68,   43,   42,   42, 0x05,
      97,   42,   42,   42, 0x05,
     109,   43,   42,   42, 0x05,
     138,   42,   42,   42, 0x05,

       0        // eod
};

static const char qt_meta_stringdata_KWin__ScriptingClientModel__AbstractLevel[] = {
    "KWin::ScriptingClientModel::AbstractLevel\0"
    "\0rowStart,rowEnd,parentId\0"
    "beginInsert(int,int,quint32)\0endInsert()\0"
    "beginRemove(int,int,quint32)\0endRemove()\0"
};

void KWin::ScriptingClientModel::AbstractLevel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        AbstractLevel *_t = static_cast<AbstractLevel *>(_o);
        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: ;
        }
    }
}

const QMetaObjectExtraData KWin::ScriptingClientModel::AbstractLevel::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KWin::ScriptingClientModel::AbstractLevel::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KWin__ScriptingClientModel__AbstractLevel,
      qt_meta_data_KWin__ScriptingClientModel__AbstractLevel, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &KWin::ScriptingClientModel::AbstractLevel::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *KWin::ScriptingClientModel::AbstractLevel::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__ScriptingClientModel__AbstractLevel))
        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;
    }
    return _id;
}

// SIGNAL 0
void KWin::ScriptingClientModel::AbstractLevel::beginInsert(int _t1, int _t2, quint32 _t3)
{
    void *_a[] = { 0, 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, 0);
}

// SIGNAL 2
void KWin::ScriptingClientModel::AbstractLevel::beginRemove(int _t1, int _t2, quint32 _t3)
{
    void *_a[] = { 0, 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, 0);
}
static const uint qt_meta_data_KWin__ScriptingClientModel__ForkLevel[] = {

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

 // slots: signature, parameters, type, tag, flags
      62,   39,   38,   38, 0x08,
      93,   39,   38,   38, 0x08,
     124,  121,   38,   38, 0x08,
     147,  121,   38,   38, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_KWin__ScriptingClientModel__ForkLevel[] = {
    "KWin::ScriptingClientModel::ForkLevel\0"
    "\0previousCount,newCount\0"
    "desktopCountChanged(uint,uint)\0"
    "screenCountChanged(int,int)\0id\0"
    "activityAdded(QString)\0activityRemoved(QString)\0"
};

void KWin::ScriptingClientModel::ForkLevel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        ForkLevel *_t = static_cast<ForkLevel *>(_o);
        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 QMetaObjectExtraData KWin::ScriptingClientModel::ForkLevel::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KWin::ScriptingClientModel::ForkLevel::staticMetaObject = {
    { &AbstractLevel::staticMetaObject, qt_meta_stringdata_KWin__ScriptingClientModel__ForkLevel,
      qt_meta_data_KWin__ScriptingClientModel__ForkLevel, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &KWin::ScriptingClientModel::ForkLevel::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *KWin::ScriptingClientModel::ForkLevel::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__ScriptingClientModel__ForkLevel))
        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;
    }
    return _id;
}
static const uint qt_meta_data_KWin__ScriptingClientModel__ClientLevel[] = {

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

 // slots: signature, parameters, type, tag, flags
      48,   41,   40,   40, 0x0a,
      75,   41,   40,   40, 0x0a,
     104,   40,   40,   40, 0x08,
     118,   40,   40,   40, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_KWin__ScriptingClientModel__ClientLevel[] = {
    "KWin::ScriptingClientModel::ClientLevel\0"
    "\0client\0clientAdded(KWin::Client*)\0"
    "clientRemoved(KWin::Client*)\0checkClient()\0"
    "reInit()\0"
};

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

const QMetaObjectExtraData KWin::ScriptingClientModel::ClientLevel::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KWin::ScriptingClientModel::ClientLevel::staticMetaObject = {
    { &AbstractLevel::staticMetaObject, qt_meta_stringdata_KWin__ScriptingClientModel__ClientLevel,
      qt_meta_data_KWin__ScriptingClientModel__ClientLevel, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &KWin::ScriptingClientModel::ClientLevel::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *KWin::ScriptingClientModel::ClientLevel::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__ScriptingClientModel__ClientLevel))
        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 < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    return _id;
}
static const uint qt_meta_data_KWin__ScriptingClientModel__SimpleClientModel[] = {

 // content:
       6,       // 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
};

static const char qt_meta_stringdata_KWin__ScriptingClientModel__SimpleClientModel[] = {
    "KWin::ScriptingClientModel::SimpleClientModel\0"
};

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 QMetaObjectExtraData KWin::ScriptingClientModel::SimpleClientModel::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KWin::ScriptingClientModel::SimpleClientModel::staticMetaObject = {
    { &ClientModel::staticMetaObject, qt_meta_stringdata_KWin__ScriptingClientModel__SimpleClientModel,
      qt_meta_data_KWin__ScriptingClientModel__SimpleClientModel, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &KWin::ScriptingClientModel::SimpleClientModel::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *KWin::ScriptingClientModel::SimpleClientModel::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__ScriptingClientModel__SimpleClientModel))
        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;
}
static const uint qt_meta_data_KWin__ScriptingClientModel__ClientModelByScreen[] = {

 // content:
       6,       // 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
};

static const char qt_meta_stringdata_KWin__ScriptingClientModel__ClientModelByScreen[] = {
    "KWin::ScriptingClientModel::ClientModelByScreen\0"
};

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 QMetaObjectExtraData KWin::ScriptingClientModel::ClientModelByScreen::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KWin::ScriptingClientModel::ClientModelByScreen::staticMetaObject = {
    { &ClientModel::staticMetaObject, qt_meta_stringdata_KWin__ScriptingClientModel__ClientModelByScreen,
      qt_meta_data_KWin__ScriptingClientModel__ClientModelByScreen, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &KWin::ScriptingClientModel::ClientModelByScreen::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *KWin::ScriptingClientModel::ClientModelByScreen::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__ScriptingClientModel__ClientModelByScreen))
        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;
}
static const uint qt_meta_data_KWin__ScriptingClientModel__ClientModelByScreenAndDesktop[] = {

 // content:
       6,       // 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
};

static const char qt_meta_stringdata_KWin__ScriptingClientModel__ClientModelByScreenAndDesktop[] = {
    "KWin::ScriptingClientModel::ClientModelByScreenAndDesktop\0"
};

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 QMetaObjectExtraData KWin::ScriptingClientModel::ClientModelByScreenAndDesktop::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KWin::ScriptingClientModel::ClientModelByScreenAndDesktop::staticMetaObject = {
    { &ClientModel::staticMetaObject, qt_meta_stringdata_KWin__ScriptingClientModel__ClientModelByScreenAndDesktop,
      qt_meta_data_KWin__ScriptingClientModel__ClientModelByScreenAndDesktop, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &KWin::ScriptingClientModel::ClientModelByScreenAndDesktop::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *KWin::ScriptingClientModel::ClientModelByScreenAndDesktop::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__ScriptingClientModel__ClientModelByScreenAndDesktop))
        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;
}
static const uint qt_meta_data_KWin__ScriptingClientModel__ClientFilterModel[] = {

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

 // signals: signature, parameters, type, tag, flags
      47,   46,   46,   46, 0x05,
      68,   46,   46,   46, 0x05,

 // slots: signature, parameters, type, tag, flags
      96,   84,   46,   46, 0x0a,
     132,  125,   46,   46, 0x0a,

 // properties: name, type, flags
      84,  151, 0x0049510b,
     125,  192, 0x0a495103,

 // properties: notify_signal_id
       0,
       1,

       0        // eod
};

static const char qt_meta_stringdata_KWin__ScriptingClientModel__ClientFilterModel[] = {
    "KWin::ScriptingClientModel::ClientFilterModel\0"
    "\0clientModelChanged()\0filterChanged()\0"
    "clientModel\0setClientModel(ClientModel*)\0"
    "filter\0setFilter(QString)\0"
    "KWin::ScriptingClientModel::ClientModel*\0"
    "QString\0"
};

void KWin::ScriptingClientModel::ClientFilterModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        ClientFilterModel *_t = static_cast<ClientFilterModel *>(_o);
        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: ;
        }
    }
}

const QMetaObjectExtraData KWin::ScriptingClientModel::ClientFilterModel::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject KWin::ScriptingClientModel::ClientFilterModel::staticMetaObject = {
    { &QSortFilterProxyModel::staticMetaObject, qt_meta_stringdata_KWin__ScriptingClientModel__ClientFilterModel,
      qt_meta_data_KWin__ScriptingClientModel__ClientFilterModel, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &KWin::ScriptingClientModel::ClientFilterModel::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *KWin::ScriptingClientModel::ClientFilterModel::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__ScriptingClientModel__ClientFilterModel))
        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;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< KWin::ScriptingClientModel::ClientModel**>(_v) = clientModel(); break;
        case 1: *reinterpret_cast< QString*>(_v) = filter(); break;
        }
        _id -= 2;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setClientModel(*reinterpret_cast< KWin::ScriptingClientModel::ClientModel**>(_v)); break;
        case 1: setFilter(*reinterpret_cast< QString*>(_v)); break;
        }
        _id -= 2;
    } else if (_c == QMetaObject::ResetProperty) {
        _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, 0);
}

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