/****************************************************************************
** Meta object code from reading C++ file 'xdgshell.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 "../../../../../kwayland-5.116.0/src/client/xdgshell.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'xdgshell.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_KWayland__Client__XdgShell_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_KWayland__Client__XdgShell_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWayland__Client__XdgShell_t qt_meta_stringdata_KWayland__Client__XdgShell = {
    {
QT_MOC_LITERAL(0, 0, 26), // "KWayland::Client::XdgShell"
QT_MOC_LITERAL(1, 27, 7), // "removed"
QT_MOC_LITERAL(2, 35, 0) // ""

    },
    "KWayland::Client::XdgShell\0removed\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWayland__Client__XdgShell[] = {

 // content:
       8,       // 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 KWayland::Client::XdgShell::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<XdgShell *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->removed(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (XdgShell::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XdgShell::removed)) {
                *result = 0;
                return;
            }
        }
    }
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject KWayland::Client::XdgShell::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_KWayland__Client__XdgShell.data,
    qt_meta_data_KWayland__Client__XdgShell,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int KWayland::Client::XdgShell::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 KWayland::Client::XdgShell::removed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
struct qt_meta_stringdata_KWayland__Client__XdgShellSurface_t {
    QByteArrayData data[9];
    char stringdata0[142];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWayland__Client__XdgShellSurface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWayland__Client__XdgShellSurface_t qt_meta_stringdata_KWayland__Client__XdgShellSurface = {
    {
QT_MOC_LITERAL(0, 0, 33), // "KWayland::Client::XdgShellSur..."
QT_MOC_LITERAL(1, 34, 14), // "closeRequested"
QT_MOC_LITERAL(2, 49, 0), // ""
QT_MOC_LITERAL(3, 50, 18), // "configureRequested"
QT_MOC_LITERAL(4, 69, 4), // "size"
QT_MOC_LITERAL(5, 74, 41), // "KWayland::Client::XdgShellSur..."
QT_MOC_LITERAL(6, 116, 6), // "states"
QT_MOC_LITERAL(7, 123, 6), // "serial"
QT_MOC_LITERAL(8, 130, 11) // "sizeChanged"

    },
    "KWayland::Client::XdgShellSurface\0"
    "closeRequested\0\0configureRequested\0"
    "size\0KWayland::Client::XdgShellSurface::States\0"
    "states\0serial\0sizeChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWayland__Client__XdgShellSurface[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   29,    2, 0x06 /* Public */,
       3,    3,   30,    2, 0x06 /* Public */,
       8,    1,   37,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QSize, 0x80000000 | 5, QMetaType::UInt,    4,    6,    7,
    QMetaType::Void, QMetaType::QSize,    2,

       0        // eod
};

void KWayland::Client::XdgShellSurface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<XdgShellSurface *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->closeRequested(); break;
        case 1: _t->configureRequested((*reinterpret_cast< const QSize(*)>(_a[1])),(*reinterpret_cast< KWayland::Client::XdgShellSurface::States(*)>(_a[2])),(*reinterpret_cast< quint32(*)>(_a[3]))); break;
        case 2: _t->sizeChanged((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KWayland::Client::XdgShellSurface::States >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (XdgShellSurface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XdgShellSurface::closeRequested)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (XdgShellSurface::*)(const QSize & , KWayland::Client::XdgShellSurface::States , quint32 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XdgShellSurface::configureRequested)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (XdgShellSurface::*)(const QSize & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XdgShellSurface::sizeChanged)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject KWayland::Client::XdgShellSurface::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_KWayland__Client__XdgShellSurface.data,
    qt_meta_data_KWayland__Client__XdgShellSurface,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int KWayland::Client::XdgShellSurface::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 < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    }
    return _id;
}

// SIGNAL 0
void KWayland::Client::XdgShellSurface::closeRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KWayland::Client::XdgShellSurface::configureRequested(const QSize & _t1, KWayland::Client::XdgShellSurface::States _t2, quint32 _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, 1, _a);
}

