/****************************************************************************
** Meta object code from reading C++ file 'virtualdesktops.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/virtualdesktops.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'virtualdesktops.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__VirtualDesktopManager[] = {

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
      18,   14, // methods
       3,  104, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: signature, parameters, type, tag, flags
      52,   29,   28,   28, 0x05,
      90,   76,   28,   28, 0x05,
     139,  112,   28,   28, 0x05,
     178,  165,   28,   28, 0x05,
     201,   28,   28,   28, 0x05,

 // slots: signature, parameters, type, tag, flags
     241,  235,   28,   28, 0x0a,
     269,  261,  256,   28, 0x0a,
     286,   28,   28,   28, 0x0a,
     309,  301,   28,   28, 0x0a,
     343,   28,   28,   28, 0x0a,
     350,   28,   28,   28, 0x0a,
     357,   28,   28,   28, 0x08,
     372,   28,   28,   28, 0x08,
     383,   28,   28,   28, 0x08,
     398,   28,   28,   28, 0x08,
     410,   28,   28,   28, 0x08,
     421,   28,   28,   28, 0x08,
     430,   28,   28,   28, 0x08,

 // properties: name, type, flags
     235,  441, 0x03495103,
     261,  441, 0x03495103,
     446,  256, 0x01495103,

 // properties: notify_signal_id
       0,
       2,
       4,

       0        // eod
};

static const char qt_meta_stringdata_KWin__VirtualDesktopManager[] = {
    "KWin::VirtualDesktopManager\0\0"
    "previousCount,newCount\0countChanged(uint,uint)\0"
    "previousCount\0desktopsRemoved(uint)\0"
    "previousDesktop,newDesktop\0"
    "currentChanged(uint,uint)\0columns,rows\0"
    "layoutChanged(int,int)\0"
    "navigationWrappingAroundChanged()\0"
    "count\0setCount(uint)\0bool\0current\0"
    "setCurrent(uint)\0updateLayout()\0enabled\0"
    "setNavigationWrappingAround(bool)\0"
    "load()\0save()\0slotSwitchTo()\0slotNext()\0"
    "slotPrevious()\0slotRight()\0slotLeft()\0"
    "slotUp()\0slotDown()\0uint\0"
    "navigationWrappingAround\0"
};

void KWin::VirtualDesktopManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        VirtualDesktopManager *_t = static_cast<VirtualDesktopManager *>(_o);
        switch (_id) {
        case 0: _t->countChanged((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
        case 1: _t->desktopsRemoved((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 2: _t->currentChanged((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
        case 3: _t->layoutChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 4: _t->navigationWrappingAroundChanged(); break;
        case 5: _t->setCount((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 6: { bool _r = _t->setCurrent((*reinterpret_cast< uint(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 7: _t->updateLayout(); break;
        case 8: _t->setNavigationWrappingAround((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->load(); break;
        case 10: _t->save(); break;
        case 11: _t->slotSwitchTo(); break;
        case 12: _t->slotNext(); break;
        case 13: _t->slotPrevious(); break;
        case 14: _t->slotRight(); break;
        case 15: _t->slotLeft(); break;
        case 16: _t->slotUp(); break;
        case 17: _t->slotDown(); break;
        default: ;
        }
    }
}

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

const QMetaObject KWin::VirtualDesktopManager::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KWin__VirtualDesktopManager,
      qt_meta_data_KWin__VirtualDesktopManager, &staticMetaObjectExtraData }
};

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

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

void *KWin::VirtualDesktopManager::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__VirtualDesktopManager))
        return static_cast<void*>(const_cast< VirtualDesktopManager*>(this));
    return QObject::qt_metacast(_clname);
}

int KWin::VirtualDesktopManager::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 < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< uint*>(_v) = count(); break;
        case 1: *reinterpret_cast< uint*>(_v) = current(); break;
        case 2: *reinterpret_cast< bool*>(_v) = isNavigationWrappingAround(); break;
        }
        _id -= 3;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setCount(*reinterpret_cast< uint*>(_v)); break;
        case 1: setCurrent(*reinterpret_cast< uint*>(_v)); break;
        case 2: setNavigationWrappingAround(*reinterpret_cast< bool*>(_v)); break;
        }
        _id -= 3;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KWin::VirtualDesktopManager::countChanged(uint _t1, uint _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KWin::VirtualDesktopManager::desktopsRemoved(uint _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KWin::VirtualDesktopManager::currentChanged(uint _t1, uint _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KWin::VirtualDesktopManager::layoutChanged(int _t1, int _t2)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void KWin::VirtualDesktopManager::navigationWrappingAroundChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, 0);
}
QT_END_MOC_NAMESPACE
