/****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.12)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include "../../mysetting/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.12. 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[10];
char stringdata0[170];
};
#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, 21), // "on_pushButton_clicked"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 30), // "on_comboBox_currentTextChanged"
QT_MOC_LITERAL(4, 65, 4), // "arg1"
QT_MOC_LITERAL(5, 70, 23), // "on_pushButton_2_clicked"
QT_MOC_LITERAL(6, 94, 32), // "on_horizontalSlider_valueChanged"
QT_MOC_LITERAL(7, 127, 5), // "value"
QT_MOC_LITERAL(8, 133, 34), // "on_fontComboBox_currentFontCh..."
QT_MOC_LITERAL(9, 168, 1) // "f"
},
"MainWindow\0on_pushButton_clicked\0\0"
"on_comboBox_currentTextChanged\0arg1\0"
"on_pushButton_2_clicked\0"
"on_horizontalSlider_valueChanged\0value\0"
"on_fontComboBox_currentFontChanged\0f"
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_MainWindow[] = {
// content:
8, // revision
0, // classname
0, 0, // classinfo
5, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount
// slots: name, argc, parameters, tag, flags
1, 0, 39, 2, 0x08 /* Private */,
3, 1, 40, 2, 0x08 /* Private */,
5, 0, 43, 2, 0x08 /* Private */,
6, 1, 44, 2, 0x08 /* Private */,
8, 1, 47, 2, 0x08 /* Private */,
// slots: parameters
QMetaType::Void,
QMetaType::Void, QMetaType::QString, 4,
QMetaType::Void,
QMetaType::Void, QMetaType::Int, 7,
QMetaType::Void, QMetaType::QFont, 9,
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->on_pushButton_clicked(); break;
case 1: _t->on_comboBox_currentTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
case 2: _t->on_pushButton_2_clicked(); break;
case 3: _t->on_horizontalSlider_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
case 4: _t->on_fontComboBox_currentFontChanged((*reinterpret_cast< const QFont(*)>(_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 < 5)
qt_static_metacall(this, _c, _id, _a);
_id -= 5;
} else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
if (_id < 5)
*reinterpret_cast<int*>(_a[0]) = -1;
_id -= 5;
}
return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
没有合适的资源?快使用搜索试试~ 我知道了~
Qt读写配置文件,QSetting类使用
共19个文件
h:3个
cpp:3个
o:3个
需积分: 1 0 下载量 190 浏览量
2023-02-13
22:08:49
上传
评论
收藏 877KB ZIP 举报
温馨提示
Qt读写配置文件,QSetting类使用
资源推荐
资源详情
资源评论
收起资源包目录
MySetting(配置文件读写).zip (19个子文件)
21Mysetting
build-mysetting-Desktop_Qt_5_12_12_MinGW_32_bit-Debug
DocConfig.ini 365B
Makefile 31KB
debug
moc_mainwindow.cpp 5KB
moc_mainwindow.o 420KB
mysetting.exe 1.4MB
mainwindow.o 554KB
main.o 515KB
moc_predefs.h 14KB
release
Makefile.Release 42KB
ui_mainwindow.h 6KB
Makefile.Debug 42KB
.qmake.stash 1KB
FontSize.ini 98B
mysetting
mysetting.pro 614B
mainwindow.h 685B
mysetting.pro.user 46KB
mainwindow.cpp 5KB
main.cpp 183B
mainwindow.ui 5KB
共 19 条
- 1
资源评论
shaoxiloveyou
- 粉丝: 0
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功