// SIGNAL 2
void KWayland::Client::XdgShellSurface::sizeChanged(const QSize & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
struct qt_meta_stringdata_KWayland__Client__XdgShellPopup_t {
    QByteArrayData data[6];
    char stringdata0[86];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWayland__Client__XdgShellPopup_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWayland__Client__XdgShellPopup_t qt_meta_stringdata_KWayland__Client__XdgShellPopup = {
    {
QT_MOC_LITERAL(0, 0, 31), // "KWayland::Client::XdgShellPopup"
QT_MOC_LITERAL(1, 32, 9), // "popupDone"
QT_MOC_LITERAL(2, 42, 0), // ""
QT_MOC_LITERAL(3, 43, 18), // "configureRequested"
QT_MOC_LITERAL(4, 62, 16), // "relativePosition"
QT_MOC_LITERAL(5, 79, 6) // "serial"

    },
    "KWayland::Client::XdgShellPopup\0"
    "popupDone\0\0configureRequested\0"
    "relativePosition\0serial"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWayland__Client__XdgShellPopup[] = {

 // content:
       8,       // 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,    2,   25,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QRect, QMetaType::UInt,    4,    5,

       0        // eod
};

void KWayland::Client::XdgShellPopup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<XdgShellPopup *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->popupDone(); break;
        case 1: _t->configureRequested((*reinterpret_cast< const QRect(*)>(_a[1])),(*reinterpret_cast< quint32(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (XdgShellPopup::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XdgShellPopup::popupDone)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (XdgShellPopup::*)(const QRect & , quint32 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XdgShellPopup::configureRequested)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject KWayland::Client::XdgShellPopup::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_KWayland__Client__XdgShellPopup.data,
    qt_meta_data_KWayland__Client__XdgShellPopup,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int KWayland::Client::XdgShellPopup::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 < 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 KWayland::Client::XdgShellPopup::popupDone()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KWayland::Client::XdgShellPopup::configureRequested(const QRect & _t1, quint32 _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, 1, _a);
}
struct qt_meta_stringdata_KWayland__Client__XdgShellStable_t {
    QByteArrayData data[1];
    char stringdata0[33];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWayland__Client__XdgShellStable_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWayland__Client__XdgShellStable_t qt_meta_stringdata_KWayland__Client__XdgShellStable = {
    {
QT_MOC_LITERAL(0, 0, 32) // "KWayland::Client::XdgShellStable"

    },
    "KWayland::Client::XdgShellStable"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWayland__Client__XdgShellStable[] = {

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

       0        // eod
};

void KWayland::Client::XdgShellStable::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject KWayland::Client::XdgShellStable::staticMetaObject = { {
    QMetaObject::SuperData::link<XdgShell::staticMetaObject>(),
    qt_meta_stringdata_KWayland__Client__XdgShellStable.data,
    qt_meta_data_KWayland__Client__XdgShellStable,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *KWayland::Client::XdgShellStable::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KWayland__Client__XdgShellStable.stringdata0))
        return static_cast<void*>(this);
    return XdgShell::qt_metacast(_clname);
}

int KWayland::Client::XdgShellStable::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = XdgShell::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_KWayland__Client__XdgTopLevelStable_t {
    QByteArrayData data[1];
    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_KWayland__Client__XdgTopLevelStable_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWayland__Client__XdgTopLevelStable_t qt_meta_stringdata_KWayland__Client__XdgTopLevelStable = {
    {
QT_MOC_LITERAL(0, 0, 35) // "KWayland::Client::XdgTopLevel..."

    },
    "KWayland::Client::XdgTopLevelStable"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWayland__Client__XdgTopLevelStable[] = {

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

       0        // eod
};

void KWayland::Client::XdgTopLevelStable::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject KWayland::Client::XdgTopLevelStable::staticMetaObject = { {
    QMetaObject::SuperData::link<XdgShellSurface::staticMetaObject>(),
    qt_meta_stringdata_KWayland__Client__XdgTopLevelStable.data,
    qt_meta_data_KWayland__Client__XdgTopLevelStable,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *KWayland::Client::XdgTopLevelStable::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KWayland__Client__XdgTopLevelStable.stringdata0))
        return static_cast<void*>(this);
    return XdgShellSurface::qt_metacast(_clname);
}

int KWayland::Client::XdgTopLevelStable::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = XdgShellSurface::qt_metacall(_c, _id, _a);
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
