/****************************************************************************
** Meta object code from reading C++ file 'org_ayatana_bamf_window.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 "generated/org_ayatana_bamf_window.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'org_ayatana_bamf_window.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___window_t {
    QByteArrayData data[23];
    char stringdata0[264];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___window_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___window_t qt_meta_stringdata___window = {
    {
QT_MOC_LITERAL(0, 0, 8), // "__window"
QT_MOC_LITERAL(1, 9, 16), // "MaximizedChanged"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 3), // "old"
QT_MOC_LITERAL(4, 31, 4), // "new_"
QT_MOC_LITERAL(5, 36, 14), // "MonitorChanged"
QT_MOC_LITERAL(6, 51, 6), // "GetPid"
QT_MOC_LITERAL(7, 58, 23), // "QDBusPendingReply<uint>"
QT_MOC_LITERAL(8, 82, 6), // "GetXid"
QT_MOC_LITERAL(9, 89, 9), // "Maximized"
QT_MOC_LITERAL(10, 99, 22), // "QDBusPendingReply<int>"
QT_MOC_LITERAL(11, 122, 7), // "Monitor"
QT_MOC_LITERAL(12, 130, 9), // "Transient"
QT_MOC_LITERAL(13, 140, 26), // "QDBusPendingReply<QString>"
QT_MOC_LITERAL(14, 167, 10), // "WindowType"
QT_MOC_LITERAL(15, 178, 5), // "Xprop"
QT_MOC_LITERAL(16, 184, 5), // "xprop"
QT_MOC_LITERAL(17, 190, 10), // "CallQueued"
QT_MOC_LITERAL(18, 201, 8), // "callName"
QT_MOC_LITERAL(19, 210, 4), // "args"
QT_MOC_LITERAL(20, 215, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(21, 237, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(22, 262, 1) // "w"

    },
    "__window\0MaximizedChanged\0\0old\0new_\0"
    "MonitorChanged\0GetPid\0QDBusPendingReply<uint>\0"
    "GetXid\0Maximized\0QDBusPendingReply<int>\0"
    "Monitor\0Transient\0QDBusPendingReply<QString>\0"
    "WindowType\0Xprop\0xprop\0CallQueued\0"
    "callName\0args\0onPendingCallFinished\0"
    "QDBusPendingCallWatcher*\0w"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___window[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   69,    2, 0x06 /* Public */,
       5,    2,   74,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    0,   79,    2, 0x0a /* Public */,
       8,    0,   80,    2, 0x0a /* Public */,
       9,    0,   81,    2, 0x0a /* Public */,
      11,    0,   82,    2, 0x0a /* Public */,
      12,    0,   83,    2, 0x0a /* Public */,
      14,    0,   84,    2, 0x0a /* Public */,
      15,    1,   85,    2, 0x0a /* Public */,
      17,    2,   88,    2, 0x0a /* Public */,
      20,    1,   93,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    3,    4,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    3,    4,

 // slots: parameters
    0x80000000 | 7,
    0x80000000 | 7,
    0x80000000 | 10,
    0x80000000 | 10,
    0x80000000 | 13,
    0x80000000 | 7,
    0x80000000 | 13, QMetaType::QString,   16,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,   18,   19,
    QMetaType::Void, 0x80000000 | 21,   22,

       0        // eod
};

void __window::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__window *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->MaximizedChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->MonitorChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: { QDBusPendingReply<uint> _r = _t->GetPid();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<uint>*>(_a[0]) = std::move(_r); }  break;
        case 3: { QDBusPendingReply<uint> _r = _t->GetXid();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<uint>*>(_a[0]) = std::move(_r); }  break;
        case 4: { QDBusPendingReply<int> _r = _t->Maximized();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<int>*>(_a[0]) = std::move(_r); }  break;
        case 5: { QDBusPendingReply<int> _r = _t->Monitor();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<int>*>(_a[0]) = std::move(_r); }  break;
        case 6: { QDBusPendingReply<QString> _r = _t->Transient();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 7: { QDBusPendingReply<uint> _r = _t->WindowType();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<uint>*>(_a[0]) = std::move(_r); }  break;
        case 8: { QDBusPendingReply<QString> _r = _t->Xprop((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 9: _t->CallQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QVariant>(*)>(_a[2]))); break;
        case 10: _t->onPendingCallFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusPendingCallWatcher* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (__window::*)(int , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__window::MaximizedChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (__window::*)(int , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__window::MonitorChanged)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject __window::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___window.data,
    qt_meta_data___window,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *__window::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata___window.stringdata0))
        return static_cast<void*>(this);
    return DBusExtendedAbstractInterface::qt_metacast(_clname);
}

int __window::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DBusExtendedAbstractInterface::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
    return _id;
}

// SIGNAL 0
void __window::MaximizedChanged(int _t1, 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, 0, _a);
}

// SIGNAL 1
void __window::MonitorChanged(int _t1, 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, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
