/****************************************************************************
** Meta object code from reading C++ file 'presentwindows.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/presentwindows/presentwindows.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'presentwindows.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__CloseWindowView_t {
    QByteArrayData data[3];
    char stringdata0[36];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__CloseWindowView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__CloseWindowView_t qt_meta_stringdata_KWin__CloseWindowView = {
    {
QT_MOC_LITERAL(0, 0, 21), // "KWin::CloseWindowView"
QT_MOC_LITERAL(1, 22, 12), // "requestClose"
QT_MOC_LITERAL(2, 35, 0) // ""

    },
    "KWin::CloseWindowView\0requestClose\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__CloseWindowView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   19,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,

       0        // eod
};

void KWin::CloseWindowView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        CloseWindowView *_t = static_cast<CloseWindowView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->requestClose(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (CloseWindowView::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CloseWindowView::requestClose)) {
                *result = 0;
                return;
            }
        }
    }
    Q_UNUSED(_a);
}

const QMetaObject KWin::CloseWindowView::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KWin__CloseWindowView.data,
      qt_meta_data_KWin__CloseWindowView,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KWin::CloseWindowView::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 < 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;
}

// SIGNAL 0
void KWin::CloseWindowView::requestClose()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
struct qt_meta_stringdata_KWin__PresentWindowsEffect_t {
    QByteArrayData data[37];
    char stringdata0[525];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__PresentWindowsEffect_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__PresentWindowsEffect_t qt_meta_stringdata_KWin__PresentWindowsEffect = {
    {
QT_MOC_LITERAL(0, 0, 26), // "KWin::PresentWindowsEffect"
QT_MOC_LITERAL(1, 27, 9), // "setActive"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 6), // "active"
QT_MOC_LITERAL(4, 45, 12), // "toggleActive"
QT_MOC_LITERAL(5, 58, 23), // "toggleActiveAllDesktops"
QT_MOC_LITERAL(6, 82, 17), // "toggleActiveClass"
QT_MOC_LITERAL(7, 100, 21), // "globalShortcutChanged"
QT_MOC_LITERAL(8, 122, 8), // "QAction*"
QT_MOC_LITERAL(9, 131, 6), // "action"
QT_MOC_LITERAL(10, 138, 3), // "seq"
QT_MOC_LITERAL(11, 142, 15), // "slotWindowAdded"
QT_MOC_LITERAL(12, 158, 19), // "KWin::EffectWindow*"
QT_MOC_LITERAL(13, 178, 1), // "w"
QT_MOC_LITERAL(14, 180, 16), // "slotWindowClosed"
QT_MOC_LITERAL(15, 197, 17), // "slotWindowDeleted"
QT_MOC_LITERAL(16, 215, 30), // "slotWindowGeometryShapeChanged"
QT_MOC_LITERAL(17, 246, 3), // "old"
QT_MOC_LITERAL(18, 250, 18), // "slotPropertyNotify"
QT_MOC_LITERAL(19, 269, 4), // "atom"
QT_MOC_LITERAL(20, 274, 11), // "closeWindow"
QT_MOC_LITERAL(21, 286, 18), // "elevateCloseWindow"
QT_MOC_LITERAL(22, 305, 10), // "layoutMode"
QT_MOC_LITERAL(23, 316, 12), // "showCaptions"
QT_MOC_LITERAL(24, 329, 9), // "showIcons"
QT_MOC_LITERAL(25, 339, 17), // "doNotCloseWindows"
QT_MOC_LITERAL(26, 357, 15), // "ignoreMinimized"
QT_MOC_LITERAL(27, 373, 8), // "accuracy"
QT_MOC_LITERAL(28, 382, 8), // "fillGaps"
QT_MOC_LITERAL(29, 391, 12), // "fadeDuration"
QT_MOC_LITERAL(30, 404, 9), // "showPanel"
QT_MOC_LITERAL(31, 414, 16), // "leftButtonWindow"
QT_MOC_LITERAL(32, 431, 17), // "rightButtonWindow"
QT_MOC_LITERAL(33, 449, 18), // "middleButtonWindow"
QT_MOC_LITERAL(34, 468, 17), // "leftButtonDesktop"
QT_MOC_LITERAL(35, 486, 19), // "middleButtonDesktop"
QT_MOC_LITERAL(36, 506, 18) // "rightButtonDesktop"

    },
    "KWin::PresentWindowsEffect\0setActive\0"
    "\0active\0toggleActive\0toggleActiveAllDesktops\0"
    "toggleActiveClass\0globalShortcutChanged\0"
    "QAction*\0action\0seq\0slotWindowAdded\0"
    "KWin::EffectWindow*\0w\0slotWindowClosed\0"
    "slotWindowDeleted\0slotWindowGeometryShapeChanged\0"
    "old\0slotPropertyNotify\0atom\0closeWindow\0"
    "elevateCloseWindow\0layoutMode\0"
    "showCaptions\0showIcons\0doNotCloseWindows\0"
    "ignoreMinimized\0accuracy\0fillGaps\0"
    "fadeDuration\0showPanel\0leftButtonWindow\0"
    "rightButtonWindow\0middleButtonWindow\0"
    "leftButtonDesktop\0middleButtonDesktop\0"
    "rightButtonDesktop"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__PresentWindowsEffect[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   74,    2, 0x0a /* Public */,
       4,    0,   77,    2, 0x0a /* Public */,
       5,    0,   78,    2, 0x0a /* Public */,
       6,    0,   79,    2, 0x0a /* Public */,
       7,    2,   80,    2, 0x0a /* Public */,
      11,    1,   85,    2, 0x0a /* Public */,
      14,    1,   88,    2, 0x0a /* Public */,
      15,    1,   91,    2, 0x0a /* Public */,
      16,    2,   94,    2, 0x0a /* Public */,
      18,    2,   99,    2, 0x0a /* Public */,
      20,    0,  104,    2, 0x08 /* Private */,
      21,    0,  105,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 8, QMetaType::QKeySequence,    9,   10,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void, 0x80000000 | 12, QMetaType::QRect,   13,   17,
    QMetaType::Void, 0x80000000 | 12, QMetaType::Long,   13,   19,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      22, QMetaType::Int, 0x00095001,
      23, QMetaType::Bool, 0x00095001,
      24, QMetaType::Bool, 0x00095001,
      25, QMetaType::Bool, 0x00095001,
      26, QMetaType::Bool, 0x00095001,
      27, QMetaType::Int, 0x00095001,
      28, QMetaType::Bool, 0x00095001,
      29, QMetaType::Int, 0x00095001,
      30, QMetaType::Bool, 0x00095001,
      31, QMetaType::Int, 0x00095001,
      32, QMetaType::Int, 0x00095001,
      33, QMetaType::Int, 0x00095001,
      34, QMetaType::Int, 0x00095001,
      35, QMetaType::Int, 0x00095001,
      36, QMetaType::Int, 0x00095001,

       0        // eod
};

