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

#include "../../../../octopi-0.18.1/src/optionsdialog.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 'optionsdialog.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.0. 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_ZN13OptionsDialogE_t {};
} // unnamed namespace

template <> constexpr inline auto OptionsDialog::qt_create_metaobjectdata<qt_meta_tag_ZN13OptionsDialogE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "OptionsDialog",
        "AURToolChanged",
        "",
        "AURVotingChanged",
        "terminalChanged",
        "alternateRowColorsChanged",
        "columnsChanged",
        "defaultIconChecked",
        "checked",
        "selRedIconPath",
        "selYellowIconPath",
        "selGreenIconPath",
        "selBusyIconPath",
        "selectOnceADay",
        "selectOnceADayAt",
        "selectOnceEvery",
        "selectNever",
        "comboAURChanged",
        "text",
        "onEnableAURVoting",
        "state",
        "onAURConnect",
        "onAURRegister",
        "onAURNoEdit",
        "onAUREditMenu",
        "onSelAURBuildDir",
        "onClearAURBuildDir",
        "checkUncheckAlwaysUseTheTerminal",
        "checkUncheckConfirmationDialogInSysUpgrade",
        "enableDisableGroupBoxInternetCheck",
        "setStackedWidgetIndex",
        "index"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'AURToolChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'AURVotingChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'terminalChanged'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'alternateRowColorsChanged'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'columnsChanged'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'defaultIconChecked'
        QtMocHelpers::SlotData<void(bool)>(7, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 8 },
        }}),
        // Slot 'selRedIconPath'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'selYellowIconPath'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'selGreenIconPath'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'selBusyIconPath'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'selectOnceADay'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'selectOnceADayAt'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'selectOnceEvery'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'selectNever'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'comboAURChanged'
        QtMocHelpers::SlotData<void(const QString &)>(17, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 18 },
        }}),
        // Slot 'onEnableAURVoting'
        QtMocHelpers::SlotData<void(int)>(19, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 20 },
        }}),
        // Slot 'onAURConnect'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onAURRegister'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onAURNoEdit'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onAUREditMenu'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onSelAURBuildDir'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onClearAURBuildDir'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'checkUncheckAlwaysUseTheTerminal'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'checkUncheckConfirmationDialogInSysUpgrade'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'enableDisableGroupBoxInternetCheck'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'setStackedWidgetIndex'
        QtMocHelpers::SlotData<void(int)>(30, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 31 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<OptionsDialog, qt_meta_tag_ZN13OptionsDialogE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject OptionsDialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13OptionsDialogE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13OptionsDialogE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13OptionsDialogE_t>.metaTypes,
    nullptr
} };

void OptionsDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<OptionsDialog *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->AURToolChanged(); break;
        case 1: _t->AURVotingChanged(); break;
        case 2: _t->terminalChanged(); break;
        case 3: _t->alternateRowColorsChanged(); break;
        case 4: _t->columnsChanged(); break;
        case 5: _t->defaultIconChecked((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 6: _t->selRedIconPath(); break;
        case 7: _t->selYellowIconPath(); break;
        case 8: _t->selGreenIconPath(); break;
        case 9: _t->selBusyIconPath(); break;
        case 10: _t->selectOnceADay(); break;
        case 11: _t->selectOnceADayAt(); break;
        case 12: _t->selectOnceEvery(); break;
        case 13: _t->selectNever(); break;
        case 14: _t->comboAURChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 15: _t->onEnableAURVoting((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 16: _t->onAURConnect(); break;
        case 17: _t->onAURRegister(); break;
        case 18: _t->onAURNoEdit(); break;
        case 19: _t->onAUREditMenu(); break;
        case 20: _t->onSelAURBuildDir(); break;
        case 21: _t->onClearAURBuildDir(); break;
        case 22: _t->checkUncheckAlwaysUseTheTerminal(); break;
        case 23: _t->checkUncheckConfirmationDialogInSysUpgrade(); break;
        case 24: _t->enableDisableGroupBoxInternetCheck(); break;
        case 25: _t->setStackedWidgetIndex((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (OptionsDialog::*)()>(_a, &OptionsDialog::AURToolChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (OptionsDialog::*)()>(_a, &OptionsDialog::AURVotingChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (OptionsDialog::*)()>(_a, &OptionsDialog::terminalChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (OptionsDialog::*)()>(_a, &OptionsDialog::alternateRowColorsChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (OptionsDialog::*)()>(_a, &OptionsDialog::columnsChanged, 4))
            return;
    }
}

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

void *OptionsDialog::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13OptionsDialogE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Ui_OptionsDialog"))
        return static_cast< Ui_OptionsDialog*>(this);
    return QDialog::qt_metacast(_clname);
}

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

// SIGNAL 0
void OptionsDialog::AURToolChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void OptionsDialog::AURVotingChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void OptionsDialog::terminalChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void OptionsDialog::alternateRowColorsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void OptionsDialog::columnsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
QT_WARNING_POP
