moc_qga.cpp

Go to the documentation of this file.
00001 /****************************************************************************
00002 ** ApplicationWindow meta object code from reading C++ file 'qga.h'
00003 **
00004 ** Created: Sun Apr 30 18:06:34 2006
00005 **      by: The Qt MOC ($Id: qt/moc_yacc.cpp   3.3.6   edited Mar 8 17:43 $)
00006 **
00007 ** WARNING! All changes made in this file will be lost!
00008 *****************************************************************************/
00009 
00010 #undef QT_NO_COMPAT
00011 #include "qga.h"
00012 #include <qmetaobject.h>
00013 #include <qapplication.h>
00014 
00015 #include <private/qucomextra_p.h>
00016 #if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
00017 #error "This file was generated using the moc from 3.3.6. It"
00018 #error "cannot be used with the include files from this version of Qt."
00019 #error "(The moc has changed too much.)"
00020 #endif
00021 
00022 const char *ApplicationWindow::className() const
00023 {
00024     return "ApplicationWindow";
00025 }
00026 
00027 QMetaObject *ApplicationWindow::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_ApplicationWindow( "ApplicationWindow", &ApplicationWindow::staticMetaObject );
00029 
00030 #ifndef QT_NO_TRANSLATION
00031 QString ApplicationWindow::tr( const char *s, const char *c )
00032 {
00033     if ( qApp )
00034         return qApp->translate( "ApplicationWindow", s, c, QApplication::DefaultCodec );
00035     else
00036         return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString ApplicationWindow::trUtf8( const char *s, const char *c )
00040 {
00041     if ( qApp )
00042         return qApp->translate( "ApplicationWindow", s, c, QApplication::UnicodeUTF8 );
00043     else
00044         return QString::fromUtf8( s );
00045 }
00046 #endif // QT_NO_TRANSLATION_UTF8
00047 
00048 #endif // QT_NO_TRANSLATION
00049 
00050 QMetaObject* ApplicationWindow::staticMetaObject()
00051 {
00052     if ( metaObj )
00053         return metaObj;
00054     QMetaObject* parentObject = QMainWindow::staticMetaObject();
00055     static const QUMethod slot_0 = {"newWindow", 0, 0 };
00056     static const QUMethod slot_1 = {"recalcNow", 0, 0 };
00057     static const QUMethod slot_2 = {"allowUserInput", 0, 0 };
00058     static const QUMethod slot_3 = {"insertRows", 0, 0 };
00059     static const QUMethod slot_4 = {"insertCols", 0, 0 };
00060     static const QUMethod slot_5 = {"copyRight", 0, 0 };
00061     static const QUMethod slot_6 = {"copyDown", 0, 0 };
00062     static const QUMethod slot_7 = {"openFile", 0, 0 };
00063     static const QUMethod slot_8 = {"saveFile", 0, 0 };
00064     static const QUMethod slot_9 = {"saveFileAs", 0, 0 };
00065     static const QMetaData slot_tbl[] = {
00066         { "newWindow()", &slot_0, QMetaData::Public },
00067         { "recalcNow()", &slot_1, QMetaData::Public },
00068         { "allowUserInput()", &slot_2, QMetaData::Public },
00069         { "insertRows()", &slot_3, QMetaData::Public },
00070         { "insertCols()", &slot_4, QMetaData::Public },
00071         { "copyRight()", &slot_5, QMetaData::Public },
00072         { "copyDown()", &slot_6, QMetaData::Public },
00073         { "openFile()", &slot_7, QMetaData::Public },
00074         { "saveFile()", &slot_8, QMetaData::Public },
00075         { "saveFileAs()", &slot_9, QMetaData::Public }
00076     };
00077     metaObj = QMetaObject::new_metaobject(
00078         "ApplicationWindow", parentObject,
00079         slot_tbl, 10,
00080         0, 0,
00081 #ifndef QT_NO_PROPERTIES
00082         0, 0,
00083         0, 0,
00084 #endif // QT_NO_PROPERTIES
00085         0, 0 );
00086     cleanUp_ApplicationWindow.setMetaObject( metaObj );
00087     return metaObj;
00088 }
00089 
00090 void* ApplicationWindow::qt_cast( const char* clname )
00091 {
00092     if ( !qstrcmp( clname, "ApplicationWindow" ) )
00093         return this;
00094     return QMainWindow::qt_cast( clname );
00095 }
00096 
00097 bool ApplicationWindow::qt_invoke( int _id, QUObject* _o )
00098 {
00099     switch ( _id - staticMetaObject()->slotOffset() ) {
00100     case 0: newWindow(); break;
00101     case 1: recalcNow(); break;
00102     case 2: allowUserInput(); break;
00103     case 3: insertRows(); break;
00104     case 4: insertCols(); break;
00105     case 5: copyRight(); break;
00106     case 6: copyDown(); break;
00107     case 7: openFile(); break;
00108     case 8: saveFile(); break;
00109     case 9: saveFileAs(); break;
00110     default:
00111         return QMainWindow::qt_invoke( _id, _o );
00112     }
00113     return TRUE;
00114 }
00115 
00116 bool ApplicationWindow::qt_emit( int _id, QUObject* _o )
00117 {
00118     return QMainWindow::qt_emit(_id,_o);
00119 }
00120 #ifndef QT_NO_PROPERTIES
00121 
00122 bool ApplicationWindow::qt_property( int id, int f, QVariant* v)
00123 {
00124     return QMainWindow::qt_property( id, f, v);
00125 }
00126 
00127 bool ApplicationWindow::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00128 #endif // QT_NO_PROPERTIES

Generated on Mon Jun 5 22:08:42 2006 for iis by  doxygen 1.4.6