/****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.8.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "../../SerialPortTest/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.8.0. 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[11];
char stringdata0[187];
};
#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, 23), // "on_searchButton_clicked"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 21), // "on_openButton_clicked"
QT_MOC_LITERAL(4, 58, 20), // "serialPort_readyRead"
QT_MOC_LITERAL(5, 79, 21), // "on_sendButton_clicked"
QT_MOC_LITERAL(6, 101, 22), // "on_clearButton_clicked"
QT_MOC_LITERAL(7, 124, 21), // "on_pushButton_clicked"
QT_MOC_LITERAL(8, 146, 10), // "sendupdate"
QT_MOC_LITERAL(9, 157, 24), // "on_autosend_stateChanged"
QT_MOC_LITERAL(10, 182, 4) // "arg1"
},
"MainWindow\0on_searchButton_clicked\0\0"
"on_openButton_clicked\0serialPort_readyRead\0"
"on_sendButton_clicked\0on_clearButton_clicked\0"
"on_pushButton_clicked\0sendupdate\0"
"on_autosend_stateChanged\0arg1"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_MainWindow[] = {
// content:
7, // revision
0, // classname
0, 0, // classinfo
8, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
// slots: name, argc, parameters, tag, flags
1, 0, 54, 2, 0x08 /* Private */,
3, 0, 55, 2, 0x08 /* Private */,
4, 0, 56, 2, 0x08 /* Private */,
5, 0, 57, 2, 0x08 /* Private */,
6, 0, 58, 2, 0x08 /* Private */,
7, 0, 59, 2, 0x08 /* Private */,
8, 0, 60, 2, 0x08 /* Private */,
9, 1, 61, 2, 0x08 /* Private */,
// slots: parameters
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void, QMetaType::Int, 10,
0 // eod
};
void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
if (_c == QMetaObject::InvokeMetaMethod) {
MainWindow *_t = static_cast<MainWindow *>(_o);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->on_searchButton_clicked(); break;
case 1: _t->on_openButton_clicked(); break;
case 2: _t->serialPort_readyRead(); break;
case 3: _t->on_sendButton_clicked(); break;
case 4: _t->on_clearButton_clicked(); break;
case 5: _t->on_pushButton_clicked(); break;
case 6: _t->sendupdate(); break;
case 7: _t->on_autosend_stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
default: ;
}
}
}
const QMetaObject MainWindow::staticMetaObject = {
{ &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow.data,
qt_meta_data_MainWindow, qt_static_metacall, Q_NULLPTR, Q_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 Q_NULLPTR;
if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0))
return static_cast<void*>(const_cast< MainWindow*>(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 < 8)
qt_static_metacall(this, _c, _id, _a);
_id -= 8;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 8)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 8;
}
return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
没有合适的资源?快使用搜索试试~ 我知道了~
qt串口小例子qt 5.8
共18个文件
cpp:3个
h:3个
o:3个
需积分: 5 0 下载量 173 浏览量
2023-08-09
15:51:42
上传
评论
收藏 953KB ZIP 举报
温馨提示
qt串口小例子qt 5.8
资源推荐
资源详情
资源评论
收起资源包目录
SerialPortTest.zip (18个子文件)
SerialPortTest
SerialPortTest
mainwindow.h 739B
mainwindow.cpp 5KB
main.cpp 183B
mainwindow.ui 12KB
SerialPortTest.pro 1KB
SerialPortTest.pro.user 23KB
SerialPortTest.pro.user.a81a501 23KB
build-SerialPortTest-Desktop_Qt_5_8_0_MinGW_32bit-Debug
Makefile 26KB
debug
moc_mainwindow.cpp 5KB
moc_mainwindow.o 412KB
mainwindow.o 740KB
main.o 488KB
moc_predefs.h 10KB
SerialPortTest.exe 1.5MB
release
Makefile.Release 39KB
ui_mainwindow.h 16KB
Makefile.Debug 39KB
.qmake.stash 726B
共 18 条
- 1
资源评论
qq_35826851
- 粉丝: 4
- 资源: 55
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- #P0015. 全排列 超级简单
- pta题库答案c语言之排序4统计工龄.zip
- pta题库答案c语言之树结构7堆中的路径.zip
- pta题库答案c语言之树结构3TreeTraversalsAgain.zip
- pta题库答案c语言之树结构2ListLeaves.zip
- pta题库答案c语言之树结构1树的同构.zip
- 基于C++实现民航飞行与地图简易管理系统可执行程序+说明+详细注释.zip
- pta题库答案c语言之复杂度1最大子列和问题.zip
- 三维装箱问题(Three-Dimensional Bin Packing Problem,3D-BPP)是一个经典的组合优化问题
- 以下是一些关于Linux线程同步的基本概念和方法.txt
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功