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

#include <memory>
#include "../../../src/ui/settingpage.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'settingpage.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_SettingPage_t {
    QByteArrayData data[34];
    char stringdata0[469];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SettingPage_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SettingPage_t qt_meta_stringdata_SettingPage = {
    {
QT_MOC_LITERAL(0, 0, 11), // "SettingPage"
QT_MOC_LITERAL(1, 12, 15), // "settingsChanged"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 17), // "showStatusMessage"
QT_MOC_LITERAL(4, 47, 4), // "text"
QT_MOC_LITERAL(5, 52, 6), // "status"
QT_MOC_LITERAL(6, 59, 8), // "showHelp"
QT_MOC_LITERAL(7, 68, 9), // "helpIndex"
QT_MOC_LITERAL(8, 78, 14), // "reloadSettings"
QT_MOC_LITERAL(9, 93, 14), // "setCurrentPage"
QT_MOC_LITERAL(10, 108, 9), // "pageIndex"
QT_MOC_LITERAL(11, 118, 18), // "connectHelpButtons"
QT_MOC_LITERAL(12, 137, 15), // "restoreDefaults"
QT_MOC_LITERAL(13, 153, 4), // "load"
QT_MOC_LITERAL(14, 158, 4), // "save"
QT_MOC_LITERAL(15, 163, 7), // "restore"
QT_MOC_LITERAL(16, 171, 31), // "on_custPrefixCheck_stateChanged"
QT_MOC_LITERAL(17, 203, 5), // "state"
QT_MOC_LITERAL(18, 209, 35), // "on_custPrefixDecTxt_editingFi..."
QT_MOC_LITERAL(19, 245, 38), // "on_custPrefixModhexTxt_editin..."
QT_MOC_LITERAL(20, 284, 35), // "on_custPrefixHexTxt_editingFi..."
QT_MOC_LITERAL(21, 320, 22), // "on_doUpdateBtn_clicked"
QT_MOC_LITERAL(22, 343, 18), // "on_swapBtn_clicked"
QT_MOC_LITERAL(23, 362, 19), // "updateConfigWritten"
QT_MOC_LITERAL(24, 382, 7), // "written"
QT_MOC_LITERAL(25, 390, 3), // "msg"
QT_MOC_LITERAL(26, 394, 11), // "swapWritten"
QT_MOC_LITERAL(27, 406, 8), // "keyFound"
QT_MOC_LITERAL(28, 415, 5), // "found"
QT_MOC_LITERAL(29, 421, 5), // "bool*"
QT_MOC_LITERAL(30, 427, 14), // "featuresMatrix"
QT_MOC_LITERAL(31, 442, 17), // "custPrefixChanged"
QT_MOC_LITERAL(32, 460, 4), // "type"
QT_MOC_LITERAL(33, 465, 3) // "src"

    },
    "SettingPage\0settingsChanged\0\0"
    "showStatusMessage\0text\0status\0showHelp\0"
    "helpIndex\0reloadSettings\0setCurrentPage\0"
    "pageIndex\0connectHelpButtons\0"
    "restoreDefaults\0load\0save\0restore\0"
    "on_custPrefixCheck_stateChanged\0state\0"
    "on_custPrefixDecTxt_editingFinished\0"
    "on_custPrefixModhexTxt_editingFinished\0"
    "on_custPrefixHexTxt_editingFinished\0"
    "on_doUpdateBtn_clicked\0on_swapBtn_clicked\0"
    "updateConfigWritten\0written\0msg\0"
    "swapWritten\0keyFound\0found\0bool*\0"
    "featuresMatrix\0custPrefixChanged\0type\0"
    "src"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SettingPage[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  119,    2, 0x06 /* Public */,
       3,    2,  120,    2, 0x06 /* Public */,
       3,    1,  125,    2, 0x26 /* Public | MethodCloned */,
       6,    1,  128,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,  131,    2, 0x0a /* Public */,
       9,    1,  132,    2, 0x0a /* Public */,
      11,    0,  135,    2, 0x08 /* Private */,
      12,    0,  136,    2, 0x08 /* Private */,
      13,    0,  137,    2, 0x08 /* Private */,
      14,    0,  138,    2, 0x08 /* Private */,
      15,    0,  139,    2, 0x08 /* Private */,
      16,    1,  140,    2, 0x08 /* Private */,
      18,    0,  143,    2, 0x08 /* Private */,
      19,    0,  144,    2, 0x08 /* Private */,
      20,    0,  145,    2, 0x08 /* Private */,
      21,    0,  146,    2, 0x08 /* Private */,
      22,    0,  147,    2, 0x08 /* Private */,
      23,    2,  148,    2, 0x08 /* Private */,
      26,    2,  153,    2, 0x08 /* Private */,
      27,    2,  158,    2, 0x08 /* Private */,
      31,    2,  163,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    4,    5,
    QMetaType::Void, QMetaType::QString,    4,
    QMetaType::Void, QMetaType::Int,    7,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool, QMetaType::QString,   24,   25,
    QMetaType::Void, QMetaType::Bool, QMetaType::QString,   24,   25,
    QMetaType::Void, QMetaType::Bool, 0x80000000 | 29,   28,   30,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,   32,   33,

       0        // eod
};

void SettingPage::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<SettingPage *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->settingsChanged(); break;
        case 1: _t->showStatusMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->showStatusMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->showHelp((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->reloadSettings(); break;
        case 5: _t->setCurrentPage((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->connectHelpButtons(); break;
        case 7: _t->restoreDefaults(); break;
        case 8: _t->load(); break;
        case 9: _t->save(); break;
        case 10: _t->restore(); break;
        case 11: _t->on_custPrefixCheck_stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->on_custPrefixDecTxt_editingFinished(); break;
        case 13: _t->on_custPrefixModhexTxt_editingFinished(); break;
        case 14: _t->on_custPrefixHexTxt_editingFinished(); break;
        case 15: _t->on_doUpdateBtn_clicked(); break;
        case 16: _t->on_swapBtn_clicked(); break;
        case 17: _t->updateConfigWritten((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 18: _t->swapWritten((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 19: _t->keyFound((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool*(*)>(_a[2]))); break;
        case 20: _t->custPrefixChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (SettingPage::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SettingPage::settingsChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (SettingPage::*)(const QString & , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SettingPage::showStatusMessage)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (SettingPage::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SettingPage::showHelp)) {
                *result = 3;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject SettingPage::staticMetaObject = { {
    QMetaObject::SuperData::link<QStackedWidget::staticMetaObject>(),
    qt_meta_stringdata_SettingPage.data,
    qt_meta_data_SettingPage,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *SettingPage::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_SettingPage.stringdata0))
        return static_cast<void*>(this);
    return QStackedWidget::qt_metacast(_clname);
}

int SettingPage::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QStackedWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 21)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 21;
    }
    return _id;
}

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

// SIGNAL 1
void SettingPage::showStatusMessage(const QString & _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 3
void SettingPage::showHelp(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
