/****************************************************************************
** Meta object code from reading C++ file 'CWConsoleWidget.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 "ui/CWConsoleWidget.h"
#include <QtGui/qtextcursor.h>
#include <QtNetwork/QSslError>
#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 'CWConsoleWidget.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_ZN15CWConsoleWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto CWConsoleWidget::qt_create_metaobjectdata<qt_meta_tag_ZN15CWConsoleWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "CWConsoleWidget",
        "cwKeyProfileChanged",
        "",
        "cwShortcutProfileChanged",
        "appendCWEchoText",
        "reloadSettings",
        "clearConsoles",
        "setWPM",
        "cwKeySpeedIncrease",
        "cwKeySpeedDecrease",
        "cwShortcutProfileIncrease",
        "cwShortcutProfileDecrease",
        "rigDisconnectHandler",
        "rigConnectHandler",
        "cwKeyConnected",
        "cwKeyDisconnected",
        "haltButtonPressed",
        "pressMacroButton",
        "stopRepeateButtons",
        "cwKeyProfileComboChanged",
        "cwShortcutProfileComboChanged",
        "refreshKeyProfileCombo",
        "refreshShortcutProfileCombo",
        "cwKeySpeedChanged",
        "cwSendButtonPressed",
        "insertNewLine",
        "sendWordSwitched",
        "cwTextChanged"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'cwKeyProfileChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'cwShortcutProfileChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'appendCWEchoText'
        QtMocHelpers::SlotData<void(QString)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Slot 'reloadSettings'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'clearConsoles'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setWPM'
        QtMocHelpers::SlotData<void(qint32)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'cwKeySpeedIncrease'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'cwKeySpeedDecrease'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'cwShortcutProfileIncrease'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'cwShortcutProfileDecrease'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'rigDisconnectHandler'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'rigConnectHandler'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'cwKeyConnected'
        QtMocHelpers::SlotData<void(QString)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Slot 'cwKeyDisconnected'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'haltButtonPressed'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'pressMacroButton'
        QtMocHelpers::SlotData<void(int)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'stopRepeateButtons'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'cwKeyProfileComboChanged'
        QtMocHelpers::SlotData<void(QString)>(19, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Slot 'cwShortcutProfileComboChanged'
        QtMocHelpers::SlotData<void(QString)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Slot 'refreshKeyProfileCombo'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'refreshShortcutProfileCombo'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'cwKeySpeedChanged'
        QtMocHelpers::SlotData<void(int)>(23, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'cwSendButtonPressed'
        QtMocHelpers::SlotData<void(bool)>(24, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 25 },
        }}),
        // Slot 'cwSendButtonPressed'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void),
        // Slot 'sendWordSwitched'
        QtMocHelpers::SlotData<void(int)>(26, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'cwTextChanged'
        QtMocHelpers::SlotData<void(QString)>(27, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<CWConsoleWidget, qt_meta_tag_ZN15CWConsoleWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject CWConsoleWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15CWConsoleWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15CWConsoleWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15CWConsoleWidgetE_t>.metaTypes,
    nullptr
} };

void CWConsoleWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<CWConsoleWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->cwKeyProfileChanged(); break;
        case 1: _t->cwShortcutProfileChanged(); break;
        case 2: _t->appendCWEchoText((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 3: _t->reloadSettings(); break;
        case 4: _t->clearConsoles(); break;
        case 5: _t->setWPM((*reinterpret_cast<std::add_pointer_t<qint32>>(_a[1]))); break;
        case 6: _t->cwKeySpeedIncrease(); break;
        case 7: _t->cwKeySpeedDecrease(); break;
        case 8: _t->cwShortcutProfileIncrease(); break;
        case 9: _t->cwShortcutProfileDecrease(); break;
        case 10: _t->rigDisconnectHandler(); break;
        case 11: _t->rigConnectHandler(); break;
        case 12: _t->cwKeyConnected((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 13: _t->cwKeyDisconnected(); break;
        case 14: _t->haltButtonPressed(); break;
        case 15: _t->pressMacroButton((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 16: _t->stopRepeateButtons(); break;
        case 17: _t->cwKeyProfileComboChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 18: _t->cwShortcutProfileComboChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 19: _t->refreshKeyProfileCombo(); break;
        case 20: _t->refreshShortcutProfileCombo(); break;
        case 21: _t->cwKeySpeedChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 22: _t->cwSendButtonPressed((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 23: _t->cwSendButtonPressed(); break;
        case 24: _t->sendWordSwitched((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 25: _t->cwTextChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (CWConsoleWidget::*)()>(_a, &CWConsoleWidget::cwKeyProfileChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (CWConsoleWidget::*)()>(_a, &CWConsoleWidget::cwShortcutProfileChanged, 1))
            return;
    }
}

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

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

int CWConsoleWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::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 CWConsoleWidget::cwKeyProfileChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void CWConsoleWidget::cwShortcutProfileChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
