/****************************************************************************
** Meta object code from reading C++ file 'kwindowsystem.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/kwindowsystem.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kwindowsystem.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_KWindowSystem_t {
    QByteArrayData data[44];
    char stringdata0[563];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWindowSystem_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWindowSystem_t qt_meta_stringdata_KWindowSystem = {
    {
QT_MOC_LITERAL(0, 0, 13), // "KWindowSystem"
QT_MOC_LITERAL(1, 14, 21), // "currentDesktopChanged"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 7), // "desktop"
QT_MOC_LITERAL(4, 45, 11), // "windowAdded"
QT_MOC_LITERAL(5, 57, 3), // "WId"
QT_MOC_LITERAL(6, 61, 2), // "id"
QT_MOC_LITERAL(7, 64, 13), // "windowRemoved"
QT_MOC_LITERAL(8, 78, 19), // "activeWindowChanged"
QT_MOC_LITERAL(9, 98, 19), // "desktopNamesChanged"
QT_MOC_LITERAL(10, 118, 23), // "numberOfDesktopsChanged"
QT_MOC_LITERAL(11, 142, 3), // "num"
QT_MOC_LITERAL(12, 146, 15), // "workAreaChanged"
QT_MOC_LITERAL(13, 162, 12), // "strutChanged"
QT_MOC_LITERAL(14, 175, 20), // "stackingOrderChanged"
QT_MOC_LITERAL(15, 196, 13), // "windowChanged"
QT_MOC_LITERAL(16, 210, 15), // "NET::Properties"
QT_MOC_LITERAL(17, 226, 10), // "properties"
QT_MOC_LITERAL(18, 237, 16), // "NET::Properties2"
QT_MOC_LITERAL(19, 254, 11), // "properties2"
QT_MOC_LITERAL(20, 266, 12), // "const ulong*"
QT_MOC_LITERAL(21, 279, 21), // "showingDesktopChanged"
QT_MOC_LITERAL(22, 301, 7), // "showing"
QT_MOC_LITERAL(23, 309, 18), // "compositingChanged"
QT_MOC_LITERAL(24, 328, 7), // "enabled"
QT_MOC_LITERAL(25, 336, 25), // "xdgActivationTokenArrived"
QT_MOC_LITERAL(26, 362, 6), // "serial"
QT_MOC_LITERAL(27, 369, 5), // "token"
QT_MOC_LITERAL(28, 375, 14), // "activateWindow"
QT_MOC_LITERAL(29, 390, 8), // "QWindow*"
QT_MOC_LITERAL(30, 399, 6), // "window"
QT_MOC_LITERAL(31, 406, 4), // "time"
QT_MOC_LITERAL(32, 411, 25), // "requestXdgActivationToken"
QT_MOC_LITERAL(33, 437, 3), // "win"
QT_MOC_LITERAL(34, 441, 8), // "uint32_t"
QT_MOC_LITERAL(35, 450, 6), // "app_id"
QT_MOC_LITERAL(36, 457, 28), // "setCurrentXdgActivationToken"
QT_MOC_LITERAL(37, 486, 15), // "lastInputSerial"
QT_MOC_LITERAL(38, 502, 17), // "isPlatformWayland"
QT_MOC_LITERAL(39, 520, 13), // "isPlatformX11"
QT_MOC_LITERAL(40, 534, 8), // "Platform"
QT_MOC_LITERAL(41, 543, 7), // "Unknown"
QT_MOC_LITERAL(42, 551, 3), // "X11"
QT_MOC_LITERAL(43, 555, 7) // "Wayland"

    },
    "KWindowSystem\0currentDesktopChanged\0"
    "\0desktop\0windowAdded\0WId\0id\0windowRemoved\0"
    "activeWindowChanged\0desktopNamesChanged\0"
    "numberOfDesktopsChanged\0num\0workAreaChanged\0"
    "strutChanged\0stackingOrderChanged\0"
    "windowChanged\0NET::Properties\0properties\0"
    "NET::Properties2\0properties2\0const ulong*\0"
    "showingDesktopChanged\0showing\0"
    "compositingChanged\0enabled\0"
    "xdgActivationTokenArrived\0serial\0token\0"
    "activateWindow\0QWindow*\0window\0time\0"
    "requestXdgActivationToken\0win\0uint32_t\0"
    "app_id\0setCurrentXdgActivationToken\0"
    "lastInputSerial\0isPlatformWayland\0"
    "isPlatformX11\0Platform\0Unknown\0X11\0"
    "Wayland"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWindowSystem[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      21,   14, // methods
       2,  190, // properties
       1,  196, // enums/sets
       0,    0, // constructors
       0,       // flags
      16,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  119,    2, 0x06 /* Public */,
       4,    1,  122,    2, 0x06 /* Public */,
       7,    1,  125,    2, 0x06 /* Public */,
       8,    1,  128,    2, 0x06 /* Public */,
       9,    0,  131,    2, 0x06 /* Public */,
      10,    1,  132,    2, 0x06 /* Public */,
      12,    0,  135,    2, 0x06 /* Public */,
      13,    0,  136,    2, 0x06 /* Public */,
      14,    0,  137,    2, 0x06 /* Public */,
      15,    3,  138,    2, 0x06 /* Public */,
      15,    2,  145,    2, 0x16 /* Public | MethodCompatibility */,
      15,    2,  150,    2, 0x16 /* Public | MethodCompatibility */,
      15,    1,  155,    2, 0x06 /* Public */,
      21,    1,  158,    2, 0x06 /* Public */,
      23,    1,  161,    2, 0x06 /* Public */,
      25,    2,  164,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
      28,    2,  169,    2, 0x02 /* Public */,
      28,    1,  174,    2, 0x22 /* Public | MethodCloned */,
      32,    3,  177,    2, 0x02 /* Public */,
      36,    1,  184,    2, 0x02 /* Public */,
      37,    1,  187,    2, 0x02 /* 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, 0x80000000 | 5, 0x80000000 | 20,    6,   17,
    QMetaType::Void, 0x80000000 | 5, QMetaType::UInt,    6,   17,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, QMetaType::Bool,   22,
    QMetaType::Void, QMetaType::Bool,   24,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,   26,   27,

 // methods: parameters
    QMetaType::Void, 0x80000000 | 29, QMetaType::Long,   30,   31,
    QMetaType::Void, 0x80000000 | 29,   30,
    QMetaType::Void, 0x80000000 | 29, 0x80000000 | 34, QMetaType::QString,   33,   26,   35,
    QMetaType::Void, QMetaType::QString,   27,
    QMetaType::UInt, 0x80000000 | 29,   30,

 // properties: name, type, flags
      38, QMetaType::Bool, 0x00095401,
      39, QMetaType::Bool, 0x00095401,

 // enums: name, alias, flags, count, data
      40,   40, 0x2,    3,  201,

 // enum data: key, value
      41, uint(KWindowSystem::Platform::Unknown),
      42, uint(KWindowSystem::Platform::X11),
      43, uint(KWindowSystem::Platform::Wayland),

       0        // eod
};

void KWindowSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<KWindowSystem *>(_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->windowChanged((*reinterpret_cast< WId(*)>(_a[1])),(*reinterpret_cast< const ulong*(*)>(_a[2]))); break;
        case 11: _t->windowChanged((*reinterpret_cast< WId(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
        case 12: _t->windowChanged((*reinterpret_cast< WId(*)>(_a[1]))); break;
        case 13: _t->showingDesktopChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 14: _t->compositingChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: _t->xdgActivationTokenArrived((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 16: _t->activateWindow((*reinterpret_cast< QWindow*(*)>(_a[1])),(*reinterpret_cast< long(*)>(_a[2]))); break;
        case 17: _t->activateWindow((*reinterpret_cast< QWindow*(*)>(_a[1]))); break;
        case 18: _t->requestXdgActivationToken((*reinterpret_cast< QWindow*(*)>(_a[1])),(*reinterpret_cast< uint32_t(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 19: _t->setCurrentXdgActivationToken((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 20: { quint32 _r = _t->lastInputSerial((*reinterpret_cast< QWindow*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< quint32*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (KWindowSystem::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KWindowSystem::currentDesktopChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (KWindowSystem::*)(WId );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KWindowSystem::windowAdded)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (KWindowSystem::*)(WId );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KWindowSystem::windowRemoved)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (KWindowSystem::*)(WId );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KWindowSystem::activeWindowChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (KWindowSystem::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KWindowSystem::desktopNamesChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (KWindowSystem::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KWindowSystem::numberOfDesktopsChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (KWindowSystem::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KWindowSystem::workAreaChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (KWindowSystem::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KWindowSystem::strutChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (KWindowSystem::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KWindowSystem::stackingOrderChanged)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (KWindowSystem::*)(WId , NET::Properties , NET::Properties2 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KWindowSystem::windowChanged)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (KWindowSystem::*)(WId , const unsigned long * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KWindowSystem::windowChanged)) {
                *result = 10;
                return;
            }
        }
        {
            using _t = void (KWindowSystem::*)(WId , unsigned int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KWindowSystem::windowChanged)) {
                *result = 11;
                return;
            }
        }
        {
            using _t = void (KWindowSystem::*)(WId );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KWindowSystem::windowChanged)) {
                *result = 12;
                return;
            }
        }
        {
            using _t = void (KWindowSystem::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KWindowSystem::showingDesktopChanged)) {
                *result = 13;
                return;
            }
        }
        {
            using _t = void (KWindowSystem::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KWindowSystem::compositingChanged)) {
                *result = 14;
                return;
            }
        }
        {
            using _t = void (KWindowSystem::*)(int , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KWindowSystem::xdgActivationTokenArrived)) {
                *result = 15;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<KWindowSystem *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->isPlatformWayland(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isPlatformX11(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject KWindowSystem::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_KWindowSystem.data,
    qt_meta_data_KWindowSystem,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int KWindowSystem::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 < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 21)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 21;
    }
#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 -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KWindowSystem::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 KWindowSystem::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 KWindowSystem::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 KWindowSystem::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 KWindowSystem::desktopNamesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void KWindowSystem::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 KWindowSystem::workAreaChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

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

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

// SIGNAL 9
void KWindowSystem::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 KWindowSystem::windowChanged(WId _t1, const unsigned long * _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 10, _a);
}

// SIGNAL 11
void KWindowSystem::windowChanged(WId _t1, unsigned int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 11, _a);
}

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

// SIGNAL 13
void KWindowSystem::showingDesktopChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 13, _a);
}

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

// SIGNAL 15
void KWindowSystem::xdgActivationTokenArrived(int _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 15, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
