/****************************************************************************
** Meta object code from reading C++ file 'org_freedesktop_notifications.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_freedesktop_notifications.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'org_freedesktop_notifications.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___Notifications_t {
    QByteArrayData data[31];
    char stringdata0[397];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata___Notifications_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata___Notifications_t qt_meta_stringdata___Notifications = {
    {
QT_MOC_LITERAL(0, 0, 15), // "__Notifications"
QT_MOC_LITERAL(1, 16, 18), // "NotificationClosed"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 3), // "in0"
QT_MOC_LITERAL(4, 40, 3), // "in1"
QT_MOC_LITERAL(5, 44, 17), // "CloseNotification"
QT_MOC_LITERAL(6, 62, 19), // "QDBusPendingReply<>"
QT_MOC_LITERAL(7, 82, 23), // "CloseNotificationQueued"
QT_MOC_LITERAL(8, 106, 14), // "GetCapbilities"
QT_MOC_LITERAL(9, 121, 30), // "QDBusPendingReply<QStringList>"
QT_MOC_LITERAL(10, 152, 20), // "GetServerInformation"
QT_MOC_LITERAL(11, 173, 50), // "QDBusPendingReply<QString,QSt..."
QT_MOC_LITERAL(12, 224, 19), // "QDBusReply<QString>"
QT_MOC_LITERAL(13, 244, 8), // "QString&"
QT_MOC_LITERAL(14, 253, 4), // "out1"
QT_MOC_LITERAL(15, 258, 4), // "out2"
QT_MOC_LITERAL(16, 263, 4), // "out3"
QT_MOC_LITERAL(17, 268, 6), // "Notify"
QT_MOC_LITERAL(18, 275, 23), // "QDBusPendingReply<uint>"
QT_MOC_LITERAL(19, 299, 3), // "in2"
QT_MOC_LITERAL(20, 303, 3), // "in3"
QT_MOC_LITERAL(21, 307, 3), // "in4"
QT_MOC_LITERAL(22, 311, 3), // "in5"
QT_MOC_LITERAL(23, 315, 3), // "in6"
QT_MOC_LITERAL(24, 319, 3), // "in7"
QT_MOC_LITERAL(25, 323, 10), // "CallQueued"
QT_MOC_LITERAL(26, 334, 8), // "callName"
QT_MOC_LITERAL(27, 343, 4), // "args"
QT_MOC_LITERAL(28, 348, 21), // "onPendingCallFinished"
QT_MOC_LITERAL(29, 370, 24), // "QDBusPendingCallWatcher*"
QT_MOC_LITERAL(30, 395, 1) // "w"

    },
    "__Notifications\0NotificationClosed\0\0"
    "in0\0in1\0CloseNotification\0QDBusPendingReply<>\0"
    "CloseNotificationQueued\0GetCapbilities\0"
    "QDBusPendingReply<QStringList>\0"
    "GetServerInformation\0"
    "QDBusPendingReply<QString,QString,QString,QString>\0"
    "QDBusReply<QString>\0QString&\0out1\0"
    "out2\0out3\0Notify\0QDBusPendingReply<uint>\0"
    "in2\0in3\0in4\0in5\0in6\0in7\0CallQueued\0"
    "callName\0args\0onPendingCallFinished\0"
    "QDBusPendingCallWatcher*\0w"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data___Notifications[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   59,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    1,   64,    2, 0x0a /* Public */,
       7,    1,   67,    2, 0x0a /* Public */,
       8,    0,   70,    2, 0x0a /* Public */,
      10,    0,   71,    2, 0x0a /* Public */,
      10,    3,   72,    2, 0x0a /* Public */,
      17,    8,   79,    2, 0x0a /* Public */,
      25,    2,   96,    2, 0x0a /* Public */,
      28,    1,  101,    2, 0x08 /* Private */,

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

 // slots: parameters
    0x80000000 | 6, QMetaType::UInt,    3,
    QMetaType::Void, QMetaType::UInt,    3,
    0x80000000 | 9,
    0x80000000 | 11,
    0x80000000 | 12, 0x80000000 | 13, 0x80000000 | 13, 0x80000000 | 13,   14,   15,   16,
    0x80000000 | 18, QMetaType::QString, QMetaType::UInt, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QStringList, QMetaType::QVariantMap, QMetaType::Int,    3,    4,   19,   20,   21,   22,   23,   24,
    QMetaType::Void, QMetaType::QString, QMetaType::QVariantList,   26,   27,
    QMetaType::Void, 0x80000000 | 29,   30,

       0        // eod
};

void __Notifications::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<__Notifications *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->NotificationClosed((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
        case 1: { QDBusPendingReply<> _r = _t->CloseNotification((*reinterpret_cast< uint(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 2: _t->CloseNotificationQueued((*reinterpret_cast< uint(*)>(_a[1]))); break;
        case 3: { QDBusPendingReply<QStringList> _r = _t->GetCapbilities();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QStringList>*>(_a[0]) = std::move(_r); }  break;
        case 4: { QDBusPendingReply<QString,QString,QString,QString> _r = _t->GetServerInformation();
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<QString,QString,QString,QString>*>(_a[0]) = std::move(_r); }  break;
        case 5: { QDBusReply<QString> _r = _t->GetServerInformation((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QDBusReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 6: { QDBusPendingReply<uint> _r = _t->Notify((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< const QString(*)>(_a[5])),(*reinterpret_cast< const QStringList(*)>(_a[6])),(*reinterpret_cast< const QVariantMap(*)>(_a[7])),(*reinterpret_cast< int(*)>(_a[8])));
            if (_a[0]) *reinterpret_cast< QDBusPendingReply<uint>*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->CallQueued((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<QVariant>(*)>(_a[2]))); break;
        case 8: _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 8:
            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 (__Notifications::*)(uint , uint );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&__Notifications::NotificationClosed)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject __Notifications::staticMetaObject = { {
    QMetaObject::SuperData::link<DBusExtendedAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata___Notifications.data,
    qt_meta_data___Notifications,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void __Notifications::NotificationClosed(uint _t1, uint _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);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
