/****************************************************************************
** Meta object code from reading C++ file 'OpenRGBDialog.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 "qt/OpenRGBDialog/OpenRGBDialog.h"
#include <QtGui/qtextcursor.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 'OpenRGBDialog.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_ZN13OpenRGBDialogE_t {};
} // unnamed namespace

template <> constexpr inline auto OpenRGBDialog::qt_create_metaobjectdata<qt_meta_tag_ZN13OpenRGBDialogE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "OpenRGBDialog",
        "ProfileListChanged",
        "",
        "changeEvent",
        "QEvent*",
        "event",
        "SetTrayIcon",
        "tray_icon",
        "handleAboutToQuit",
        "on_Exit",
        "on_LightsOff",
        "on_QuickRed",
        "on_QuickYellow",
        "on_QuickGreen",
        "on_QuickCyan",
        "on_QuickBlue",
        "on_QuickMagenta",
        "on_QuickWhite",
        "onDeviceListUpdated",
        "onDetectionProgressUpdated",
        "onDetectionStarted",
        "onDetectionEnded",
        "on_SetAllDevices",
        "red",
        "green",
        "blue",
        "on_SaveSizeProfile",
        "on_ShowHide",
        "onShowDialogMessage",
        "on_ReShow",
        "QSystemTrayIcon::ActivationReason",
        "reason",
        "on_ProfileSelected",
        "on_ButtonLoadProfile_clicked",
        "on_ButtonDeleteProfile_clicked",
        "on_ButtonToggleDeviceView_clicked",
        "on_ButtonStopDetection_clicked",
        "on_ButtonRescan_clicked",
        "on_ActionSaveProfile_triggered",
        "on_ActionSaveProfileAs_triggered",
        "on_MainTabBar_currentChanged",
        "on_InformationTabBar_currentChanged",
        "on_DevicesTabBar_currentChanged",
        "on_SettingsTabBar_currentChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'ProfileListChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'changeEvent'
        QtMocHelpers::SlotData<void(QEvent *)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
        // Slot 'SetTrayIcon'
        QtMocHelpers::SlotData<void(bool)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 7 },
        }}),
        // Slot 'handleAboutToQuit'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'on_Exit'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_LightsOff'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_QuickRed'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_QuickYellow'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_QuickGreen'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_QuickCyan'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_QuickBlue'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_QuickMagenta'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_QuickWhite'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onDeviceListUpdated'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onDetectionProgressUpdated'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onDetectionStarted'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onDetectionEnded'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_SetAllDevices'
        QtMocHelpers::SlotData<void(unsigned char, unsigned char, unsigned char)>(22, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::UChar, 23 }, { QMetaType::UChar, 24 }, { QMetaType::UChar, 25 },
        }}),
        // Slot 'on_SaveSizeProfile'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_ShowHide'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onShowDialogMessage'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_ReShow'
        QtMocHelpers::SlotData<void(QSystemTrayIcon::ActivationReason)>(29, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 30, 31 },
        }}),
        // Slot 'on_ProfileSelected'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_ButtonLoadProfile_clicked'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_ButtonDeleteProfile_clicked'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_ButtonToggleDeviceView_clicked'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_ButtonStopDetection_clicked'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_ButtonRescan_clicked'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_ActionSaveProfile_triggered'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_ActionSaveProfileAs_triggered'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'on_MainTabBar_currentChanged'
        QtMocHelpers::SlotData<void(int)>(40, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'on_InformationTabBar_currentChanged'
        QtMocHelpers::SlotData<void(int)>(41, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'on_DevicesTabBar_currentChanged'
        QtMocHelpers::SlotData<void(int)>(42, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'on_SettingsTabBar_currentChanged'
        QtMocHelpers::SlotData<void(int)>(43, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<OpenRGBDialog, qt_meta_tag_ZN13OpenRGBDialogE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject OpenRGBDialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13OpenRGBDialogE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13OpenRGBDialogE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13OpenRGBDialogE_t>.metaTypes,
    nullptr
} };

void OpenRGBDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<OpenRGBDialog *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->ProfileListChanged(); break;
        case 1: _t->changeEvent((*reinterpret_cast<std::add_pointer_t<QEvent*>>(_a[1]))); break;
        case 2: _t->SetTrayIcon((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->handleAboutToQuit(); break;
        case 4: _t->on_Exit(); break;
        case 5: _t->on_LightsOff(); break;
        case 6: _t->on_QuickRed(); break;
        case 7: _t->on_QuickYellow(); break;
        case 8: _t->on_QuickGreen(); break;
        case 9: _t->on_QuickCyan(); break;
        case 10: _t->on_QuickBlue(); break;
        case 11: _t->on_QuickMagenta(); break;
        case 12: _t->on_QuickWhite(); break;
        case 13: _t->onDeviceListUpdated(); break;
        case 14: _t->onDetectionProgressUpdated(); break;
        case 15: _t->onDetectionStarted(); break;
        case 16: _t->onDetectionEnded(); break;
        case 17: _t->on_SetAllDevices((*reinterpret_cast<std::add_pointer_t<uchar>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<uchar>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<uchar>>(_a[3]))); break;
        case 18: _t->on_SaveSizeProfile(); break;
        case 19: _t->on_ShowHide(); break;
        case 20: _t->onShowDialogMessage(); break;
        case 21: _t->on_ReShow((*reinterpret_cast<std::add_pointer_t<QSystemTrayIcon::ActivationReason>>(_a[1]))); break;
        case 22: _t->on_ProfileSelected(); break;
        case 23: _t->on_ButtonLoadProfile_clicked(); break;
        case 24: _t->on_ButtonDeleteProfile_clicked(); break;
        case 25: _t->on_ButtonToggleDeviceView_clicked(); break;
        case 26: _t->on_ButtonStopDetection_clicked(); break;
        case 27: _t->on_ButtonRescan_clicked(); break;
        case 28: _t->on_ActionSaveProfile_triggered(); break;
        case 29: _t->on_ActionSaveProfileAs_triggered(); break;
        case 30: _t->on_MainTabBar_currentChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 31: _t->on_InformationTabBar_currentChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 32: _t->on_DevicesTabBar_currentChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 33: _t->on_SettingsTabBar_currentChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (OpenRGBDialog::*)()>(_a, &OpenRGBDialog::ProfileListChanged, 0))
            return;
    }
}

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

void *OpenRGBDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13OpenRGBDialogE_t>.strings))
        return static_cast<void*>(this);
    return QMainWindow::qt_metacast(_clname);
}

int OpenRGBDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 34)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 34;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 34)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 34;
    }
    return _id;
}

// SIGNAL 0
void OpenRGBDialog::ProfileListChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
