/****************************************************************************
** Meta object code from reading C++ file 'flipswitch.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/effects/flipswitch/flipswitch.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'flipswitch.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__FlipSwitchEffect_t {
    QByteArrayData data[26];
    char stringdata0[334];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__FlipSwitchEffect_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__FlipSwitchEffect_t qt_meta_stringdata_KWin__FlipSwitchEffect = {
    {
QT_MOC_LITERAL(0, 0, 22), // "KWin::FlipSwitchEffect"
QT_MOC_LITERAL(1, 23, 19), // "toggleActiveCurrent"
QT_MOC_LITERAL(2, 43, 0), // ""
QT_MOC_LITERAL(3, 44, 23), // "toggleActiveAllDesktops"
QT_MOC_LITERAL(4, 68, 21), // "globalShortcutChanged"
QT_MOC_LITERAL(5, 90, 8), // "QAction*"
QT_MOC_LITERAL(6, 99, 6), // "action"
QT_MOC_LITERAL(7, 106, 8), // "shortcut"
QT_MOC_LITERAL(8, 115, 15), // "slotWindowAdded"
QT_MOC_LITERAL(9, 131, 19), // "KWin::EffectWindow*"
QT_MOC_LITERAL(10, 151, 1), // "w"
QT_MOC_LITERAL(11, 153, 16), // "slotWindowClosed"
QT_MOC_LITERAL(12, 170, 15), // "slotTabBoxAdded"
QT_MOC_LITERAL(13, 186, 4), // "mode"
QT_MOC_LITERAL(14, 191, 16), // "slotTabBoxClosed"
QT_MOC_LITERAL(15, 208, 17), // "slotTabBoxUpdated"
QT_MOC_LITERAL(16, 226, 18), // "slotTabBoxKeyEvent"
QT_MOC_LITERAL(17, 245, 10), // "QKeyEvent*"
QT_MOC_LITERAL(18, 256, 5), // "event"
QT_MOC_LITERAL(19, 262, 6), // "tabBox"
QT_MOC_LITERAL(20, 269, 17), // "tabBoxAlternative"
QT_MOC_LITERAL(21, 287, 8), // "duration"
QT_MOC_LITERAL(22, 296, 5), // "angle"
QT_MOC_LITERAL(23, 302, 9), // "xPosition"
QT_MOC_LITERAL(24, 312, 9), // "yPosition"
QT_MOC_LITERAL(25, 322, 11) // "windowTitle"

    },
    "KWin::FlipSwitchEffect\0toggleActiveCurrent\0"
    "\0toggleActiveAllDesktops\0globalShortcutChanged\0"
    "QAction*\0action\0shortcut\0slotWindowAdded\0"
    "KWin::EffectWindow*\0w\0slotWindowClosed\0"
    "slotTabBoxAdded\0mode\0slotTabBoxClosed\0"
    "slotTabBoxUpdated\0slotTabBoxKeyEvent\0"
    "QKeyEvent*\0event\0tabBox\0tabBoxAlternative\0"
    "duration\0angle\0xPosition\0yPosition\0"
    "windowTitle"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__FlipSwitchEffect[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   59,    2, 0x08 /* Private */,
       3,    0,   60,    2, 0x08 /* Private */,
       4,    2,   61,    2, 0x08 /* Private */,
       8,    1,   66,    2, 0x08 /* Private */,
      11,    1,   69,    2, 0x08 /* Private */,
      12,    1,   72,    2, 0x08 /* Private */,
      14,    0,   75,    2, 0x08 /* Private */,
      15,    0,   76,    2, 0x08 /* Private */,
      16,    1,   77,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5, QMetaType::QKeySequence,    6,    7,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, QMetaType::Int,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 17,   18,

 // properties: name, type, flags
      19, QMetaType::Bool, 0x00095001,
      20, QMetaType::Bool, 0x00095001,
      21, QMetaType::Int, 0x00095001,
      22, QMetaType::Int, 0x00095001,
      23, QMetaType::QReal, 0x00095001,
      24, QMetaType::QReal, 0x00095001,
      25, QMetaType::Bool, 0x00095001,

       0        // eod
};

void KWin::FlipSwitchEffect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        FlipSwitchEffect *_t = static_cast<FlipSwitchEffect *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->toggleActiveCurrent(); break;
        case 1: _t->toggleActiveAllDesktops(); break;
        case 2: _t->globalShortcutChanged((*reinterpret_cast< QAction*(*)>(_a[1])),(*reinterpret_cast< QKeySequence(*)>(_a[2]))); break;
        case 3: _t->slotWindowAdded((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1]))); break;
        case 4: _t->slotWindowClosed((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1]))); break;
        case 5: _t->slotTabBoxAdded((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->slotTabBoxClosed(); break;
        case 7: _t->slotTabBoxUpdated(); break;
        case 8: _t->slotTabBoxKeyEvent((*reinterpret_cast< QKeyEvent*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KWin::EffectWindow* >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KWin::EffectWindow* >(); break;
            }
            break;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        FlipSwitchEffect *_t = static_cast<FlipSwitchEffect *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->isTabBox(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isTabBoxAlternative(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->duration(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->angle(); break;
        case 4: *reinterpret_cast< qreal*>(_v) = _t->xPosition(); break;
        case 5: *reinterpret_cast< qreal*>(_v) = _t->yPosition(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->isWindowTitle(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KWin::FlipSwitchEffect::staticMetaObject = {
    { &Effect::staticMetaObject, qt_meta_stringdata_KWin__FlipSwitchEffect.data,
      qt_meta_data_KWin__FlipSwitchEffect,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::FlipSwitchEffect::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__FlipSwitchEffect.stringdata0))
        return static_cast<void*>(const_cast< FlipSwitchEffect*>(this));
    return Effect::qt_metacast(_clname);
}

int KWin::FlipSwitchEffect::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Effect::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
#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 -= 7;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 7;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_END_MOC_NAMESPACE
