/****************************************************************************
** Meta object code from reading C++ file 'mainwindow.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/mainwindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mainwindow.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_MainWindow_t {
    QByteArrayData data[27];
    char stringdata0[339];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
    {
QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
QT_MOC_LITERAL(1, 11, 14), // "setCurrentPage"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 9), // "pageIndex"
QT_MOC_LITERAL(4, 37, 3), // "tab"
QT_MOC_LITERAL(5, 41, 4), // "slot"
QT_MOC_LITERAL(6, 46, 15), // "resetDeviceInfo"
QT_MOC_LITERAL(7, 62, 8), // "keyFound"
QT_MOC_LITERAL(8, 71, 5), // "found"
QT_MOC_LITERAL(9, 77, 5), // "bool*"
QT_MOC_LITERAL(10, 83, 14), // "featuresMatrix"
QT_MOC_LITERAL(11, 98, 5), // "error"
QT_MOC_LITERAL(12, 104, 17), // "showStatusMessage"
QT_MOC_LITERAL(13, 122, 4), // "text"
QT_MOC_LITERAL(14, 127, 6), // "status"
QT_MOC_LITERAL(15, 134, 18), // "clearStatusMessage"
QT_MOC_LITERAL(16, 153, 15), // "copyToClipboard"
QT_MOC_LITERAL(17, 169, 3), // "str"
QT_MOC_LITERAL(18, 173, 29), // "on_serialNoDecCopyBtn_clicked"
QT_MOC_LITERAL(19, 203, 29), // "on_serialNoHexCopyBtn_clicked"
QT_MOC_LITERAL(20, 233, 32), // "on_serialNoModhexCopyBtn_clicked"
QT_MOC_LITERAL(21, 266, 15), // "toggleAnimation"
QT_MOC_LITERAL(22, 282, 7), // "checked"
QT_MOC_LITERAL(23, 290, 18), // "triggerDiagnostics"
QT_MOC_LITERAL(24, 309, 11), // "triggerHelp"
QT_MOC_LITERAL(25, 321, 5), // "index"
QT_MOC_LITERAL(26, 327, 11) // "aboutToQuit"

    },
    "MainWindow\0setCurrentPage\0\0pageIndex\0"
    "tab\0slot\0resetDeviceInfo\0keyFound\0"
    "found\0bool*\0featuresMatrix\0error\0"
    "showStatusMessage\0text\0status\0"
    "clearStatusMessage\0copyToClipboard\0"
    "str\0on_serialNoDecCopyBtn_clicked\0"
    "on_serialNoHexCopyBtn_clicked\0"
    "on_serialNoModhexCopyBtn_clicked\0"
    "toggleAnimation\0checked\0triggerDiagnostics\0"
    "triggerHelp\0index\0aboutToQuit"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MainWindow[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    3,   94,    2, 0x08 /* Private */,
       1,    2,  101,    2, 0x28 /* Private | MethodCloned */,
       1,    1,  106,    2, 0x28 /* Private | MethodCloned */,
       6,    0,  109,    2, 0x08 /* Private */,
       7,    3,  110,    2, 0x08 /* Private */,
      12,    2,  117,    2, 0x08 /* Private */,
      12,    1,  122,    2, 0x28 /* Private | MethodCloned */,
      15,    0,  125,    2, 0x08 /* Private */,
      16,    1,  126,    2, 0x08 /* Private */,
      18,    0,  129,    2, 0x08 /* Private */,
      19,    0,  130,    2, 0x08 /* Private */,
      20,    0,  131,    2, 0x08 /* Private */,
      21,    1,  132,    2, 0x08 /* Private */,
      23,    0,  135,    2, 0x08 /* Private */,
      24,    1,  136,    2, 0x08 /* Private */,
      26,    0,  139,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    3,    4,    5,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    3,    4,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool, 0x80000000 | 9, QMetaType::Int,    8,   10,   11,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,   13,   14,
    QMetaType::Void, QMetaType::QString,   13,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   22,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   25,
    QMetaType::Void,

       0        // eod
};

void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<MainWindow *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->setCurrentPage((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 1: _t->setCurrentPage((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->setCurrentPage((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->resetDeviceInfo(); break;
        case 4: _t->keyFound((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 5: _t->showStatusMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 6: _t->showStatusMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->clearStatusMessage(); break;
        case 8: _t->copyToClipboard((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->on_serialNoDecCopyBtn_clicked(); break;
        case 10: _t->on_serialNoHexCopyBtn_clicked(); break;
        case 11: _t->on_serialNoModhexCopyBtn_clicked(); break;
        case 12: _t->toggleAnimation((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 13: _t->triggerDiagnostics(); break;
        case 14: _t->triggerHelp((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->aboutToQuit(); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_meta_stringdata_MainWindow.data,
    qt_meta_data_MainWindow,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int MainWindow::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 < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 16;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
