/****************************************************************************
** Meta object code from reading C++ file 'desktopgrid.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/desktopgrid/desktopgrid.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'desktopgrid.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__DesktopButtonsView_t {
    QByteArrayData data[4];
    char stringdata0[51];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__DesktopButtonsView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__DesktopButtonsView_t qt_meta_stringdata_KWin__DesktopButtonsView = {
    {
QT_MOC_LITERAL(0, 0, 24), // "KWin::DesktopButtonsView"
QT_MOC_LITERAL(1, 25, 10), // "addDesktop"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 13) // "removeDesktop"

    },
    "KWin::DesktopButtonsView\0addDesktop\0"
    "\0removeDesktop"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__DesktopButtonsView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   24,    2, 0x06 /* Public */,
       3,    0,   25,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

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

const QMetaObject KWin::DesktopButtonsView::staticMetaObject = {
    { &QQuickView::staticMetaObject, qt_meta_stringdata_KWin__DesktopButtonsView.data,
      qt_meta_data_KWin__DesktopButtonsView,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KWin::DesktopButtonsView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 2;
    }
    return _id;
}

// SIGNAL 0
void KWin::DesktopButtonsView::addDesktop()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KWin::DesktopButtonsView::removeDesktop()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
struct qt_meta_stringdata_KWin__DesktopGridEffect_t {
    QByteArrayData data[24];
    char stringdata0[342];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__DesktopGridEffect_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__DesktopGridEffect_t qt_meta_stringdata_KWin__DesktopGridEffect = {
    {
QT_MOC_LITERAL(0, 0, 23), // "KWin::DesktopGridEffect"
QT_MOC_LITERAL(1, 24, 6), // "toggle"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 21), // "globalShortcutChanged"
QT_MOC_LITERAL(4, 54, 8), // "QAction*"
QT_MOC_LITERAL(5, 63, 6), // "action"
QT_MOC_LITERAL(6, 70, 3), // "seq"
QT_MOC_LITERAL(7, 74, 14), // "slotAddDesktop"
QT_MOC_LITERAL(8, 89, 17), // "slotRemoveDesktop"
QT_MOC_LITERAL(9, 107, 15), // "slotWindowAdded"
QT_MOC_LITERAL(10, 123, 19), // "KWin::EffectWindow*"
QT_MOC_LITERAL(11, 143, 1), // "w"
QT_MOC_LITERAL(12, 145, 16), // "slotWindowClosed"
QT_MOC_LITERAL(13, 162, 17), // "slotWindowDeleted"
QT_MOC_LITERAL(14, 180, 25), // "slotNumberDesktopsChanged"
QT_MOC_LITERAL(15, 206, 3), // "old"
QT_MOC_LITERAL(16, 210, 30), // "slotWindowGeometryShapeChanged"
QT_MOC_LITERAL(17, 241, 12), // "zoomDuration"
QT_MOC_LITERAL(18, 254, 6), // "border"
QT_MOC_LITERAL(19, 261, 20), // "desktopNameAlignment"
QT_MOC_LITERAL(20, 282, 13), // "Qt::Alignment"
QT_MOC_LITERAL(21, 296, 10), // "layoutMode"
QT_MOC_LITERAL(22, 307, 16), // "customLayoutRows"
QT_MOC_LITERAL(23, 324, 17) // "usePresentWindows"

    },
    "KWin::DesktopGridEffect\0toggle\0\0"
    "globalShortcutChanged\0QAction*\0action\0"
    "seq\0slotAddDesktop\0slotRemoveDesktop\0"
    "slotWindowAdded\0KWin::EffectWindow*\0"
    "w\0slotWindowClosed\0slotWindowDeleted\0"
    "slotNumberDesktopsChanged\0old\0"
    "slotWindowGeometryShapeChanged\0"
    "zoomDuration\0border\0desktopNameAlignment\0"
    "Qt::Alignment\0layoutMode\0customLayoutRows\0"
    "usePresentWindows"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__DesktopGridEffect[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       9,   14, // methods
       6,   84, // 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,    2,   60,    2, 0x08 /* Private */,
       7,    0,   65,    2, 0x08 /* Private */,
       8,    0,   66,    2, 0x08 /* Private */,
       9,    1,   67,    2, 0x08 /* Private */,
      12,    1,   70,    2, 0x08 /* Private */,
      13,    1,   73,    2, 0x08 /* Private */,
      14,    1,   76,    2, 0x08 /* Private */,
      16,    2,   79,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4, QMetaType::QKeySequence,    5,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void, QMetaType::UInt,   15,
    QMetaType::Void, 0x80000000 | 10, QMetaType::QRect,   11,   15,

 // properties: name, type, flags
      17, QMetaType::Int, 0x00095001,
      18, QMetaType::Int, 0x00095001,
      19, 0x80000000 | 20, 0x00095009,
      21, QMetaType::Int, 0x00095001,
      22, QMetaType::Int, 0x00095001,
      23, QMetaType::Bool, 0x00095001,

       0        // eod
};

void KWin::DesktopGridEffect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DesktopGridEffect *_t = static_cast<DesktopGridEffect *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->toggle(); break;
        case 1: _t->globalShortcutChanged((*reinterpret_cast< QAction*(*)>(_a[1])),(*reinterpret_cast< const QKeySequence(*)>(_a[2]))); break;
        case 2: _t->slotAddDesktop(); break;
        case 3: _t->slotRemoveDesktop(); break;
        case 4: _t->slotWindowAdded((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1]))); break;
        case 5: _t->slotWindowClosed((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1]))); break;
        case 6: _t->slotWindowDeleted((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1]))); break;
        case 7: _t->slotNumberDesktopsChanged((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 8: _t->slotWindowGeometryShapeChanged((*reinterpret_cast< KWin::EffectWindow*(*)>(_a[1])),(*reinterpret_cast< const QRect(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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;
        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 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;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        DesktopGridEffect *_t = static_cast<DesktopGridEffect *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->configuredZoomDuration(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->configuredBorder(); break;
        case 2: *reinterpret_cast< Qt::Alignment*>(_v) = _t->configuredDesktopNameAlignment(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->configuredLayoutMode(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->configuredCustomLayoutRows(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->isUsePresentWindows(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KWin::DesktopGridEffect::staticMetaObject = {
    { &Effect::staticMetaObject, qt_meta_stringdata_KWin__DesktopGridEffect.data,
      qt_meta_data_KWin__DesktopGridEffect,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KWin::DesktopGridEffect::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 -= 6;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 6;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
