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

#include <memory>
#include "../../../../kwindowsystem-5.116.0/src/kx11extras.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kx11extras.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.17. 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_KX11Extras_t {
    QByteArrayData data[22];
    char stringdata0[290];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KX11Extras_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KX11Extras_t qt_meta_stringdata_KX11Extras = {
    {
QT_MOC_LITERAL(0, 0, 10), // "KX11Extras"
QT_MOC_LITERAL(1, 11, 21), // "currentDesktopChanged"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 7), // "desktop"
QT_MOC_LITERAL(4, 42, 11), // "windowAdded"
QT_MOC_LITERAL(5, 54, 3), // "WId"
QT_MOC_LITERAL(6, 58, 2), // "id"
QT_MOC_LITERAL(7, 61, 13), // "windowRemoved"
QT_MOC_LITERAL(8, 75, 19), // "activeWindowChanged"
QT_MOC_LITERAL(9, 95, 19), // "desktopNamesChanged"
QT_MOC_LITERAL(10, 115, 23), // "numberOfDesktopsChanged"
QT_MOC_LITERAL(11, 139, 3), // "num"
QT_MOC_LITERAL(12, 143, 15), // "workAreaChanged"
QT_MOC_LITERAL(13, 159, 12), // "strutChanged"
QT_MOC_LITERAL(14, 172, 20), // "stackingOrderChanged"
QT_MOC_LITERAL(15, 193, 13), // "windowChanged"
QT_MOC_LITERAL(16, 207, 15), // "NET::Properties"
QT_MOC_LITERAL(17, 223, 10), // "properties"
QT_MOC_LITERAL(18, 234, 16), // "NET::Properties2"
QT_MOC_LITERAL(19, 251, 11), // "properties2"
QT_MOC_LITERAL(20, 263, 18), // "compositingChanged"
QT_MOC_LITERAL(21, 282, 7) // "enabled"

    },
    "KX11Extras\0currentDesktopChanged\0\0"
    "desktop\0windowAdded\0WId\0id\0windowRemoved\0"
    "activeWindowChanged\0desktopNamesChanged\0"
    "numberOfDesktopsChanged\0num\0workAreaChanged\0"
    "strutChanged\0stackingOrderChanged\0"
    "windowChanged\0NET::Properties\0properties\0"
    "NET::Properties2\0properties2\0"
    "compositingChanged\0enabled"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KX11Extras[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   69,    2, 0x06 /* Public */,
       4,    1,   72,    2, 0x06 /* Public */,
       7,    1,   75,    2, 0x06 /* Public */,
       8,    1,   78,    2, 0x06 /* Public */,
       9,    0,   81,    2, 0x06 /* Public */,
      10,    1,   82,    2, 0x06 /* Public */,
      12,    0,   85,    2, 0x06 /* Public */,
      13,    0,   86,    2, 0x06 /* Public */,
      14,    0,   87,    2, 0x06 /* Public */,
      15,    3,   88,    2, 0x06 /* Public */,
      20,    1,   95,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5, 0x80000000 | 16, 0x80000000 | 18,    6,   17,   19,
    QMetaType::Void, QMetaType::Bool,   21,

       0        // eod
};

void KX11Extras::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<KX11Extras *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->currentDesktopChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->windowAdded((*reinterpret_cast< WId(*)>(_a[1]))); break;
        case 2: _t->windowRemoved((*reinterpret_cast< WId(*)>(_a[1]))); break;
        case 3: _t->activeWindowChanged((*reinterpret_cast< WId(*)>(_a[1]))); break;
        case 4: _t->desktopNamesChanged(); break;
        case 5: _t->numberOfDesktopsChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->workAreaChanged(); break;
        case 7: _t->strutChanged(); break;
        case 8: _t->stackingOrderChanged(); break;
        case 9: _t->windowChanged((*reinterpret_cast< WId(*)>(_a[1])),(*reinterpret_cast< NET::Properties(*)>(_a[2])),(*reinterpret_cast< NET::Properties2(*)>(_a[3]))); break;
        case 10: _t->compositingChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (KX11Extras::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KX11Extras::currentDesktopChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (KX11Extras::*)(WId );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KX11Extras::windowAdded)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (KX11Extras::*)(WId );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KX11Extras::windowRemoved)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (KX11Extras::*)(WId );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KX11Extras::activeWindowChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (KX11Extras::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KX11Extras::desktopNamesChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (KX11Extras::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KX11Extras::numberOfDesktopsChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (KX11Extras::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KX11Extras::workAreaChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (KX11Extras::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KX11Extras::strutChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (KX11Extras::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KX11Extras::stackingOrderChanged)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (KX11Extras::*)(WId , NET::Properties , NET::Properties2 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KX11Extras::windowChanged)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (KX11Extras::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KX11Extras::compositingChanged)) {
                *result = 10;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject KX11Extras::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_KX11Extras.data,
    qt_meta_data_KX11Extras,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int KX11Extras::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 < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
    return _id;
}

// SIGNAL 0
void KX11Extras::currentDesktopChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KX11Extras::windowAdded(WId _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KX11Extras::windowRemoved(WId _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KX11Extras::activeWindowChanged(WId _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void KX11Extras::desktopNamesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void KX11Extras::numberOfDesktopsChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void KX11Extras::workAreaChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void KX11Extras::strutChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void KX11Extras::stackingOrderChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void KX11Extras::windowChanged(WId _t1, NET::Properties _t2, NET::Properties2 _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}

// SIGNAL 10
void KX11Extras::compositingChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 10, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
