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

#include <memory>
#include "../../misc/dbusstatusnotifier.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'dbusstatusnotifier.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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_QtGui__DBusStatusNotifier_t {
    QByteArrayData data[34];
    char stringdata0[523];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QtGui__DBusStatusNotifier_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QtGui__DBusStatusNotifier_t qt_meta_stringdata_QtGui__DBusStatusNotifier = {
    {
QT_MOC_LITERAL(0, 0, 25), // "QtGui::DBusStatusNotifier"
QT_MOC_LITERAL(1, 26, 16), // "connectRequested"
QT_MOC_LITERAL(2, 43, 0), // ""
QT_MOC_LITERAL(3, 44, 29), // "dismissNotificationsRequested"
QT_MOC_LITERAL(4, 74, 26), // "showNotificationsRequested"
QT_MOC_LITERAL(5, 101, 21), // "errorDetailsRequested"
QT_MOC_LITERAL(6, 123, 14), // "webUiRequested"
QT_MOC_LITERAL(7, 138, 23), // "updateSettingsRequested"
QT_MOC_LITERAL(8, 162, 14), // "showDisconnect"
QT_MOC_LITERAL(9, 177, 14), // "hideDisconnect"
QT_MOC_LITERAL(10, 192, 17), // "showInternalError"
QT_MOC_LITERAL(11, 210, 20), // "QtGui::InternalError"
QT_MOC_LITERAL(12, 231, 5), // "error"
QT_MOC_LITERAL(13, 237, 17), // "showLauncherError"
QT_MOC_LITERAL(14, 255, 12), // "errorMessage"
QT_MOC_LITERAL(15, 268, 14), // "additionalInfo"
QT_MOC_LITERAL(16, 283, 25), // "showSyncthingNotification"
QT_MOC_LITERAL(17, 309, 22), // "CppUtilities::DateTime"
QT_MOC_LITERAL(18, 332, 4), // "when"
QT_MOC_LITERAL(19, 337, 7), // "message"
QT_MOC_LITERAL(20, 345, 16), // "showSyncComplete"
QT_MOC_LITERAL(21, 362, 10), // "showNewDev"
QT_MOC_LITERAL(22, 373, 5), // "devId"
QT_MOC_LITERAL(23, 379, 10), // "showNewDir"
QT_MOC_LITERAL(24, 390, 5), // "dirId"
QT_MOC_LITERAL(25, 396, 8), // "dirLabel"
QT_MOC_LITERAL(26, 405, 23), // "showNewVersionAvailable"
QT_MOC_LITERAL(27, 429, 7), // "version"
QT_MOC_LITERAL(28, 437, 8), // "setIcons"
QT_MOC_LITERAL(29, 446, 17), // "Data::StatusIcons"
QT_MOC_LITERAL(30, 464, 11), // "statusIcons"
QT_MOC_LITERAL(31, 476, 5), // "icons"
QT_MOC_LITERAL(32, 482, 33), // "handleSyncthingNotificationAc..."
QT_MOC_LITERAL(33, 516, 6) // "action"

    },
    "QtGui::DBusStatusNotifier\0connectRequested\0"
    "\0dismissNotificationsRequested\0"
    "showNotificationsRequested\0"
    "errorDetailsRequested\0webUiRequested\0"
    "updateSettingsRequested\0showDisconnect\0"
    "hideDisconnect\0showInternalError\0"
    "QtGui::InternalError\0error\0showLauncherError\0"
    "errorMessage\0additionalInfo\0"
    "showSyncthingNotification\0"
    "CppUtilities::DateTime\0when\0message\0"
    "showSyncComplete\0showNewDev\0devId\0"
    "showNewDir\0dirId\0dirLabel\0"
    "showNewVersionAvailable\0version\0"
    "setIcons\0Data::StatusIcons\0statusIcons\0"
    "icons\0handleSyncthingNotificationAction\0"
    "action"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QtGui__DBusStatusNotifier[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   99,    2, 0x06 /* Public */,
       3,    0,  100,    2, 0x06 /* Public */,
       4,    0,  101,    2, 0x06 /* Public */,
       5,    0,  102,    2, 0x06 /* Public */,
       6,    0,  103,    2, 0x06 /* Public */,
       7,    0,  104,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,  105,    2, 0x0a /* Public */,
       9,    0,  106,    2, 0x0a /* Public */,
      10,    1,  107,    2, 0x0a /* Public */,
      13,    2,  110,    2, 0x0a /* Public */,
      16,    2,  115,    2, 0x0a /* Public */,
      20,    1,  120,    2, 0x0a /* Public */,
      21,    2,  123,    2, 0x0a /* Public */,
      23,    4,  128,    2, 0x0a /* Public */,
      26,    2,  137,    2, 0x0a /* Public */,
      28,    2,  142,    2, 0x0a /* Public */,
      32,    1,  147,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   14,   15,
    QMetaType::Void, 0x80000000 | 17, QMetaType::QString,   18,   19,
    QMetaType::Void, QMetaType::QString,   19,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   22,   19,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString,   22,   24,   25,   19,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   27,   15,
    QMetaType::Void, 0x80000000 | 29, 0x80000000 | 29,   30,   31,
    QMetaType::Void, QMetaType::QString,   33,

       0        // eod
};

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

QT_INIT_METAOBJECT const QMetaObject QtGui::DBusStatusNotifier::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QtGui__DBusStatusNotifier.data,
    qt_meta_data_QtGui__DBusStatusNotifier,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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_meta_stringdata_QtGui__DBusStatusNotifier.stringdata0))
        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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _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
QT_END_MOC_NAMESPACE
