/****************************************************************************
** Meta object code from reading C++ file 'trayicon.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 "../../gui/trayicon.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'trayicon.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__TrayIcon_t {
    QByteArrayData data[32];
    char stringdata0[483];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QtGui__TrayIcon_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QtGui__TrayIcon_t qt_meta_stringdata_QtGui__TrayIcon = {
    {
QT_MOC_LITERAL(0, 0, 15), // "QtGui::TrayIcon"
QT_MOC_LITERAL(1, 16, 17), // "showInternalError"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 12), // "errorMessage"
QT_MOC_LITERAL(4, 48, 28), // "Data::SyncthingErrorCategory"
QT_MOC_LITERAL(5, 77, 8), // "category"
QT_MOC_LITERAL(6, 86, 12), // "networkError"
QT_MOC_LITERAL(7, 99, 15), // "QNetworkRequest"
QT_MOC_LITERAL(8, 115, 7), // "request"
QT_MOC_LITERAL(9, 123, 8), // "response"
QT_MOC_LITERAL(10, 132, 17), // "showLauncherError"
QT_MOC_LITERAL(11, 150, 14), // "additionalInfo"
QT_MOC_LITERAL(12, 165, 25), // "showSyncthingNotification"
QT_MOC_LITERAL(13, 191, 22), // "CppUtilities::DateTime"
QT_MOC_LITERAL(14, 214, 4), // "when"
QT_MOC_LITERAL(15, 219, 7), // "message"
QT_MOC_LITERAL(16, 227, 24), // "showInternalErrorsDialog"
QT_MOC_LITERAL(17, 252, 23), // "updateStatusIconAndText"
QT_MOC_LITERAL(18, 276, 10), // "showNewDev"
QT_MOC_LITERAL(19, 287, 5), // "devId"
QT_MOC_LITERAL(20, 293, 10), // "showNewDir"
QT_MOC_LITERAL(21, 304, 5), // "dirId"
QT_MOC_LITERAL(22, 310, 8), // "dirLabel"
QT_MOC_LITERAL(23, 319, 23), // "showNewVersionAvailable"
QT_MOC_LITERAL(24, 343, 7), // "version"
QT_MOC_LITERAL(25, 351, 15), // "handleActivated"
QT_MOC_LITERAL(26, 367, 33), // "QSystemTrayIcon::ActivationRe..."
QT_MOC_LITERAL(27, 401, 6), // "reason"
QT_MOC_LITERAL(28, 408, 20), // "handleMessageClicked"
QT_MOC_LITERAL(29, 429, 16), // "showDisconnected"
QT_MOC_LITERAL(30, 446, 16), // "showSyncComplete"
QT_MOC_LITERAL(31, 463, 19) // "handleErrorsCleared"

    },
    "QtGui::TrayIcon\0showInternalError\0\0"
    "errorMessage\0Data::SyncthingErrorCategory\0"
    "category\0networkError\0QNetworkRequest\0"
    "request\0response\0showLauncherError\0"
    "additionalInfo\0showSyncthingNotification\0"
    "CppUtilities::DateTime\0when\0message\0"
    "showInternalErrorsDialog\0"
    "updateStatusIconAndText\0showNewDev\0"
    "devId\0showNewDir\0dirId\0dirLabel\0"
    "showNewVersionAvailable\0version\0"
    "handleActivated\0QSystemTrayIcon::ActivationReason\0"
    "reason\0handleMessageClicked\0"
    "showDisconnected\0showSyncComplete\0"
    "handleErrorsCleared"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QtGui__TrayIcon[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    5,   79,    2, 0x0a /* Public */,
      10,    2,   90,    2, 0x0a /* Public */,
      12,    2,   95,    2, 0x0a /* Public */,
      16,    0,  100,    2, 0x0a /* Public */,
      17,    0,  101,    2, 0x0a /* Public */,
      18,    2,  102,    2, 0x0a /* Public */,
      20,    4,  107,    2, 0x0a /* Public */,
      23,    2,  116,    2, 0x0a /* Public */,
      25,    1,  121,    2, 0x08 /* Private */,
      28,    0,  124,    2, 0x08 /* Private */,
      29,    0,  125,    2, 0x08 /* Private */,
      30,    1,  126,    2, 0x08 /* Private */,
      31,    0,  129,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, 0x80000000 | 4, QMetaType::Int, 0x80000000 | 7, QMetaType::QByteArray,    3,    5,    6,    8,    9,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    3,   11,
    QMetaType::Void, 0x80000000 | 13, QMetaType::QString,   14,   15,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   19,   15,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString,   19,   21,   22,   15,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   24,   11,
    QMetaType::Void, 0x80000000 | 26,   27,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   15,
    QMetaType::Void,

       0        // eod
};

void QtGui::TrayIcon::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<TrayIcon *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->showInternalError((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< Data::SyncthingErrorCategory(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< const QNetworkRequest(*)>(_a[4])),(*reinterpret_cast< const QByteArray(*)>(_a[5]))); break;
        case 1: _t->showLauncherError((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 2: _t->showSyncthingNotification((*reinterpret_cast< CppUtilities::DateTime(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 3: _t->showInternalErrorsDialog(); break;
        case 4: _t->updateStatusIconAndText(); break;
        case 5: _t->showNewDev((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 6: _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 7: _t->showNewVersionAvailable((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 8: _t->handleActivated((*reinterpret_cast< QSystemTrayIcon::ActivationReason(*)>(_a[1]))); break;
        case 9: _t->handleMessageClicked(); break;
        case 10: _t->showDisconnected(); break;
        case 11: _t->showSyncComplete((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: _t->handleErrorsCleared(); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject QtGui::TrayIcon::staticMetaObject = { {
    QMetaObject::SuperData::link<QSystemTrayIcon::staticMetaObject>(),
    qt_meta_stringdata_QtGui__TrayIcon.data,
    qt_meta_data_QtGui__TrayIcon,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *QtGui::TrayIcon::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QtGui__TrayIcon.stringdata0))
        return static_cast<void*>(this);
    return QSystemTrayIcon::qt_metacast(_clname);
}

int QtGui::TrayIcon::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QSystemTrayIcon::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 13;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
