资源简介
在linuxredhat下 QT4.5.1编程,简简单单的一小程序经典程序 ----猜数字!!希望有所帮助!哈哈!
代码片段和文件信息
/****************************************************************************
** meta object code from reading C++ file ‘guessnumberdialog.h‘
**
** Created: Wed May 7 17:11:24 2008
** by: The Qt meta object Compiler version 59 (Qt 4.3.3)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include “../src/guessnumberdialog.h“
#if !defined(Q_MOC_OUTPUT_REVISION)
#error “The header file ‘guessnumberdialog.h‘ doesn‘t include ject>.“
#elif Q_MOC_OUTPUT_REVISION != 59
#error “This file was generated using the moc from 4.3.3. It“
#error “cannot be used with the include files from this version of Qt.“
#error “(The moc has changed too much.)“
#endif
static const uint qt_meta_data_GuessNumberDialog[] = {
// content:
1 // revision
0 // classname
0 0 // classinfo
6 10 // methods
0 0 // properties
0 0 // enums/sets
// slots: signature parameters type tag flags
19 18 18 18 0x08
42 18 18 18 0x08
69 18 18 18 0x08
96 18 18 18 0x08
123 18 18 18 0x08
150 18 18 18 0x08
0 // eod
};
static const char qt_meta_stringdata_GuessNumberDialog[] = {
“GuessNumberDialog\0\0on_newButton_clicked()\0“
“on_spinBox1_valueChanged()\0“
“on_spinBox2_valueChanged()\0“
“on_spinBox3_valueChanged()\0“
“on_spinBox4_valueChanged()\0“
“on_confirmButton_clicked()\0“
};
const Qmetaobject GuessNumberDialog::staticmetaobject = {
{ &QDialog::staticmetaobject qt_meta_stringdata_GuessNumberDialog
qt_meta_data_GuessNumberDialog 0 }
};
const Qmetaobject *GuessNumberDialog::metaobject() const
{
return &staticmetaobject;
}
void *GuessNumberDialog::qt_metacast(const char *_clname)
{
if (!_clname) return 0;
if (!strcmp(_clname qt_meta_stringdata_GuessNumberDialog))
return static_cast(const_cast< GuessNumberDialog*>(this));
if (!strcmp(_clname “Ui::Dialog“))
return static_cast< Ui::Dialog*>(const_cast< GuessNumberDialog*>(this));
return QDialog::qt_metacast(_clname);
}
int GuessNumberDialog::qt_metacall(Qmetaobject::Call _c int _id void **_a)
{
_id = QDialog::qt_metacall(_c _id _a);
if (_id < 0)
return _id;
if (_c == Qmetaobject::InvokemetaMethod) {
switch (_id) {
case 0: on_newButton_clicked(); break;
case 1: on_spinBox1_valueChanged(); break;
case 2: on_spinBox2_valueChanged(); break;
case 3: on_spinBox3_valueChanged(); break;
case 4: on_spinBox4_valueChanged(); break;
case 5: on_confirmButton_clicked(); break;
}
_id -= 6;
}
return _id;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 235 2008-05-07 17:11 GuessNumber\GuessNumber.pro
文件 8924 2008-05-07 17:11 GuessNumber\Makefile
文件 23552 2008-05-07 21:33 GuessNumber\qdevelop-settings.db
文件 6787 2008-05-07 16:45 GuessNumber\ui\dialog.ui
文件 4396 2008-05-07 17:10 GuessNumber\src\guessnumberdialog.cpp
文件 615 2008-05-07 10:37 GuessNumber\src\guessnumberdialog.h
文件 260 2008-05-07 05:58 GuessNumber\src\main.cpp
文件 18284 2008-05-07 17:11 GuessNumber\build\guessnumberdialog.o
文件 2328 2008-05-07 17:11 GuessNumber\build\main.o
文件 2796 2008-05-07 17:11 GuessNumber\build\moc_guessnumberdialog.cpp
文件 10104 2008-05-07 17:11 GuessNumber\build\moc_guessnumberdialog.o
文件 6347 2008-05-07 17:11 GuessNumber\build\ui_dialog.h
文件 36744 2008-05-07 17:11 GuessNumber\bin\GuessNumber
目录 0 2008-06-16 17:50 GuessNumber\ui
目录 0 2008-06-16 17:50 GuessNumber\src
目录 0 2008-06-16 17:50 GuessNumber\build
目录 0 2008-06-16 17:50 GuessNumber\bin
目录 0 2008-06-16 17:50 GuessNumber
----------- --------- ---------- ----- ----
121372 18
- 上一篇:哈希表实现学生学籍管理
- 下一篇:知识图谱链接预测、关系预测数据集FB15K-OWE
评论
共有 条评论