/****************************************************************************
** Meta object code from reading C++ file 'composite.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/composite.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'composite.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__CompositorSelectionOwner_t {
    QByteArrayData data[3];
    char stringdata0[47];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__CompositorSelectionOwner_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__CompositorSelectionOwner_t qt_meta_stringdata_KWin__CompositorSelectionOwner = {
    {
QT_MOC_LITERAL(0, 0, 30), // "KWin::CompositorSelectionOwner"
QT_MOC_LITERAL(1, 31, 14), // "looseOwnership"
QT_MOC_LITERAL(2, 46, 0) // ""

    },
    "KWin::CompositorSelectionOwner\0"
    "looseOwnership\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__CompositorSelectionOwner[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   19,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

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

const QMetaObject KWin::CompositorSelectionOwner::staticMetaObject = {
    { &KSelectionOwner::staticMetaObject, qt_meta_stringdata_KWin__CompositorSelectionOwner.data,
      qt_meta_data_KWin__CompositorSelectionOwner,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::CompositorSelectionOwner::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__CompositorSelectionOwner.stringdata0))
        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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}
struct qt_meta_stringdata_KWin__Compositor_t {
    QByteArrayData data[30];
    char stringdata0[478];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__Compositor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__Compositor_t qt_meta_stringdata_KWin__Compositor = {
    {
QT_MOC_LITERAL(0, 0, 16), // "KWin::Compositor"
QT_MOC_LITERAL(1, 17, 18), // "compositingToggled"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 6), // "active"
QT_MOC_LITERAL(4, 44, 14), // "aboutToDestroy"
QT_MOC_LITERAL(5, 59, 14), // "addRepaintFull"
QT_MOC_LITERAL(6, 74, 7), // "suspend"
QT_MOC_LITERAL(7, 82, 25), // "Compositor::SuspendReason"
QT_MOC_LITERAL(8, 108, 6), // "reason"
QT_MOC_LITERAL(9, 115, 6), // "resume"
QT_MOC_LITERAL(10, 122, 21), // "slotToggleCompositing"
QT_MOC_LITERAL(11, 144, 16), // "slotReinitialize"
QT_MOC_LITERAL(12, 161, 15), // "scheduleRepaint"
QT_MOC_LITERAL(13, 177, 15), // "checkUnredirect"
QT_MOC_LITERAL(14, 193, 5), // "force"
QT_MOC_LITERAL(15, 199, 23), // "updateCompositeBlocking"
QT_MOC_LITERAL(16, 223, 13), // "KWin::Client*"
QT_MOC_LITERAL(17, 237, 1), // "c"
QT_MOC_LITERAL(18, 239, 18), // "aboutToSwapBuffers"
QT_MOC_LITERAL(19, 258, 18), // "bufferSwapComplete"
QT_MOC_LITERAL(20, 277, 5), // "setup"
QT_MOC_LITERAL(21, 283, 33), // "slotCompositingOptionsInitial..."
QT_MOC_LITERAL(22, 317, 6), // "finish"
QT_MOC_LITERAL(23, 324, 7), // "restart"
QT_MOC_LITERAL(24, 332, 28), // "fallbackToXRenderCompositing"
QT_MOC_LITERAL(25, 361, 18), // "performCompositing"
QT_MOC_LITERAL(26, 380, 22), // "delayedCheckUnredirect"
QT_MOC_LITERAL(27, 403, 17), // "slotConfigChanged"
QT_MOC_LITERAL(28, 421, 26), // "releaseCompositorSelection"
QT_MOC_LITERAL(29, 448, 29) // "deleteUnusedSupportProperties"

    },
    "KWin::Compositor\0compositingToggled\0"
    "\0active\0aboutToDestroy\0addRepaintFull\0"
    "suspend\0Compositor::SuspendReason\0"
    "reason\0resume\0slotToggleCompositing\0"
    "slotReinitialize\0scheduleRepaint\0"
    "checkUnredirect\0force\0updateCompositeBlocking\0"
    "KWin::Client*\0c\0aboutToSwapBuffers\0"
    "bufferSwapComplete\0setup\0"
    "slotCompositingOptionsInitialized\0"
    "finish\0restart\0fallbackToXRenderCompositing\0"
    "performCompositing\0delayedCheckUnredirect\0"
    "slotConfigChanged\0releaseCompositorSelection\0"
    "deleteUnusedSupportProperties"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__Compositor[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  134,    2, 0x06 /* Public */,
       4,    0,  137,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    0,  138,    2, 0x0a /* Public */,
       6,    1,  139,    2, 0x0a /* Public */,
       9,    1,  142,    2, 0x0a /* Public */,
      10,    0,  145,    2, 0x0a /* Public */,
      11,    0,  146,    2, 0x0a /* Public */,
      12,    0,  147,    2, 0x0a /* Public */,
      13,    0,  148,    2, 0x0a /* Public */,
      13,    1,  149,    2, 0x0a /* Public */,
      15,    0,  152,    2, 0x0a /* Public */,
      15,    1,  153,    2, 0x0a /* Public */,
      18,    0,  156,    2, 0x0a /* Public */,
      19,    0,  157,    2, 0x0a /* Public */,
      20,    0,  158,    2, 0x08 /* Private */,
      21,    0,  159,    2, 0x08 /* Private */,
      22,    0,  160,    2, 0x08 /* Private */,
      23,    0,  161,    2, 0x08 /* Private */,
      24,    0,  162,    2, 0x08 /* Private */,
      25,    0,  163,    2, 0x08 /* Private */,
      26,    0,  164,    2, 0x08 /* Private */,
      27,    0,  165,    2, 0x08 /* Private */,
      28,    0,  166,    2, 0x08 /* Private */,
      29,    0,  167,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   14,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 16,   17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

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

const QMetaObject KWin::Compositor::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KWin__Compositor.data,
      qt_meta_data_KWin__Compositor,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::Compositor::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__Compositor.stringdata0))
        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 < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 24)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 24;
    }
    return _id;
}

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

// SIGNAL 1
void KWin::Compositor::aboutToDestroy()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