void KWin::PresentWindowsEffect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PresentWindowsEffect *_t = static_cast<PresentWindowsEffect *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->toggleActive(); break;
        case 2: _t->toggleActiveAllDesktops(); break;
        case 3: _t->toggleActiveClass(); break;
        case 4: _t->globalShortcutChanged((*reinterpret_cast< QAction*(*)>(_a[1])),(*reinterpret_cast< const QKeySequence(*)>(_a[2]))); break;
        case 5: _t->slotWindowAdded((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1]))); break;
        case 6: _t->slotWindowClosed((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1]))); break;
        case 7: _t->slotWindowDeleted((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1]))); break;
        case 8: _t->slotWindowGeometryShapeChanged((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1])),(*reinterpret_cast< const QRect(*)>(_a[2]))); break;
        case 9: _t->slotPropertyNotify((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1])),(*reinterpret_cast< long(*)>(_a[2]))); break;
        case 10: _t->closeWindow(); break;
        case 11: _t->elevateCloseWindow(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 5:
            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 6:
            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 7:
            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 8:
            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 9:
            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) {
        PresentWindowsEffect *_t = static_cast<PresentWindowsEffect *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->layoutMode(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isShowCaptions(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isShowIcons(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->isDoNotCloseWindows(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->isIgnoreMinimized(); break;
        case 5: *reinterpret_cast< int*>(_v) = _t->accuracy(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->isFillGaps(); break;
        case 7: *reinterpret_cast< int*>(_v) = _t->fadeDuration(); break;
        case 8: *reinterpret_cast< bool*>(_v) = _t->isShowPanel(); break;
        case 9: *reinterpret_cast< int*>(_v) = _t->leftButtonWindow(); break;
        case 10: *reinterpret_cast< int*>(_v) = _t->rightButtonWindow(); break;
        case 11: *reinterpret_cast< int*>(_v) = _t->middleButtonWindow(); break;
        case 12: *reinterpret_cast< int*>(_v) = _t->leftButtonDesktop(); break;
        case 13: *reinterpret_cast< int*>(_v) = _t->middleButtonDesktop(); break;
        case 14: *reinterpret_cast< int*>(_v) = _t->rightButtonDesktop(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KWin::PresentWindowsEffect::staticMetaObject = {
    { &Effect::staticMetaObject, qt_meta_stringdata_KWin__PresentWindowsEffect.data,
      qt_meta_data_KWin__PresentWindowsEffect,  qt_static_metacall, nullptr, nullptr}
};


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

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

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