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

#include "../../src/kwin-5.4.3/effects/coverswitch/coverswitch.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'coverswitch.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_KWin__CoverSwitchEffect_t {
    QByteArrayData data[21];
    char stringdata0[276];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__CoverSwitchEffect_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__CoverSwitchEffect_t qt_meta_stringdata_KWin__CoverSwitchEffect = {
    {
QT_MOC_LITERAL(0, 0, 23), // "KWin::CoverSwitchEffect"
QT_MOC_LITERAL(1, 24, 16), // "slotWindowClosed"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 19), // "KWin::EffectWindow*"
QT_MOC_LITERAL(4, 62, 1), // "c"
QT_MOC_LITERAL(5, 64, 15), // "slotTabBoxAdded"
QT_MOC_LITERAL(6, 80, 4), // "mode"
QT_MOC_LITERAL(7, 85, 16), // "slotTabBoxClosed"
QT_MOC_LITERAL(8, 102, 17), // "slotTabBoxUpdated"
QT_MOC_LITERAL(9, 120, 18), // "slotTabBoxKeyEvent"
QT_MOC_LITERAL(10, 139, 10), // "QKeyEvent*"
QT_MOC_LITERAL(11, 150, 5), // "event"
QT_MOC_LITERAL(12, 156, 17), // "animationDuration"
QT_MOC_LITERAL(13, 174, 13), // "animateSwitch"
QT_MOC_LITERAL(14, 188, 12), // "animateStart"
QT_MOC_LITERAL(15, 201, 11), // "animateStop"
QT_MOC_LITERAL(16, 213, 10), // "reflection"
QT_MOC_LITERAL(17, 224, 11), // "windowTitle"
QT_MOC_LITERAL(18, 236, 9), // "zPosition"
QT_MOC_LITERAL(19, 246, 13), // "primaryTabBox"
QT_MOC_LITERAL(20, 260, 15) // "secondaryTabBox"

    },
    "KWin::CoverSwitchEffect\0slotWindowClosed\0"
    "\0KWin::EffectWindow*\0c\0slotTabBoxAdded\0"
    "mode\0slotTabBoxClosed\0slotTabBoxUpdated\0"
    "slotTabBoxKeyEvent\0QKeyEvent*\0event\0"
    "animationDuration\0animateSwitch\0"
    "animateStart\0animateStop\0reflection\0"
    "windowTitle\0zPosition\0primaryTabBox\0"
    "secondaryTabBox"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__CoverSwitchEffect[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   39,    2, 0x0a /* Public */,
       5,    1,   42,    2, 0x0a /* Public */,
       7,    0,   45,    2, 0x0a /* Public */,
       8,    0,   46,    2, 0x0a /* Public */,
       9,    1,   47,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 10,   11,

 // properties: name, type, flags
      12, QMetaType::Int, 0x00095001,
      13, QMetaType::Bool, 0x00095001,
      14, QMetaType::Bool, 0x00095001,
      15, QMetaType::Bool, 0x00095001,
      16, QMetaType::Bool, 0x00095001,
      17, QMetaType::Bool, 0x00095001,
      18, QMetaType::QReal, 0x00095001,
      19, QMetaType::Bool, 0x00095001,
      20, QMetaType::Bool, 0x00095001,

       0        // eod
};

void KWin::CoverSwitchEffect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        CoverSwitchEffect *_t = static_cast<CoverSwitchEffect *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotWindowClosed((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1]))); break;
        case 1: _t->slotTabBoxAdded((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->slotTabBoxClosed(); break;
        case 3: _t->slotTabBoxUpdated(); break;
        case 4: _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 0:
            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) {
        CoverSwitchEffect *_t = static_cast<CoverSwitchEffect *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->configuredAnimationDuration(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isAnimateSwitch(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isAnimateStart(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->isAnimateStop(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->isReflection(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->isWindowTitle(); break;
        case 6: *reinterpret_cast< qreal*>(_v) = _t->windowZPosition(); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->isPrimaryTabBox(); break;
        case 8: *reinterpret_cast< bool*>(_v) = _t->isSecondaryTabBox(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KWin::CoverSwitchEffect::staticMetaObject = {
    { &Effect::staticMetaObject, qt_meta_stringdata_KWin__CoverSwitchEffect.data,
      qt_meta_data_KWin__CoverSwitchEffect,  qt_static_metacall, nullptr, nullptr}
};


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

void *KWin::CoverSwitchEffect::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__CoverSwitchEffect.stringdata0))
        return static_cast<void*>(this);
    return Effect::qt_metacast(_clname);
}

int KWin::CoverSwitchEffect::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 < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
#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 -= 9;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 9;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
