00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #undef QT_NO_COMPAT
00011 #include "myglwidget.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.2. 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 *MyGLWidget::className() const
00023 {
00024 return "MyGLWidget";
00025 }
00026
00027 QMetaObject *MyGLWidget::metaObj = 0;
00028 static QMetaObjectCleanUp cleanUp_MyGLWidget( "MyGLWidget", &MyGLWidget::staticMetaObject );
00029
00030 #ifndef QT_NO_TRANSLATION
00031 QString MyGLWidget::tr( const char *s, const char *c )
00032 {
00033 if ( qApp )
00034 return qApp->translate( "MyGLWidget", s, c, QApplication::DefaultCodec );
00035 else
00036 return QString::fromLatin1( s );
00037 }
00038 #ifndef QT_NO_TRANSLATION_UTF8
00039 QString MyGLWidget::trUtf8( const char *s, const char *c )
00040 {
00041 if ( qApp )
00042 return qApp->translate( "MyGLWidget", 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* MyGLWidget::staticMetaObject()
00051 {
00052 if ( metaObj )
00053 return metaObj;
00054 QMetaObject* parentObject = QGLWidget::staticMetaObject();
00055 static const QUMethod slot_0 = {"setBox", 0, 0 };
00056 static const QUMethod slot_1 = {"setWire", 0, 0 };
00057 static const QUMethod slot_2 = {"setHidden", 0, 0 };
00058 static const QUMethod slot_3 = {"setFlat", 0, 0 };
00059 static const QUMethod slot_4 = {"setFlatWire", 0, 0 };
00060 static const QUMethod slot_5 = {"setSmooth", 0, 0 };
00061 static const QUMethod slot_6 = {"setSmallTetra", 0, 0 };
00062 static const QUMethod slot_7 = {"TrackMouseModality", 0, 0 };
00063 static const QUMethod slot_8 = {"SectionMouseModality", 0, 0 };
00064 static const QUMethod slot_9 = {"SwitchTextSimplex", 0, 0 };
00065 static const QUMethod slot_10 = {"SwitchTextPhysics", 0, 0 };
00066 static const QUMethod slot_11 = {"SwitchTextQuality", 0, 0 };
00067 static const QMetaData slot_tbl[] = {
00068 { "setBox()", &slot_0, QMetaData::Public },
00069 { "setWire()", &slot_1, QMetaData::Public },
00070 { "setHidden()", &slot_2, QMetaData::Public },
00071 { "setFlat()", &slot_3, QMetaData::Public },
00072 { "setFlatWire()", &slot_4, QMetaData::Public },
00073 { "setSmooth()", &slot_5, QMetaData::Public },
00074 { "setSmallTetra()", &slot_6, QMetaData::Public },
00075 { "TrackMouseModality()", &slot_7, QMetaData::Public },
00076 { "SectionMouseModality()", &slot_8, QMetaData::Public },
00077 { "SwitchTextSimplex()", &slot_9, QMetaData::Public },
00078 { "SwitchTextPhysics()", &slot_10, QMetaData::Public },
00079 { "SwitchTextQuality()", &slot_11, QMetaData::Public }
00080 };
00081 metaObj = QMetaObject::new_metaobject(
00082 "MyGLWidget", parentObject,
00083 slot_tbl, 12,
00084 0, 0,
00085 #ifndef QT_NO_PROPERTIES
00086 0, 0,
00087 0, 0,
00088 #endif
00089 0, 0 );
00090 cleanUp_MyGLWidget.setMetaObject( metaObj );
00091 return metaObj;
00092 }
00093
00094 void* MyGLWidget::qt_cast( const char* clname )
00095 {
00096 if ( !qstrcmp( clname, "MyGLWidget" ) )
00097 return this;
00098 return QGLWidget::qt_cast( clname );
00099 }
00100
00101 bool MyGLWidget::qt_invoke( int _id, QUObject* _o )
00102 {
00103 switch ( _id - staticMetaObject()->slotOffset() ) {
00104 case 0: setBox(); break;
00105 case 1: setWire(); break;
00106 case 2: setHidden(); break;
00107 case 3: setFlat(); break;
00108 case 4: setFlatWire(); break;
00109 case 5: setSmooth(); break;
00110 case 6: setSmallTetra(); break;
00111 case 7: TrackMouseModality(); break;
00112 case 8: SectionMouseModality(); break;
00113 case 9: SwitchTextSimplex(); break;
00114 case 10: SwitchTextPhysics(); break;
00115 case 11: SwitchTextQuality(); break;
00116 default:
00117 return QGLWidget::qt_invoke( _id, _o );
00118 }
00119 return TRUE;
00120 }
00121
00122 bool MyGLWidget::qt_emit( int _id, QUObject* _o )
00123 {
00124 return QGLWidget::qt_emit(_id,_o);
00125 }
00126 #ifndef QT_NO_PROPERTIES
00127
00128 bool MyGLWidget::qt_property( int id, int f, QVariant* v)
00129 {
00130 return QGLWidget::qt_property( id, f, v);
00131 }
00132
00133 bool MyGLWidget::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
00134 #endif // QT_NO_PROPERTIES