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

#include "../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.12.2. 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[24];
    char stringdata0[363];
};
#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, 16), // "canRecvedCANData"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 18), // "ZCAN_Receive_Data*"
QT_MOC_LITERAL(4, 48, 11), // "recvCANData"
QT_MOC_LITERAL(5, 60, 4), // "UINT"
QT_MOC_LITERAL(6, 65, 10), // "frameCount"
QT_MOC_LITERAL(7, 76, 7), // "channel"
QT_MOC_LITERAL(8, 84, 18), // "canRecvedCANFDData"
QT_MOC_LITERAL(9, 103, 20), // "ZCAN_ReceiveFD_Data*"
QT_MOC_LITERAL(10, 124, 13), // "recvCANFDData"
QT_MOC_LITERAL(11, 138, 23), // "on_cleanListBtn_clicked"
QT_MOC_LITERAL(12, 162, 24), // "on_openDeviceBtn_clicked"
QT_MOC_LITERAL(13, 187, 25), // "on_closeDeviceBtn_clicked"
QT_MOC_LITERAL(14, 213, 21), // "on_initCANBtn_clicked"
QT_MOC_LITERAL(15, 235, 22), // "on_StartCANBtn_clicked"
QT_MOC_LITERAL(16, 258, 10), // "afterReSet"
QT_MOC_LITERAL(17, 269, 22), // "on_reSetCANBtn_clicked"
QT_MOC_LITERAL(18, 292, 18), // "on_sendBtn_clicked"
QT_MOC_LITERAL(19, 311, 13), // "AddDataToList"
QT_MOC_LITERAL(20, 325, 7), // "strList"
QT_MOC_LITERAL(21, 333, 10), // "closeEvent"
QT_MOC_LITERAL(22, 344, 12), // "QCloseEvent*"
QT_MOC_LITERAL(23, 357, 5) // "event"

    },
    "MainWindow\0canRecvedCANData\0\0"
    "ZCAN_Receive_Data*\0recvCANData\0UINT\0"
    "frameCount\0channel\0canRecvedCANFDData\0"
    "ZCAN_ReceiveFD_Data*\0recvCANFDData\0"
    "on_cleanListBtn_clicked\0"
    "on_openDeviceBtn_clicked\0"
    "on_closeDeviceBtn_clicked\0"
    "on_initCANBtn_clicked\0on_StartCANBtn_clicked\0"
    "afterReSet\0on_reSetCANBtn_clicked\0"
    "on_sendBtn_clicked\0AddDataToList\0"
    "strList\0closeEvent\0QCloseEvent*\0event"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MainWindow[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    3,   74,    2, 0x08 /* Private */,
       8,    3,   81,    2, 0x08 /* Private */,
      11,    0,   88,    2, 0x08 /* Private */,
      12,    0,   89,    2, 0x08 /* Private */,
      13,    0,   90,    2, 0x08 /* Private */,
      14,    0,   91,    2, 0x08 /* Private */,
      15,    0,   92,    2, 0x08 /* Private */,
      16,    0,   93,    2, 0x08 /* Private */,
      17,    0,   94,    2, 0x08 /* Private */,
      18,    0,   95,    2, 0x08 /* Private */,
      19,    1,   96,    2, 0x08 /* Private */,
      21,    1,   99,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, 0x80000000 | 5,    4,    6,    7,
    QMetaType::Void, 0x80000000 | 9, 0x80000000 | 5, 0x80000000 | 5,   10,    6,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QStringList,   20,
    QMetaType::Void, 0x80000000 | 22,   23,

       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);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->canRecvedCANData((*reinterpret_cast< ZCAN_Receive_Data*(*)>(_a[1])),(*reinterpret_cast< UINT(*)>(_a[2])),(*reinterpret_cast< UINT(*)>(_a[3]))); break;
        case 1: _t->canRecvedCANFDData((*reinterpret_cast< ZCAN_ReceiveFD_Data*(*)>(_a[1])),(*reinterpret_cast< UINT(*)>(_a[2])),(*reinterpret_cast< UINT(*)>(_a[3]))); break;
        case 2: _t->on_cleanListBtn_clicked(); break;
        case 3: _t->on_openDeviceBtn_clicked(); break;
        case 4: _t->on_closeDeviceBtn_clicked(); break;
        case 5: _t->on_initCANBtn_clicked(); break;
        case 6: _t->on_StartCANBtn_clicked(); break;
        case 7: { bool _r = _t->afterReSet();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->on_reSetCANBtn_clicked(); break;
        case 9: _t->on_sendBtn_clicked(); break;
        case 10: _t->AddDataToList((*reinterpret_cast< QStringList(*)>(_a[1]))); break;
        case 11: _t->closeEvent((*reinterpret_cast< QCloseEvent*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

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