/****************************************************************************
** Meta object code from reading C++ file 'screencast_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/screencast_v1_interface.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'screencast_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__ScreencastStreamV1Interface_t {
    QByteArrayData data[3];
    char stringdata0[54];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWaylandServer__ScreencastStreamV1Interface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWaylandServer__ScreencastStreamV1Interface_t qt_meta_stringdata_KWaylandServer__ScreencastStreamV1Interface = {
    {
QT_MOC_LITERAL(0, 0, 43), // "KWaylandServer::ScreencastStr..."
QT_MOC_LITERAL(1, 44, 8), // "finished"
QT_MOC_LITERAL(2, 53, 0) // ""

    },
    "KWaylandServer::ScreencastStreamV1Interface\0"
    "finished\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWaylandServer__ScreencastStreamV1Interface[] = {

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

QT_INIT_METAOBJECT const QMetaObject KWaylandServer::ScreencastStreamV1Interface::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_KWaylandServer__ScreencastStreamV1Interface.data,
    qt_meta_data_KWaylandServer__ScreencastStreamV1Interface,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int KWaylandServer::ScreencastStreamV1Interface::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 KWaylandServer::ScreencastStreamV1Interface::finished()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
struct qt_meta_stringdata_KWaylandServer__ScreencastV1Interface_t {
    QByteArrayData data[18];
    char stringdata0[249];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWaylandServer__ScreencastV1Interface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWaylandServer__ScreencastV1Interface_t qt_meta_stringdata_KWaylandServer__ScreencastV1Interface = {
    {
QT_MOC_LITERAL(0, 0, 37), // "KWaylandServer::ScreencastV1I..."
QT_MOC_LITERAL(1, 38, 25), // "outputScreencastRequested"
QT_MOC_LITERAL(2, 64, 0), // ""
QT_MOC_LITERAL(3, 65, 28), // "ScreencastStreamV1Interface*"
QT_MOC_LITERAL(4, 94, 6), // "stream"
QT_MOC_LITERAL(5, 101, 16), // "OutputInterface*"
QT_MOC_LITERAL(6, 118, 6), // "output"
QT_MOC_LITERAL(7, 125, 10), // "CursorMode"
QT_MOC_LITERAL(8, 136, 4), // "mode"
QT_MOC_LITERAL(9, 141, 32), // "virtualOutputScreencastRequested"
QT_MOC_LITERAL(10, 174, 4), // "name"
QT_MOC_LITERAL(11, 179, 4), // "size"
QT_MOC_LITERAL(12, 184, 7), // "scaling"
QT_MOC_LITERAL(13, 192, 25), // "windowScreencastRequested"
QT_MOC_LITERAL(14, 218, 5), // "winid"
QT_MOC_LITERAL(15, 224, 6), // "Hidden"
QT_MOC_LITERAL(16, 231, 8), // "Embedded"
QT_MOC_LITERAL(17, 240, 8) // "Metadata"

    },
    "KWaylandServer::ScreencastV1Interface\0"
    "outputScreencastRequested\0\0"
    "ScreencastStreamV1Interface*\0stream\0"
    "OutputInterface*\0output\0CursorMode\0"
    "mode\0virtualOutputScreencastRequested\0"
    "name\0size\0scaling\0windowScreencastRequested\0"
    "winid\0Hidden\0Embedded\0Metadata"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWaylandServer__ScreencastV1Interface[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    3,   29,    2, 0x06 /* Public */,
       9,    5,   36,    2, 0x06 /* Public */,
      13,    3,   47,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 0x80000000 | 7,    4,    6,    8,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString, QMetaType::QSize, QMetaType::Double, 0x80000000 | 7,    4,   10,   11,   12,    8,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString, 0x80000000 | 7,    4,   14,    8,

 // enums: name, alias, flags, count, data
       7,    7, 0x0,    3,   59,

 // enum data: key, value
      15, uint(KWaylandServer::ScreencastV1Interface::Hidden),
      16, uint(KWaylandServer::ScreencastV1Interface::Embedded),
      17, uint(KWaylandServer::ScreencastV1Interface::Metadata),

       0        // eod
};

void KWaylandServer::ScreencastV1Interface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ScreencastV1Interface *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->outputScreencastRequested((*reinterpret_cast< ScreencastStreamV1Interface*(*)>(_a[1])),(*reinterpret_cast< OutputInterface*(*)>(_a[2])),(*reinterpret_cast< CursorMode(*)>(_a[3]))); break;
        case 1: _t->virtualOutputScreencastRequested((*reinterpret_cast< ScreencastStreamV1Interface*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QSize(*)>(_a[3])),(*reinterpret_cast< double(*)>(_a[4])),(*reinterpret_cast< CursorMode(*)>(_a[5]))); break;
        case 2: _t->windowScreencastRequested((*reinterpret_cast< ScreencastStreamV1Interface*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< CursorMode(*)>(_a[3]))); 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< ScreencastStreamV1Interface* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ScreencastStreamV1Interface* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ScreencastStreamV1Interface* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (ScreencastV1Interface::*)(ScreencastStreamV1Interface * , OutputInterface * , CursorMode );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScreencastV1Interface::outputScreencastRequested)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (ScreencastV1Interface::*)(ScreencastStreamV1Interface * , const QString & , const QSize & , double , CursorMode );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScreencastV1Interface::virtualOutputScreencastRequested)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (ScreencastV1Interface::*)(ScreencastStreamV1Interface * , const QString & , CursorMode );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScreencastV1Interface::windowScreencastRequested)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject KWaylandServer::ScreencastV1Interface::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_KWaylandServer__ScreencastV1Interface.data,
    qt_meta_data_KWaylandServer__ScreencastV1Interface,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int KWaylandServer::ScreencastV1Interface::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 KWaylandServer::ScreencastV1Interface::outputScreencastRequested(ScreencastStreamV1Interface * _t1, OutputInterface * _t2, CursorMode _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, 0, _a);
}

// SIGNAL 1
void KWaylandServer::ScreencastV1Interface::virtualOutputScreencastRequested(ScreencastStreamV1Interface * _t1, const QString & _t2, const QSize & _t3, double _t4, CursorMode _t5)
{
    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))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t4))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t5))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KWaylandServer::ScreencastV1Interface::windowScreencastRequested(ScreencastStreamV1Interface * _t1, const QString & _t2, CursorMode _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, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
