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

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

 // slots: signature, parameters, type, tag, flags
      32,   31,   31,   31, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_KWin__CompositorSelectionOwner[] = {
    "KWin::CompositorSelectionOwner\0\0"
    "looseOwnership()\0"
};

void KWin::CompositorSelectionOwner::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        CompositorSelectionOwner *_t = static_cast<CompositorSelectionOwner *>(_o);
        switch (_id) {
        case 0: _t->looseOwnership(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

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

const QMetaObject KWin::CompositorSelectionOwner::staticMetaObject = {
    { &KSelectionOwner::staticMetaObject, qt_meta_stringdata_KWin__CompositorSelectionOwner,
      qt_meta_data_KWin__CompositorSelectionOwner, &staticMetaObjectExtraData }
};

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

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

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

int KWin::CompositorSelectionOwner::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KSelectionOwner::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}
static const uint qt_meta_data_KWin__Compositor[] = {

 // content:
       6,       // revision
       0,       // classname
       1,   14, // classinfo
      25,   16, // methods
       5,  141, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // classinfo: key, value
      42,   17,

 // signals: signature, parameters, type, tag, flags
      66,   59,   58,   58, 0x45,

 // slots: signature, parameters, type, tag, flags
      91,   58,   58,   58, 0x0a,
     108,   58,   58,   58, 0x4a,
     128,   58,   58,   58, 0x4a,
     145,  138,   58,   58, 0x0a,
     180,   58,   58,   58, 0x4a,
     189,  138,   58,   58, 0x0a,
     223,   59,   58,   58, 0x4a,
     244,   58,   58,   58, 0x0a,
     268,   58,   58,   58, 0x0a,
     287,   58,   58,   58, 0x0a,
     305,   58,   58,   58, 0x0a,
     329,  323,   58,   58, 0x0a,
     351,   58,   58,   58, 0x0a,
     379,  377,   58,   58, 0x0a,
     418,   58,   58,   58, 0x08,
     426,   58,   58,   58, 0x08,
     462,   58,   58,   58, 0x08,
     471,   58,   58,   58, 0x08,
     481,   58,   58,   58, 0x08,
     512,   58,   58,   58, 0x08,
     533,   58,   58,   58, 0x08,
     558,   58,   58,   58, 0x08,
     578,   58,   58,   58, 0x08,
     607,   58,   58,   58, 0x08,

 // properties: name, type, flags
      59,  639, 0x01095001,
     644,  639, 0x01095001,
     672,  664, 0x0a095001,
     701,  639, 0x01095001,
     716,  664, 0x0a095001,

       0        // eod
};

static const char qt_meta_stringdata_KWin__Compositor[] = {
    "KWin::Compositor\0org.kde.kwin.Compositing\0"
    "D-Bus Interface\0\0active\0"
    "compositingToggled(bool)\0addRepaintFull()\0"
    "toggleCompositing()\0suspend()\0reason\0"
    "suspend(Compositor::SuspendReason)\0"
    "resume()\0resume(Compositor::SuspendReason)\0"
    "setCompositing(bool)\0slotToggleCompositing()\0"
    "slotReinitialize()\0scheduleRepaint()\0"
    "checkUnredirect()\0force\0checkUnredirect(bool)\0"
    "updateCompositeBlocking()\0c\0"
    "updateCompositeBlocking(KWin::Client*)\0"
    "setup()\0slotCompositingOptionsInitialized()\0"
    "finish()\0restart()\0fallbackToXRenderCompositing()\0"
    "performCompositing()\0delayedCheckUnredirect()\0"
    "slotConfigChanged()\0releaseCompositorSelection()\0"
    "deleteUnusedSupportProperties()\0bool\0"
    "compositingPossible\0QString\0"
    "compositingNotPossibleReason\0"
    "openGLIsBroken\0compositingType\0"
};

void KWin::Compositor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        Compositor *_t = static_cast<Compositor *>(_o);
        switch (_id) {
        case 0: _t->compositingToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->addRepaintFull(); break;
        case 2: _t->toggleCompositing(); break;
        case 3: _t->suspend(); break;
        case 4: _t->suspend((*reinterpret_cast< Compositor::SuspendReason(*)>(_a[1]))); break;
        case 5: _t->resume(); break;
        case 6: _t->resume((*reinterpret_cast< Compositor::SuspendReason(*)>(_a[1]))); break;
        case 7: _t->setCompositing((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->slotToggleCompositing(); break;
        case 9: _t->slotReinitialize(); break;
        case 10: _t->scheduleRepaint(); break;
        case 11: _t->checkUnredirect(); break;
        case 12: _t->checkUnredirect((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 13: _t->updateCompositeBlocking(); break;
        case 14: _t->updateCompositeBlocking((*reinterpret_cast< KWin::Client*(*)>(_a[1]))); break;
        case 15: _t->setup(); break;
        case 16: _t->slotCompositingOptionsInitialized(); break;
        case 17: _t->finish(); break;
        case 18: _t->restart(); break;
        case 19: _t->fallbackToXRenderCompositing(); break;
        case 20: _t->performCompositing(); break;
        case 21: _t->delayedCheckUnredirect(); break;
        case 22: _t->slotConfigChanged(); break;
        case 23: _t->releaseCompositorSelection(); break;
        case 24: _t->deleteUnusedSupportProperties(); break;
        default: ;
        }
    }
}

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

const QMetaObject KWin::Compositor::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KWin__Compositor,
      qt_meta_data_KWin__Compositor, &staticMetaObjectExtraData }
};

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

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

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

int KWin::Compositor::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 < 25)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 25;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = isActive(); break;
        case 1: *reinterpret_cast< bool*>(_v) = isCompositingPossible(); break;
        case 2: *reinterpret_cast< QString*>(_v) = compositingNotPossibleReason(); break;
        case 3: *reinterpret_cast< bool*>(_v) = isOpenGLBroken(); break;
        case 4: *reinterpret_cast< QString*>(_v) = compositingType(); break;
        }
        _id -= 5;
    } else if (_c == QMetaObject::WriteProperty) {
        _id -= 5;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KWin::Compositor::compositingToggled(bool _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
