00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef QT_NO_COMPAT
00011 #include "ccInteractor.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.1.1. 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 *MainWindow::className() const
00023 {
00024 return "MainWindow";
00025 }
00026
00027 QMetaObject *MainWindow::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_MainWindow( "MainWindow", &MainWindow::staticMetaObject );
00029
00030 #ifndef QT_NO_TRANSLATION
00031 QString MainWindow::tr( const char *s, const char *c )
00032 {
00033 if ( qApp )
00034 return qApp->translate( "MainWindow", s, c, QApplication::DefaultCodec );
00035 else
00036 return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString MainWindow::trUtf8( const char *s, const char *c )
00040 {
00041 if ( qApp )
00042 return qApp->translate( "MainWindow", 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* MainWindow::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 QMetaObject* parentObject = QMainWindow::staticMetaObject();
00055 static const QUMethod slot_0 = {"openFile", 0, 0 };
00056 static const QUMethod slot_1 = {"saveFile", 0, 0 };
00057 static const QUMethod slot_2 = {"newSubdivision", 0, 0 };
00058 static const QMetaData slot_tbl[] = {
00059 { "openFile()", &slot_0, QMetaData::Public },
00060 { "saveFile()", &slot_1, QMetaData::Public },
00061 { "newSubdivision()", &slot_2, QMetaData::Public }
00062 };
00063 metaObj = QMetaObject::new_metaobject(
00064 "MainWindow", parentObject,
00065 slot_tbl, 3,
00066 0, 0,
00067 #ifndef QT_NO_PROPERTIES
00068 0, 0,
00069 0, 0,
00070 #endif
00071 0, 0 );
00072 cleanUp_MainWindow.setMetaObject( metaObj );
00073 return metaObj;
00074 }
00075
00076 void* MainWindow::qt_cast( const char* clname )
00077 {
00078 if ( !qstrcmp( clname, "MainWindow" ) )
00079 return this;
00080 return QMainWindow::qt_cast( clname );
00081 }
00082
00083 bool MainWindow::qt_invoke( int _id, QUObject* _o )
00084 {
00085 switch ( _id - staticMetaObject()->slotOffset() ) {
00086 case 0: openFile(); break;
00087 case 1: saveFile(); break;
00088 case 2: newSubdivision(); break;
00089 default:
00090 return QMainWindow::qt_invoke( _id, _o );
00091 }
00092 return TRUE;
00093 }
00094
00095 bool MainWindow::qt_emit( int _id, QUObject* _o )
00096 {
00097 return QMainWindow::qt_emit(_id,_o);
00098 }
00099 #ifndef QT_NO_PROPERTIES
00100
00101 bool MainWindow::qt_property( int id, int f, QVariant* v)
00102 {
00103 return QMainWindow::qt_property( id, f, v);
00104 }
00105
00106 bool MainWindow::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00107 #endif // QT_NO_PROPERTIES