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

#include <memory>
#include "../qdbusconnectioninterface.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qdbusconnectioninterface.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.6. 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_QDBusConnectionInterface_t {
    QByteArrayData data[46];
    char stringdata0[754];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QDBusConnectionInterface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QDBusConnectionInterface_t qt_meta_stringdata_QDBusConnectionInterface = {
    {
QT_MOC_LITERAL(0, 0, 24), // "QDBusConnectionInterface"
QT_MOC_LITERAL(1, 25, 17), // "serviceRegistered"
QT_MOC_LITERAL(2, 43, 0), // ""
QT_MOC_LITERAL(3, 44, 7), // "service"
QT_MOC_LITERAL(4, 52, 19), // "serviceUnregistered"
QT_MOC_LITERAL(5, 72, 19), // "serviceOwnerChanged"
QT_MOC_LITERAL(6, 92, 4), // "name"
QT_MOC_LITERAL(7, 97, 8), // "oldOwner"
QT_MOC_LITERAL(8, 106, 8), // "newOwner"
QT_MOC_LITERAL(9, 115, 22), // "callWithCallbackFailed"
QT_MOC_LITERAL(10, 138, 10), // "QDBusError"
QT_MOC_LITERAL(11, 149, 5), // "error"
QT_MOC_LITERAL(12, 155, 12), // "QDBusMessage"
QT_MOC_LITERAL(13, 168, 4), // "call"
QT_MOC_LITERAL(14, 173, 12), // "NameAcquired"
QT_MOC_LITERAL(15, 186, 8), // "NameLost"
QT_MOC_LITERAL(16, 195, 16), // "NameOwnerChanged"
QT_MOC_LITERAL(17, 212, 22), // "registeredServiceNames"
QT_MOC_LITERAL(18, 235, 23), // "QDBusReply<QStringList>"
QT_MOC_LITERAL(19, 259, 23), // "activatableServiceNames"
QT_MOC_LITERAL(20, 283, 19), // "isServiceRegistered"
QT_MOC_LITERAL(21, 303, 16), // "QDBusReply<bool>"
QT_MOC_LITERAL(22, 320, 11), // "serviceName"
QT_MOC_LITERAL(23, 332, 12), // "serviceOwner"
QT_MOC_LITERAL(24, 345, 19), // "QDBusReply<QString>"
QT_MOC_LITERAL(25, 365, 17), // "unregisterService"
QT_MOC_LITERAL(26, 383, 15), // "registerService"
QT_MOC_LITERAL(27, 399, 58), // "QDBusReply<QDBusConnectionInt..."
QT_MOC_LITERAL(28, 458, 19), // "ServiceQueueOptions"
QT_MOC_LITERAL(29, 478, 7), // "qoption"
QT_MOC_LITERAL(30, 486, 25), // "ServiceReplacementOptions"
QT_MOC_LITERAL(31, 512, 7), // "roption"
QT_MOC_LITERAL(32, 520, 10), // "servicePid"
QT_MOC_LITERAL(33, 531, 16), // "QDBusReply<uint>"
QT_MOC_LITERAL(34, 548, 10), // "serviceUid"
QT_MOC_LITERAL(35, 559, 12), // "startService"
QT_MOC_LITERAL(36, 572, 16), // "QDBusReply<void>"
QT_MOC_LITERAL(37, 589, 16), // "DontQueueService"
QT_MOC_LITERAL(38, 606, 12), // "QueueService"
QT_MOC_LITERAL(39, 619, 22), // "ReplaceExistingService"
QT_MOC_LITERAL(40, 642, 20), // "DontAllowReplacement"
QT_MOC_LITERAL(41, 663, 16), // "AllowReplacement"
QT_MOC_LITERAL(42, 680, 20), // "RegisterServiceReply"
QT_MOC_LITERAL(43, 701, 20), // "ServiceNotRegistered"
QT_MOC_LITERAL(44, 722, 17), // "ServiceRegistered"
QT_MOC_LITERAL(45, 740, 13) // "ServiceQueued"

    },
    "QDBusConnectionInterface\0serviceRegistered\0"
    "\0service\0serviceUnregistered\0"
    "serviceOwnerChanged\0name\0oldOwner\0"
    "newOwner\0callWithCallbackFailed\0"
    "QDBusError\0error\0QDBusMessage\0call\0"
    "NameAcquired\0NameLost\0NameOwnerChanged\0"
    "registeredServiceNames\0QDBusReply<QStringList>\0"
    "activatableServiceNames\0isServiceRegistered\0"
    "QDBusReply<bool>\0serviceName\0serviceOwner\0"
    "QDBusReply<QString>\0unregisterService\0"
    "registerService\0"
    "QDBusReply<QDBusConnectionInterface::RegisterServiceReply>\0"
    "ServiceQueueOptions\0qoption\0"
    "ServiceReplacementOptions\0roption\0"
    "servicePid\0QDBusReply<uint>\0serviceUid\0"
    "startService\0QDBusReply<void>\0"
    "DontQueueService\0QueueService\0"
    "ReplaceExistingService\0DontAllowReplacement\0"
    "AllowReplacement\0RegisterServiceReply\0"
    "ServiceNotRegistered\0ServiceRegistered\0"
    "ServiceQueued"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QDBusConnectionInterface[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      18,   14, // methods
       2,  170, // properties
       3,  176, // enums/sets
       0,    0, // constructors
       0,       // flags
       7,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  104,    2, 0x06 /* Public */,
       4,    1,  107,    2, 0x06 /* Public */,
       5,    3,  110,    2, 0x06 /* Public */,
       9,    2,  117,    2, 0x06 /* Public */,
      14,    1,  122,    2, 0x06 /* Public */,
      15,    1,  125,    2, 0x06 /* Public */,
      16,    3,  128,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      17,    0,  135,    2, 0x0a /* Public */,
      19,    0,  136,    2, 0x0a /* Public */,
      20,    1,  137,    2, 0x0a /* Public */,
      23,    1,  140,    2, 0x0a /* Public */,
      25,    1,  143,    2, 0x0a /* Public */,
      26,    3,  146,    2, 0x0a /* Public */,
      26,    2,  153,    2, 0x2a /* Public | MethodCloned */,
      26,    1,  158,    2, 0x2a /* Public | MethodCloned */,
      32,    1,  161,    2, 0x0a /* Public */,
      34,    1,  164,    2, 0x0a /* Public */,
      35,    1,  167,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,    6,    7,    8,
    QMetaType::Void, 0x80000000 | 10, 0x80000000 | 12,   11,   13,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,    2,    2,    2,

 // slots: parameters
    0x80000000 | 18,
    0x80000000 | 18,
    0x80000000 | 21, QMetaType::QString,   22,
    0x80000000 | 24, QMetaType::QString,    6,
    0x80000000 | 21, QMetaType::QString,   22,
    0x80000000 | 27, QMetaType::QString, 0x80000000 | 28, 0x80000000 | 30,   22,   29,   31,
    0x80000000 | 27, QMetaType::QString, 0x80000000 | 28,   22,   29,
    0x80000000 | 27, QMetaType::QString,   22,
    0x80000000 | 33, QMetaType::QString,   22,
    0x80000000 | 33, QMetaType::QString,   22,
    0x80000000 | 36, QMetaType::QString,    6,

 // properties: name, type, flags
      17, 0x80000000 | 18, 0x00095009,
      19, 0x80000000 | 18, 0x00095009,

 // enums: name, alias, flags, count, data
      28,   28, 0x0,    3,  191,
      30,   30, 0x0,    2,  197,
      42,   42, 0x0,    3,  201,

 // enum data: key, value
      37, uint(QDBusConnectionInterface::DontQueueService),
      38, uint(QDBusConnectionInterface::QueueService),
      39, uint(QDBusConnectionInterface::ReplaceExistingService),
      40, uint(QDBusConnectionInterface::DontAllowReplacement),
      41, uint(QDBusConnectionInterface::AllowReplacement),
      43, uint(QDBusConnectionInterface::ServiceNotRegistered),
      44, uint(QDBusConnectionInterface::ServiceRegistered),
      45, uint(QDBusConnectionInterface::ServiceQueued),

       0        // eod
};

void QDBusConnectionInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QDBusConnectionInterface *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->serviceRegistered((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->serviceUnregistered((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->serviceOwnerChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 3: _t->callWithCallbackFailed((*reinterpret_cast< const QDBusError(*)>(_a[1])),(*reinterpret_cast< const QDBusMessage(*)>(_a[2]))); break;
        case 4: _t->NameAcquired((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->NameLost((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->NameOwnerChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 7: { QDBusReply<QStringList> _r = _t->registeredServiceNames();
            if (_a[0]) *reinterpret_cast< QDBusReply<QStringList>*>(_a[0]) = std::move(_r); }  break;
        case 8: { QDBusReply<QStringList> _r = _t->activatableServiceNames();
            if (_a[0]) *reinterpret_cast< QDBusReply<QStringList>*>(_a[0]) = std::move(_r); }  break;
        case 9: { QDBusReply<bool> _r = _t->isServiceRegistered((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 10: { QDBusReply<QString> _r = _t->serviceOwner((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 11: { QDBusReply<bool> _r = _t->unregisterService((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 12: { QDBusReply<QDBusConnectionInterface::RegisterServiceReply> _r = _t->registerService((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< ServiceQueueOptions(*)>(_a[2])),(*reinterpret_cast< ServiceReplacementOptions(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< QDBusReply<QDBusConnectionInterface::RegisterServiceReply>*>(_a[0]) = std::move(_r); }  break;
        case 13: { QDBusReply<QDBusConnectionInterface::RegisterServiceReply> _r = _t->registerService((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< ServiceQueueOptions(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QDBusReply<QDBusConnectionInterface::RegisterServiceReply>*>(_a[0]) = std::move(_r); }  break;
        case 14: { QDBusReply<QDBusConnectionInterface::RegisterServiceReply> _r = _t->registerService((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusReply<QDBusConnectionInterface::RegisterServiceReply>*>(_a[0]) = std::move(_r); }  break;
        case 15: { QDBusReply<uint> _r = _t->servicePid((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusReply<uint>*>(_a[0]) = std::move(_r); }  break;
        case 16: { QDBusReply<uint> _r = _t->serviceUid((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusReply<uint>*>(_a[0]) = std::move(_r); }  break;
        case 17: { QDBusReply<void> _r = _t->startService((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QDBusReply<void>*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusError >(); break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusMessage >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QDBusConnectionInterface::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusConnectionInterface::serviceRegistered)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QDBusConnectionInterface::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusConnectionInterface::serviceUnregistered)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QDBusConnectionInterface::*)(const QString & , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusConnectionInterface::serviceOwnerChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QDBusConnectionInterface::*)(const QDBusError & , const QDBusMessage & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusConnectionInterface::callWithCallbackFailed)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QDBusConnectionInterface::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusConnectionInterface::NameAcquired)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QDBusConnectionInterface::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusConnectionInterface::NameLost)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QDBusConnectionInterface::*)(const QString & , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDBusConnectionInterface::NameOwnerChanged)) {
                *result = 6;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QDBusConnectionInterface *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QDBusReply<QStringList>*>(_v) = _t->registeredServiceNames(); break;
        case 1: *reinterpret_cast< QDBusReply<QStringList>*>(_v) = _t->activatableServiceNames(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QDBusConnectionInterface::staticMetaObject = { {
    QMetaObject::SuperData::link<QDBusAbstractInterface::staticMetaObject>(),
    qt_meta_stringdata_QDBusConnectionInterface.data,
    qt_meta_data_QDBusConnectionInterface,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QDBusConnectionInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QDBusConnectionInterface::serviceRegistered(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void QDBusConnectionInterface::serviceUnregistered(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 QDBusConnectionInterface::serviceOwnerChanged(const QString & _t1, const QString & _t2, const QString & _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);
}

// SIGNAL 3
void QDBusConnectionInterface::callWithCallbackFailed(const QDBusError & _t1, const QDBusMessage & _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, 3, _a);
}

// SIGNAL 4
void QDBusConnectionInterface::NameAcquired(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void QDBusConnectionInterface::NameLost(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void QDBusConnectionInterface::NameOwnerChanged(const QString & _t1, const QString & _t2, const QString & _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, 6, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
