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

#include "../../misc/dbusstatusnotifier.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dbusstatusnotifier.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN5QtGui18DBusStatusNotifierE_t {};
} // unnamed namespace

template <> constexpr inline auto QtGui::DBusStatusNotifier::qt_create_metaobjectdata<qt_meta_tag_ZN5QtGui18DBusStatusNotifierE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "QtGui::DBusStatusNotifier",
        "connectRequested",
        "",
        "dismissNotificationsRequested",
        "showNotificationsRequested",
        "errorDetailsRequested",
        "webUiRequested",
        "updateSettingsRequested",
        "showDisconnect",
        "hideDisconnect",
        "showInternalError",
        "QtGui::InternalError",
        "error",
        "showLauncherError",
        "errorMessage",
        "additionalInfo",
        "showSyncthingNotification",
        "CppUtilities::DateTime",
        "when",
        "message",
        "showSyncComplete",
        "showNewDev",
        "devId",
        "showNewDir",
        "dirId",
        "dirLabel",
        "showNewVersionAvailable",
        "version",
        "setIcons",
        "Data::StatusIcons",
        "statusIcons",
        "icons",
        "handleSyncthingNotificationAction",
        "action"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'connectRequested'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'dismissNotificationsRequested'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'showNotificationsRequested'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'errorDetailsRequested'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'webUiRequested'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'updateSettingsRequested'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showDisconnect'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'hideDisconnect'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showInternalError'
        QtMocHelpers::SlotData<void(const QtGui::InternalError &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 12 },
        }}),
        // Slot 'showLauncherError'
        QtMocHelpers::SlotData<void(const QString &, const QString &)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 14 }, { QMetaType::QString, 15 },
        }}),
        // Slot 'showSyncthingNotification'
        QtMocHelpers::SlotData<void(CppUtilities::DateTime, const QString &)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 17, 18 }, { QMetaType::QString, 19 },
        }}),
        // Slot 'showSyncComplete'
        QtMocHelpers::SlotData<void(const QString &)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 19 },
        }}),
        // Slot 'showNewDev'
        QtMocHelpers::SlotData<void(const QString &, const QString &)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 22 }, { QMetaType::QString, 19 },
        }}),
        // Slot 'showNewDir'
        QtMocHelpers::SlotData<void(const QString &, const QString &, const QString &, const QString &)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 22 }, { QMetaType::QString, 24 }, { QMetaType::QString, 25 }, { QMetaType::QString, 19 },
        }}),
        // Slot 'showNewVersionAvailable'
        QtMocHelpers::SlotData<void(const QString &, const QString &)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 27 }, { QMetaType::QString, 15 },
        }}),
        // Slot 'setIcons'
        QtMocHelpers::SlotData<void(const Data::StatusIcons &, const Data::StatusIcons &)>(28, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 29, 30 }, { 0x80000000 | 29, 31 },
        }}),
        // Slot 'handleSyncthingNotificationAction'
        QtMocHelpers::SlotData<void(const QString &)>(32, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 33 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DBusStatusNotifier, qt_meta_tag_ZN5QtGui18DBusStatusNotifierE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject QtGui::DBusStatusNotifier::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN5QtGui18DBusStatusNotifierE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN5QtGui18DBusStatusNotifierE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN5QtGui18DBusStatusNotifierE_t>.metaTypes,
    nullptr
} };

void QtGui::DBusStatusNotifier::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DBusStatusNotifier *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->connectRequested(); break;
        case 1: _t->dismissNotificationsRequested(); break;
        case 2: _t->showNotificationsRequested(); break;
        case 3: _t->errorDetailsRequested(); break;
        case 4: _t->webUiRequested(); break;
        case 5: _t->updateSettingsRequested(); break;
        case 6: _t->showDisconnect(); break;
        case 7: _t->hideDisconnect(); break;
        case 8: _t->showInternalError((*reinterpret_cast<std::add_pointer_t<QtGui::InternalError>>(_a[1]))); break;
        case 9: _t->showLauncherError((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 10: _t->showSyncthingNotification((*reinterpret_cast<std::add_pointer_t<CppUtilities::DateTime>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 11: _t->showSyncComplete((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 12: _t->showNewDev((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 13: _t->showNewDir((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4]))); break;
        case 14: _t->showNewVersionAvailable((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 15: _t->setIcons((*reinterpret_cast<std::add_pointer_t<Data::StatusIcons>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Data::StatusIcons>>(_a[2]))); break;
        case 16: _t->handleSyncthingNotificationAction((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DBusStatusNotifier::*)()>(_a, &DBusStatusNotifier::connectRequested, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (DBusStatusNotifier::*)()>(_a, &DBusStatusNotifier::dismissNotificationsRequested, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (DBusStatusNotifier::*)()>(_a, &DBusStatusNotifier::showNotificationsRequested, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (DBusStatusNotifier::*)()>(_a, &DBusStatusNotifier::errorDetailsRequested, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (DBusStatusNotifier::*)()>(_a, &DBusStatusNotifier::webUiRequested, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (DBusStatusNotifier::*)()>(_a, &DBusStatusNotifier::updateSettingsRequested, 5))
            return;
    }
}

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

void *QtGui::DBusStatusNotifier::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN5QtGui18DBusStatusNotifierE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int QtGui::DBusStatusNotifier::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 < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 17;
    }
    return _id;
}

// SIGNAL 0
void QtGui::DBusStatusNotifier::connectRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void QtGui::DBusStatusNotifier::dismissNotificationsRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void QtGui::DBusStatusNotifier::showNotificationsRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void QtGui::DBusStatusNotifier::errorDetailsRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void QtGui::DBusStatusNotifier::webUiRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void QtGui::DBusStatusNotifier::updateSettingsRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
QT_WARNING_POP
