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

#include "../../CL_VideoEngine_Updater/mainwindow.h"
#include <QtGui/qtextcursor.h>
#include <QtCore/qmetatype.h>

#if __has_include(<QtCore/qtmochelpers.h>)
#include <QtCore/qtmochelpers.h>
#else
QT_BEGIN_MOC_NAMESPACE
#endif


#include <memory>

#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mainwindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 68
#error "This file was generated using the moc from 6.6.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 {

#ifdef QT_MOC_HAS_STRINGDATA
struct qt_meta_stringdata_CLASSMainWindowENDCLASS_t {};
static constexpr auto qt_meta_stringdata_CLASSMainWindowENDCLASS = QtMocHelpers::stringData(
    "MainWindow",
    "when_file_send_finished",
    "",
    "when_initCmd_finished",
    "when_initCmd_failed",
    "when_erase_finished",
    "when_autoFileTransfer_finished",
    "on_btn_initUpdate_clicked",
    "on_btn_erase_clicked",
    "on_btn_selectFile_clicked",
    "on_btn_sendFile_clicked",
    "on_btn_selectUpdatePath_clicked",
    "on_btn_startUpdate_clicked"
);
#else  // !QT_MOC_HAS_STRING_DATA
struct qt_meta_stringdata_CLASSMainWindowENDCLASS_t {
    uint offsetsAndSizes[26];
    char stringdata0[11];
    char stringdata1[24];
    char stringdata2[1];
    char stringdata3[22];
    char stringdata4[20];
    char stringdata5[20];
    char stringdata6[31];
    char stringdata7[26];
    char stringdata8[21];
    char stringdata9[26];
    char stringdata10[24];
    char stringdata11[32];
    char stringdata12[27];
};
#define QT_MOC_LITERAL(ofs, len) \
    uint(sizeof(qt_meta_stringdata_CLASSMainWindowENDCLASS_t::offsetsAndSizes) + ofs), len 
Q_CONSTINIT static const qt_meta_stringdata_CLASSMainWindowENDCLASS_t qt_meta_stringdata_CLASSMainWindowENDCLASS = {
    {
        QT_MOC_LITERAL(0, 10),  // "MainWindow"
        QT_MOC_LITERAL(11, 23),  // "when_file_send_finished"
        QT_MOC_LITERAL(35, 0),  // ""
        QT_MOC_LITERAL(36, 21),  // "when_initCmd_finished"
        QT_MOC_LITERAL(58, 19),  // "when_initCmd_failed"
        QT_MOC_LITERAL(78, 19),  // "when_erase_finished"
        QT_MOC_LITERAL(98, 30),  // "when_autoFileTransfer_finished"
        QT_MOC_LITERAL(129, 25),  // "on_btn_initUpdate_clicked"
        QT_MOC_LITERAL(155, 20),  // "on_btn_erase_clicked"
        QT_MOC_LITERAL(176, 25),  // "on_btn_selectFile_clicked"
        QT_MOC_LITERAL(202, 23),  // "on_btn_sendFile_clicked"
        QT_MOC_LITERAL(226, 31),  // "on_btn_selectUpdatePath_clicked"
        QT_MOC_LITERAL(258, 26)   // "on_btn_startUpdate_clicked"
    },
    "MainWindow",
    "when_file_send_finished",
    "",
    "when_initCmd_finished",
    "when_initCmd_failed",
    "when_erase_finished",
    "when_autoFileTransfer_finished",
    "on_btn_initUpdate_clicked",
    "on_btn_erase_clicked",
    "on_btn_selectFile_clicked",
    "on_btn_sendFile_clicked",
    "on_btn_selectUpdatePath_clicked",
    "on_btn_startUpdate_clicked"
};
#undef QT_MOC_LITERAL
#endif // !QT_MOC_HAS_STRING_DATA
} // unnamed namespace

Q_CONSTINIT static const uint qt_meta_data_CLASSMainWindowENDCLASS[] = {

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

 // slots: name, argc, parameters, tag, flags, initial metatype offsets
       1,    0,   80,    2, 0x08,    1 /* Private */,
       3,    0,   81,    2, 0x08,    2 /* Private */,
       4,    0,   82,    2, 0x08,    3 /* Private */,
       5,    0,   83,    2, 0x08,    4 /* Private */,
       6,    0,   84,    2, 0x08,    5 /* Private */,
       7,    0,   85,    2, 0x08,    6 /* Private */,
       8,    0,   86,    2, 0x08,    7 /* Private */,
       9,    0,   87,    2, 0x08,    8 /* Private */,
      10,    0,   88,    2, 0x08,    9 /* Private */,
      11,    0,   89,    2, 0x08,   10 /* Private */,
      12,    0,   90,    2, 0x08,   11 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

Q_CONSTINIT const QMetaObject MainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_meta_stringdata_CLASSMainWindowENDCLASS.offsetsAndSizes,
    qt_meta_data_CLASSMainWindowENDCLASS,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSMainWindowENDCLASS_t,
        // Q_OBJECT / Q_GADGET
        QtPrivate::TypeAndForceComplete<MainWindow, std::true_type>,
        // method 'when_file_send_finished'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'when_initCmd_finished'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'when_initCmd_failed'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'when_erase_finished'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'when_autoFileTransfer_finished'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'on_btn_initUpdate_clicked'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'on_btn_erase_clicked'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'on_btn_selectFile_clicked'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'on_btn_sendFile_clicked'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'on_btn_selectUpdatePath_clicked'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'on_btn_startUpdate_clicked'
        QtPrivate::TypeAndForceComplete<void, std::false_type>
    >,
    nullptr
} };

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->when_file_send_finished(); break;
        case 1: _t->when_initCmd_finished(); break;
        case 2: _t->when_initCmd_failed(); break;
        case 3: _t->when_erase_finished(); break;
        case 4: _t->when_autoFileTransfer_finished(); break;
        case 5: _t->on_btn_initUpdate_clicked(); break;
        case 6: _t->on_btn_erase_clicked(); break;
        case 7: _t->on_btn_selectFile_clicked(); break;
        case 8: _t->on_btn_sendFile_clicked(); break;
        case 9: _t->on_btn_selectUpdatePath_clicked(); break;
        case 10: _t->on_btn_startUpdate_clicked(); break;
        default: ;
        }
    }
    (void)_a;
}

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_CLASSMainWindowENDCLASS.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 < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 11;
    }
    return _id;
}
QT_WARNING_POP
