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

#include <memory>
#include "../../../../../dwayland-5.25.0/src/server/layershell_v1_interface.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'layershell_v1_interface.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.14. 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_KWaylandServer__LayerShellV1Interface_t {
    QByteArrayData data[5];
    char stringdata0[87];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWaylandServer__LayerShellV1Interface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWaylandServer__LayerShellV1Interface_t qt_meta_stringdata_KWaylandServer__LayerShellV1Interface = {
    {
QT_MOC_LITERAL(0, 0, 37), // "KWaylandServer::LayerShellV1I..."
QT_MOC_LITERAL(1, 38, 14), // "surfaceCreated"
QT_MOC_LITERAL(2, 53, 0), // ""
QT_MOC_LITERAL(3, 54, 24), // "LayerSurfaceV1Interface*"
QT_MOC_LITERAL(4, 79, 7) // "surface"

    },
    "KWaylandServer::LayerShellV1Interface\0"
    "surfaceCreated\0\0LayerSurfaceV1Interface*\0"
    "surface"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWaylandServer__LayerShellV1Interface[] = {

 // 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,    1,   19,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,

       0        // eod
};

void KWaylandServer::LayerShellV1Interface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<LayerShellV1Interface *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->surfaceCreated((*reinterpret_cast< LayerSurfaceV1Interface*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< LayerSurfaceV1Interface* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (LayerShellV1Interface::*)(LayerSurfaceV1Interface * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LayerShellV1Interface::surfaceCreated)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject KWaylandServer::LayerShellV1Interface::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_KWaylandServer__LayerShellV1Interface.data,
    qt_meta_data_KWaylandServer__LayerShellV1Interface,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int KWaylandServer::LayerShellV1Interface::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void KWaylandServer::LayerShellV1Interface::surfaceCreated(LayerSurfaceV1Interface * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_KWaylandServer__LayerSurfaceV1Interface_t {
    QByteArrayData data[11];
    char stringdata0[191];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWaylandServer__LayerSurfaceV1Interface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWaylandServer__LayerSurfaceV1Interface_t qt_meta_stringdata_KWaylandServer__LayerSurfaceV1Interface = {
    {
QT_MOC_LITERAL(0, 0, 39), // "KWaylandServer::LayerSurfaceV..."
QT_MOC_LITERAL(1, 40, 18), // "aboutToBeDestroyed"
QT_MOC_LITERAL(2, 59, 0), // ""
QT_MOC_LITERAL(3, 60, 21), // "configureAcknowledged"
QT_MOC_LITERAL(4, 82, 6), // "serial"
QT_MOC_LITERAL(5, 89, 19), // "acceptsFocusChanged"
QT_MOC_LITERAL(6, 109, 12), // "layerChanged"
QT_MOC_LITERAL(7, 122, 13), // "anchorChanged"
QT_MOC_LITERAL(8, 136, 18), // "desiredSizeChanged"
QT_MOC_LITERAL(9, 155, 20), // "exclusiveZoneChanged"
QT_MOC_LITERAL(10, 176, 14) // "marginsChanged"

    },
    "KWaylandServer::LayerSurfaceV1Interface\0"
    "aboutToBeDestroyed\0\0configureAcknowledged\0"
    "serial\0acceptsFocusChanged\0layerChanged\0"
    "anchorChanged\0desiredSizeChanged\0"
    "exclusiveZoneChanged\0marginsChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWaylandServer__LayerSurfaceV1Interface[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   54,    2, 0x06 /* Public */,
       3,    1,   55,    2, 0x06 /* Public */,
       5,    0,   58,    2, 0x06 /* Public */,
       6,    0,   59,    2, 0x06 /* Public */,
       7,    0,   60,    2, 0x06 /* Public */,
       8,    0,   61,    2, 0x06 /* Public */,
       9,    0,   62,    2, 0x06 /* Public */,
      10,    0,   63,    2, 0x06 /* Public */,

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

       0        // eod
};

void KWaylandServer::LayerSurfaceV1Interface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<LayerSurfaceV1Interface *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->aboutToBeDestroyed(); break;
        case 1: _t->configureAcknowledged((*reinterpret_cast< quint32(*)>(_a[1]))); break;
        case 2: _t->acceptsFocusChanged(); break;
        case 3: _t->layerChanged(); break;
        case 4: _t->anchorChanged(); break;
        case 5: _t->desiredSizeChanged(); break;
        case 6: _t->exclusiveZoneChanged(); break;
        case 7: _t->marginsChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (LayerSurfaceV1Interface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LayerSurfaceV1Interface::aboutToBeDestroyed)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (LayerSurfaceV1Interface::*)(quint32 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LayerSurfaceV1Interface::configureAcknowledged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (LayerSurfaceV1Interface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LayerSurfaceV1Interface::acceptsFocusChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (LayerSurfaceV1Interface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LayerSurfaceV1Interface::layerChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (LayerSurfaceV1Interface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LayerSurfaceV1Interface::anchorChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (LayerSurfaceV1Interface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LayerSurfaceV1Interface::desiredSizeChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (LayerSurfaceV1Interface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LayerSurfaceV1Interface::exclusiveZoneChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (LayerSurfaceV1Interface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LayerSurfaceV1Interface::marginsChanged)) {
                *result = 7;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject KWaylandServer::LayerSurfaceV1Interface::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_KWaylandServer__LayerSurfaceV1Interface.data,
    qt_meta_data_KWaylandServer__LayerSurfaceV1Interface,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void KWaylandServer::LayerSurfaceV1Interface::aboutToBeDestroyed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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

// SIGNAL 2
void KWaylandServer::LayerSurfaceV1Interface::acceptsFocusChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void KWaylandServer::LayerSurfaceV1Interface::layerChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void KWaylandServer::LayerSurfaceV1Interface::anchorChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void KWaylandServer::LayerSurfaceV1Interface::desiredSizeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void KWaylandServer::LayerSurfaceV1Interface::exclusiveZoneChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void KWaylandServer::LayerSurfaceV1Interface::marginsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
