/****************************************************************************
** Meta object code from reading C++ file 'xdgforeign_v2_interface_p.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/server/xdgforeign_v2_interface_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'xdgforeign_v2_interface_p.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__Server__XdgExporterUnstableV2Interface_t {
    QByteArrayData data[7];
    char stringdata0[132];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWayland__Server__XdgExporterUnstableV2Interface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWayland__Server__XdgExporterUnstableV2Interface_t qt_meta_stringdata_KWayland__Server__XdgExporterUnstableV2Interface = {
    {
QT_MOC_LITERAL(0, 0, 48), // "KWayland::Server::XdgExporter..."
QT_MOC_LITERAL(1, 49, 15), // "surfaceExported"
QT_MOC_LITERAL(2, 65, 0), // ""
QT_MOC_LITERAL(3, 66, 6), // "handle"
QT_MOC_LITERAL(4, 73, 31), // "XdgExportedUnstableV2Interface*"
QT_MOC_LITERAL(5, 105, 8), // "exported"
QT_MOC_LITERAL(6, 114, 17) // "surfaceUnexported"

    },
    "KWayland::Server::XdgExporterUnstableV2Interface\0"
    "surfaceExported\0\0handle\0"
    "XdgExportedUnstableV2Interface*\0"
    "exported\0surfaceUnexported"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWayland__Server__XdgExporterUnstableV2Interface[] = {

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

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

       0        // eod
};

void KWayland::Server::XdgExporterUnstableV2Interface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<XdgExporterUnstableV2Interface *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->surfaceExported((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< XdgExportedUnstableV2Interface*(*)>(_a[2]))); break;
        case 1: _t->surfaceUnexported((*reinterpret_cast< const QString(*)>(_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 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< XdgExportedUnstableV2Interface* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (XdgExporterUnstableV2Interface::*)(const QString & , XdgExportedUnstableV2Interface * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XdgExporterUnstableV2Interface::surfaceExported)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (XdgExporterUnstableV2Interface::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XdgExporterUnstableV2Interface::surfaceUnexported)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject KWayland::Server::XdgExporterUnstableV2Interface::staticMetaObject = { {
    QMetaObject::SuperData::link<Global::staticMetaObject>(),
    qt_meta_stringdata_KWayland__Server__XdgExporterUnstableV2Interface.data,
    qt_meta_data_KWayland__Server__XdgExporterUnstableV2Interface,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *KWayland::Server::XdgExporterUnstableV2Interface::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KWayland__Server__XdgExporterUnstableV2Interface.stringdata0))
        return static_cast<void*>(this);
    return Global::qt_metacast(_clname);
}

int KWayland::Server::XdgExporterUnstableV2Interface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Global::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    return _id;
}

// SIGNAL 0
void KWayland::Server::XdgExporterUnstableV2Interface::surfaceExported(const QString & _t1, XdgExportedUnstableV2Interface * _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, 0, _a);
}

// SIGNAL 1
void KWayland::Server::XdgExporterUnstableV2Interface::surfaceUnexported(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
struct qt_meta_stringdata_KWayland__Server__XdgImporterUnstableV2Interface_t {
    QByteArrayData data[11];
    char stringdata0[198];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWayland__Server__XdgImporterUnstableV2Interface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWayland__Server__XdgImporterUnstableV2Interface_t qt_meta_stringdata_KWayland__Server__XdgImporterUnstableV2Interface = {
    {
QT_MOC_LITERAL(0, 0, 48), // "KWayland::Server::XdgImporter..."
QT_MOC_LITERAL(1, 49, 15), // "surfaceImported"
QT_MOC_LITERAL(2, 65, 0), // ""
QT_MOC_LITERAL(3, 66, 6), // "handle"
QT_MOC_LITERAL(4, 73, 31), // "XdgImportedUnstableV2Interface*"
QT_MOC_LITERAL(5, 105, 8), // "imported"
QT_MOC_LITERAL(6, 114, 17), // "surfaceUnimported"
QT_MOC_LITERAL(7, 132, 16), // "transientChanged"
QT_MOC_LITERAL(8, 149, 35), // "KWayland::Server::SurfaceInte..."
QT_MOC_LITERAL(9, 185, 5), // "child"
QT_MOC_LITERAL(10, 191, 6) // "parent"

    },
    "KWayland::Server::XdgImporterUnstableV2Interface\0"
    "surfaceImported\0\0handle\0"
    "XdgImportedUnstableV2Interface*\0"
    "imported\0surfaceUnimported\0transientChanged\0"
    "KWayland::Server::SurfaceInterface*\0"
    "child\0parent"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWayland__Server__XdgImporterUnstableV2Interface[] = {

 // 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,    2,   29,    2, 0x06 /* Public */,
       6,    1,   34,    2, 0x06 /* Public */,
       7,    2,   37,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, 0x80000000 | 4,    3,    5,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, 0x80000000 | 8, 0x80000000 | 8,    9,   10,

       0        // eod
};

void KWayland::Server::XdgImporterUnstableV2Interface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<XdgImporterUnstableV2Interface *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->surfaceImported((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< XdgImportedUnstableV2Interface*(*)>(_a[2]))); break;
        case 1: _t->surfaceUnimported((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->transientChanged((*reinterpret_cast< KWayland::Server::SurfaceInterface*(*)>(_a[1])),(*reinterpret_cast< KWayland::Server::SurfaceInterface*(*)>(_a[2]))); 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 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< XdgImportedUnstableV2Interface* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (XdgImporterUnstableV2Interface::*)(const QString & , XdgImportedUnstableV2Interface * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XdgImporterUnstableV2Interface::surfaceImported)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (XdgImporterUnstableV2Interface::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XdgImporterUnstableV2Interface::surfaceUnimported)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (XdgImporterUnstableV2Interface::*)(KWayland::Server::SurfaceInterface * , KWayland::Server::SurfaceInterface * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XdgImporterUnstableV2Interface::transientChanged)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject KWayland::Server::XdgImporterUnstableV2Interface::staticMetaObject = { {
    QMetaObject::SuperData::link<Global::staticMetaObject>(),
    qt_meta_stringdata_KWayland__Server__XdgImporterUnstableV2Interface.data,
    qt_meta_data_KWayland__Server__XdgImporterUnstableV2Interface,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *KWayland::Server::XdgImporterUnstableV2Interface::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KWayland__Server__XdgImporterUnstableV2Interface.stringdata0))
        return static_cast<void*>(this);
    return Global::qt_metacast(_clname);
}

int KWayland::Server::XdgImporterUnstableV2Interface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Global::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::Server::XdgImporterUnstableV2Interface::surfaceImported(const QString & _t1, XdgImportedUnstableV2Interface * _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, 0, _a);
}

// SIGNAL 1
void KWayland::Server::XdgImporterUnstableV2Interface::surfaceUnimported(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KWayland::Server::XdgImporterUnstableV2Interface::transientChanged(KWayland::Server::SurfaceInterface * _t1, KWayland::Server::SurfaceInterface * _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, 2, _a);
}
struct qt_meta_stringdata_KWayland__Server__XdgExportedUnstableV2Interface_t {
    QByteArrayData data[1];
    char stringdata0[49];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWayland__Server__XdgExportedUnstableV2Interface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWayland__Server__XdgExportedUnstableV2Interface_t qt_meta_stringdata_KWayland__Server__XdgExportedUnstableV2Interface = {
    {
QT_MOC_LITERAL(0, 0, 48) // "KWayland::Server::XdgExported..."

    },
    "KWayland::Server::XdgExportedUnstableV2Interface"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWayland__Server__XdgExportedUnstableV2Interface[] = {

 // 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::Server::XdgExportedUnstableV2Interface::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::Server::XdgExportedUnstableV2Interface::staticMetaObject = { {
    QMetaObject::SuperData::link<Resource::staticMetaObject>(),
    qt_meta_stringdata_KWayland__Server__XdgExportedUnstableV2Interface.data,
    qt_meta_data_KWayland__Server__XdgExportedUnstableV2Interface,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *KWayland::Server::XdgExportedUnstableV2Interface::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KWayland__Server__XdgExportedUnstableV2Interface.stringdata0))
        return static_cast<void*>(this);
    return Resource::qt_metacast(_clname);
}

int KWayland::Server::XdgExportedUnstableV2Interface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Resource::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_KWayland__Server__XdgImportedUnstableV2Interface_t {
    QByteArrayData data[5];
    char stringdata0[105];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWayland__Server__XdgImportedUnstableV2Interface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWayland__Server__XdgImportedUnstableV2Interface_t qt_meta_stringdata_KWayland__Server__XdgImportedUnstableV2Interface = {
    {
QT_MOC_LITERAL(0, 0, 48), // "KWayland::Server::XdgImported..."
QT_MOC_LITERAL(1, 49, 12), // "childChanged"
QT_MOC_LITERAL(2, 62, 0), // ""
QT_MOC_LITERAL(3, 63, 35), // "KWayland::Server::SurfaceInte..."
QT_MOC_LITERAL(4, 99, 5) // "child"

    },
    "KWayland::Server::XdgImportedUnstableV2Interface\0"
    "childChanged\0\0KWayland::Server::SurfaceInterface*\0"
    "child"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWayland__Server__XdgImportedUnstableV2Interface[] = {

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

QT_INIT_METAOBJECT const QMetaObject KWayland::Server::XdgImportedUnstableV2Interface::staticMetaObject = { {
    QMetaObject::SuperData::link<Resource::staticMetaObject>(),
    qt_meta_stringdata_KWayland__Server__XdgImportedUnstableV2Interface.data,
    qt_meta_data_KWayland__Server__XdgImportedUnstableV2Interface,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *KWayland::Server::XdgImportedUnstableV2Interface::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KWayland__Server__XdgImportedUnstableV2Interface.stringdata0))
        return static_cast<void*>(this);
    return Resource::qt_metacast(_clname);
}

int KWayland::Server::XdgImportedUnstableV2Interface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Resource::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::Server::XdgImportedUnstableV2Interface::childChanged(KWayland::Server::SurfaceInterface * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
