⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 moc_mainwindow.cpp

📁 作为qt 入门的学习的例子
💻 CPP
字号:
/****************************************************************************** ABMainWindow meta object code from reading C++ file 'mainwindow.h'**** Created: Sat May 13 11:53:21 2006**      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.1.2   edited Feb 24 09:29 $)**** WARNING! All changes made in this file will be lost!*****************************************************************************/#undef QT_NO_COMPAT#include "mainwindow.h"#include <qmetaobject.h>#include <qapplication.h>#include <private/qucomextra_p.h>#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)#error "This file was generated using the moc from 3.1.2. It"#error "cannot be used with the include files from this version of Qt."#error "(The moc has changed too much.)"#endifconst char *ABMainWindow::className() const{    return "ABMainWindow";}QMetaObject *ABMainWindow::metaObj = 0;static QMetaObjectCleanUp cleanUp_ABMainWindow( "ABMainWindow", &ABMainWindow::staticMetaObject );#ifndef QT_NO_TRANSLATIONQString ABMainWindow::tr( const char *s, const char *c ){    if ( qApp )	return qApp->translate( "ABMainWindow", s, c, QApplication::DefaultCodec );    else	return QString::fromLatin1( s );}#ifndef QT_NO_TRANSLATION_UTF8QString ABMainWindow::trUtf8( const char *s, const char *c ){    if ( qApp )	return qApp->translate( "ABMainWindow", s, c, QApplication::UnicodeUTF8 );    else	return QString::fromUtf8( s );}#endif // QT_NO_TRANSLATION_UTF8#endif // QT_NO_TRANSLATIONQMetaObject* ABMainWindow::staticMetaObject(){    if ( metaObj )	return metaObj;    QMetaObject* parentObject = QMainWindow::staticMetaObject();    static const QUMethod slot_0 = {"fileNew", 0, 0 };    static const QUMethod slot_1 = {"fileOpen", 0, 0 };    static const QUMethod slot_2 = {"fileSave", 0, 0 };    static const QUMethod slot_3 = {"fileSaveAs", 0, 0 };    static const QUMethod slot_4 = {"filePrint", 0, 0 };    static const QUMethod slot_5 = {"closeWindow", 0, 0 };    static const QMetaData slot_tbl[] = {	{ "fileNew()", &slot_0, QMetaData::Protected },	{ "fileOpen()", &slot_1, QMetaData::Protected },	{ "fileSave()", &slot_2, QMetaData::Protected },	{ "fileSaveAs()", &slot_3, QMetaData::Protected },	{ "filePrint()", &slot_4, QMetaData::Protected },	{ "closeWindow()", &slot_5, QMetaData::Protected }    };    metaObj = QMetaObject::new_metaobject(	"ABMainWindow", parentObject,	slot_tbl, 6,	0, 0,#ifndef QT_NO_PROPERTIES	0, 0,	0, 0,#endif // QT_NO_PROPERTIES	0, 0 );    cleanUp_ABMainWindow.setMetaObject( metaObj );    return metaObj;}void* ABMainWindow::qt_cast( const char* clname ){    if ( !qstrcmp( clname, "ABMainWindow" ) )	return this;    return QMainWindow::qt_cast( clname );}bool ABMainWindow::qt_invoke( int _id, QUObject* _o ){    switch ( _id - staticMetaObject()->slotOffset() ) {    case 0: fileNew(); break;    case 1: fileOpen(); break;    case 2: fileSave(); break;    case 3: fileSaveAs(); break;    case 4: filePrint(); break;    case 5: closeWindow(); break;    default:	return QMainWindow::qt_invoke( _id, _o );    }    return TRUE;}bool ABMainWindow::qt_emit( int _id, QUObject* _o ){    return QMainWindow::qt_emit(_id,_o);}#ifndef QT_NO_PROPERTIESbool ABMainWindow::qt_property( int id, int f, QVariant* v){    return QMainWindow::qt_property( id, f, v);}bool ABMainWindow::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }#endif // QT_NO_PROPERTIES

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -