/****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.14.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include <memory>
#include "../../calculator/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.14.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[23];
char stringdata0[294];
};
#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, 11), // "pushButton0"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 11), // "pushButton1"
QT_MOC_LITERAL(4, 36, 11), // "pushButton2"
QT_MOC_LITERAL(5, 48, 11), // "pushButton3"
QT_MOC_LITERAL(6, 60, 11), // "pushButton4"
QT_MOC_LITERAL(7, 72, 11), // "pushButton5"
QT_MOC_LITERAL(8, 84, 11), // "pushButton6"
QT_MOC_LITERAL(9, 96, 11), // "pushButton7"
QT_MOC_LITERAL(10, 108, 11), // "pushButton8"
QT_MOC_LITERAL(11, 120, 11), // "pushButton9"
QT_MOC_LITERAL(12, 132, 14), // "pushButton_add"
QT_MOC_LITERAL(13, 147, 14), // "pushButton_min"
QT_MOC_LITERAL(14, 162, 14), // "pushButton_mul"
QT_MOC_LITERAL(15, 177, 14), // "pushButton_div"
QT_MOC_LITERAL(16, 192, 14), // "pushButton_dot"
QT_MOC_LITERAL(17, 207, 14), // "pushButton_del"
QT_MOC_LITERAL(18, 222, 17), // "pushButton_delall"
QT_MOC_LITERAL(19, 240, 13), // "pushButtonyou"
QT_MOC_LITERAL(20, 254, 13), // "pushButtonzuo"
QT_MOC_LITERAL(21, 268, 13), // "pushButton_is"
QT_MOC_LITERAL(22, 282, 11) // "timerupdate"
},
"MainWindow\0pushButton0\0\0pushButton1\0"
"pushButton2\0pushButton3\0pushButton4\0"
"pushButton5\0pushButton6\0pushButton7\0"
"pushButton8\0pushButton9\0pushButton_add\0"
"pushButton_min\0pushButton_mul\0"
"pushButton_div\0pushButton_dot\0"
"pushButton_del\0pushButton_delall\0"
"pushButtonyou\0pushButtonzuo\0pushButton_is\0"
"timerupdate"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_MainWindow[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
21, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
// slots: name, argc, parameters, tag, flags
1, 0, 119, 2, 0x08 /* Private */,
3, 0, 120, 2, 0x08 /* Private */,
4, 0, 121, 2, 0x08 /* Private */,
5, 0, 122, 2, 0x08 /* Private */,
6, 0, 123, 2, 0x08 /* Private */,
7, 0, 124, 2, 0x08 /* Private */,
8, 0, 125, 2, 0x08 /* Private */,
9, 0, 126, 2, 0x08 /* Private */,
10, 0, 127, 2, 0x08 /* Private */,
11, 0, 128, 2, 0x08 /* Private */,
12, 0, 129, 2, 0x08 /* Private */,
13, 0, 130, 2, 0x08 /* Private */,
14, 0, 131, 2, 0x08 /* Private */,
15, 0, 132, 2, 0x08 /* Private */,
16, 0, 133, 2, 0x08 /* Private */,
17, 0, 134, 2, 0x08 /* Private */,
18, 0, 135, 2, 0x08 /* Private */,
19, 0, 136, 2, 0x08 /* Private */,
20, 0, 137, 2, 0x08 /* Private */,
21, 0, 138, 2, 0x08 /* Private */,
22, 0, 139, 2, 0x08 /* 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,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
QMetaType::Void,
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);
Q_UNUSED(_t)
switch (_id) {
case 0: _t->pushButton0(); break;
case 1: _t->pushButton1(); break;
case 2: _t->pushButton2(); break;
case 3: _t->pushButton3(); break;
case 4: _t->pushButton4(); break;
case 5: _t->pushButton5(); break;
case 6: _t->pushButton6(); break;
case 7: _t->pushButton7(); break;
case 8: _t->pushButton8(); break;
case 9: _t->pushButton9(); break;
case 10: _t->pushButton_add(); break;
case 11: _t->pushButton_min(); break;
case 12: _t->pushButton_mul(); break;
case 13: _t->pushButton_div(); break;
case 14: _t->pushButton_dot(); break;
case 15: _t->pushButton_del(); break;
case 16: _t->pushButton_delall(); break;
case 17: _t->pushButtonyou(); break;
case 18: _t->pushButtonzuo(); break;
case 19: _t->pushButton_is(); break;
case 20: _t->timerupdate(); break;
default: ;
}
}
Q_UNUSED(_a);
}
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 < 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;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
基于C++语言,使用Qt编写的计算器
3 浏览量
2024-01-29
16:49:51
上传
评论
收藏 59KB RAR 举报
书中藏着宇宙
- 粉丝: 3508
- 资源: 7
最新资源
- 使用 C 语言实现的计算非负整数的阶乘
- 2011-2021最新版本北京大学数字普惠金融指数(PKU-DFIIC).xlsx
- 县域数字乡村指数2018-2020(1).xlsx
- Docker容器配置进阶
- tensorflow-gpu-2.7.4-cp37-cp37m-manylinux2010-x86-64.whl
- 多段线、 圆、弧转多段线(仅我可见)
- tensorflow-2.7.2-cp38-cp38-manylinux2010-x86-64.whl
- 李慧琴C语言基础部分.zip
- yeyue-p8Yi4-ve4a83792.apk
- tensorflow-gpu-2.7.3-cp38-cp38-manylinux2010-x86-64.whl
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