[598] | 1 | /**************************************************************************** |
---|
| 2 | ** G4OpenGLQtViewer meta object code from reading C++ file 'G4OpenGLQtViewer.hh' |
---|
| 3 | ** |
---|
| 4 | ** Created: Mon Nov 12 10:34:24 2007 |
---|
| 5 | ** by: The Qt MOC ($Id: G4OpenGLQtViewer_moc_030305.cc,v 1.1 2007/11/12 09:37:25 lgarnier Exp $) |
---|
| 6 | ** |
---|
| 7 | ** WARNING! All changes made in this file will be lost! |
---|
| 8 | *****************************************************************************/ |
---|
| 9 | |
---|
| 10 | #undef QT_NO_COMPAT |
---|
| 11 | #include "../include/G4OpenGLQtViewer.hh" |
---|
| 12 | #include <qmetaobject.h> |
---|
| 13 | #include <qapplication.h> |
---|
| 14 | |
---|
[602] | 15 | #if QT_VERSION < 0x040202 |
---|
| 16 | |
---|
[598] | 17 | #include <private/qucomextra_p.h> |
---|
| 18 | #if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26) |
---|
| 19 | #error "This file was generated using the moc from 3.3.5. It" |
---|
| 20 | #error "cannot be used with the include files from this version of Qt." |
---|
| 21 | #error "(The moc has changed too much.)" |
---|
| 22 | #endif |
---|
| 23 | |
---|
| 24 | const char *G4OpenGLQtViewer::className() const |
---|
| 25 | { |
---|
| 26 | return "G4OpenGLQtViewer"; |
---|
| 27 | } |
---|
| 28 | |
---|
| 29 | QMetaObject *G4OpenGLQtViewer::metaObj = 0; |
---|
| 30 | static QMetaObjectCleanUp cleanUp_G4OpenGLQtViewer( "G4OpenGLQtViewer", &G4OpenGLQtViewer::staticMetaObject ); |
---|
| 31 | |
---|
| 32 | #ifndef QT_NO_TRANSLATION |
---|
| 33 | QString G4OpenGLQtViewer::tr( const char *s, const char *c ) |
---|
| 34 | { |
---|
| 35 | if ( qApp ) |
---|
| 36 | return qApp->translate( "G4OpenGLQtViewer", s, c, QApplication::DefaultCodec ); |
---|
| 37 | else |
---|
| 38 | return QString::fromLatin1( s ); |
---|
| 39 | } |
---|
| 40 | #ifndef QT_NO_TRANSLATION_UTF8 |
---|
| 41 | QString G4OpenGLQtViewer::trUtf8( const char *s, const char *c ) |
---|
| 42 | { |
---|
| 43 | if ( qApp ) |
---|
| 44 | return qApp->translate( "G4OpenGLQtViewer", s, c, QApplication::UnicodeUTF8 ); |
---|
| 45 | else |
---|
| 46 | return QString::fromUtf8( s ); |
---|
| 47 | } |
---|
| 48 | #endif // QT_NO_TRANSLATION_UTF8 |
---|
| 49 | |
---|
| 50 | #endif // QT_NO_TRANSLATION |
---|
| 51 | |
---|
| 52 | QMetaObject* G4OpenGLQtViewer::staticMetaObject() |
---|
| 53 | { |
---|
| 54 | if ( metaObj ) |
---|
| 55 | return metaObj; |
---|
| 56 | QMetaObject* parentObject = QObject::staticMetaObject(); |
---|
| 57 | static const QUMethod slot_0 = {"actionDrawingWireframe", 0, 0 }; |
---|
| 58 | static const QUMethod slot_1 = {"actionDrawingLineRemoval", 0, 0 }; |
---|
| 59 | static const QUMethod slot_2 = {"actionDrawingSurfaceRemoval", 0, 0 }; |
---|
| 60 | static const QUMethod slot_3 = {"actionDrawingLineSurfaceRemoval", 0, 0 }; |
---|
| 61 | static const QUMethod slot_4 = {"actionControlPanels", 0, 0 }; |
---|
| 62 | static const QUMethod slot_5 = {"actionExitG4", 0, 0 }; |
---|
| 63 | static const QUMethod slot_6 = {"actionCreateEPS", 0, 0 }; |
---|
| 64 | static const QUParameter param_slot_7[] = { |
---|
| 65 | { 0, &static_QUType_int, 0, QUParameter::In } |
---|
| 66 | }; |
---|
| 67 | static const QUMethod slot_7 = {"toggleDrawingAction", 1, param_slot_7 }; |
---|
| 68 | static const QUParameter param_slot_8[] = { |
---|
| 69 | { 0, &static_QUType_bool, 0, QUParameter::In } |
---|
| 70 | }; |
---|
| 71 | static const QUMethod slot_8 = {"toggleMouseAction", 1, param_slot_8 }; |
---|
| 72 | static const QUParameter param_slot_9[] = { |
---|
| 73 | { 0, &static_QUType_bool, 0, QUParameter::In } |
---|
| 74 | }; |
---|
| 75 | static const QUMethod slot_9 = {"toggleRepresentation", 1, param_slot_9 }; |
---|
| 76 | static const QUParameter param_slot_10[] = { |
---|
| 77 | { 0, &static_QUType_bool, 0, QUParameter::In } |
---|
| 78 | }; |
---|
| 79 | static const QUMethod slot_10 = {"toggleBackground", 1, param_slot_10 }; |
---|
| 80 | static const QUParameter param_slot_11[] = { |
---|
| 81 | { 0, &static_QUType_bool, 0, QUParameter::In } |
---|
| 82 | }; |
---|
| 83 | static const QUMethod slot_11 = {"toggleTransparency", 1, param_slot_11 }; |
---|
| 84 | static const QUParameter param_slot_12[] = { |
---|
| 85 | { 0, &static_QUType_bool, 0, QUParameter::In } |
---|
| 86 | }; |
---|
| 87 | static const QUMethod slot_12 = {"toggleAntialiasing", 1, param_slot_12 }; |
---|
| 88 | static const QUParameter param_slot_13[] = { |
---|
| 89 | { 0, &static_QUType_bool, 0, QUParameter::In } |
---|
| 90 | }; |
---|
| 91 | static const QUMethod slot_13 = {"toggleHaloing", 1, param_slot_13 }; |
---|
| 92 | static const QUParameter param_slot_14[] = { |
---|
| 93 | { 0, &static_QUType_bool, 0, QUParameter::In } |
---|
| 94 | }; |
---|
| 95 | static const QUMethod slot_14 = {"toggleAux", 1, param_slot_14 }; |
---|
| 96 | static const QUParameter param_slot_15[] = { |
---|
| 97 | { 0, &static_QUType_bool, 0, QUParameter::In } |
---|
| 98 | }; |
---|
| 99 | static const QUMethod slot_15 = {"toggleFullScreen", 1, param_slot_15 }; |
---|
| 100 | static const QUMethod slot_16 = {"dialogClosed", 0, 0 }; |
---|
| 101 | static const QMetaData slot_tbl[] = { |
---|
| 102 | { "actionDrawingWireframe()", &slot_0, QMetaData::Private }, |
---|
| 103 | { "actionDrawingLineRemoval()", &slot_1, QMetaData::Private }, |
---|
| 104 | { "actionDrawingSurfaceRemoval()", &slot_2, QMetaData::Private }, |
---|
| 105 | { "actionDrawingLineSurfaceRemoval()", &slot_3, QMetaData::Private }, |
---|
| 106 | { "actionControlPanels()", &slot_4, QMetaData::Private }, |
---|
| 107 | { "actionExitG4()", &slot_5, QMetaData::Private }, |
---|
| 108 | { "actionCreateEPS()", &slot_6, QMetaData::Private }, |
---|
| 109 | { "toggleDrawingAction(int)", &slot_7, QMetaData::Private }, |
---|
| 110 | { "toggleMouseAction(bool)", &slot_8, QMetaData::Private }, |
---|
| 111 | { "toggleRepresentation(bool)", &slot_9, QMetaData::Private }, |
---|
| 112 | { "toggleBackground(bool)", &slot_10, QMetaData::Private }, |
---|
| 113 | { "toggleTransparency(bool)", &slot_11, QMetaData::Private }, |
---|
| 114 | { "toggleAntialiasing(bool)", &slot_12, QMetaData::Private }, |
---|
| 115 | { "toggleHaloing(bool)", &slot_13, QMetaData::Private }, |
---|
| 116 | { "toggleAux(bool)", &slot_14, QMetaData::Private }, |
---|
| 117 | { "toggleFullScreen(bool)", &slot_15, QMetaData::Private }, |
---|
| 118 | { "dialogClosed()", &slot_16, QMetaData::Private } |
---|
| 119 | }; |
---|
| 120 | metaObj = QMetaObject::new_metaobject( |
---|
| 121 | "G4OpenGLQtViewer", parentObject, |
---|
| 122 | slot_tbl, 17, |
---|
| 123 | 0, 0, |
---|
| 124 | #ifndef QT_NO_PROPERTIES |
---|
| 125 | 0, 0, |
---|
| 126 | 0, 0, |
---|
| 127 | #endif // QT_NO_PROPERTIES |
---|
| 128 | 0, 0 ); |
---|
| 129 | cleanUp_G4OpenGLQtViewer.setMetaObject( metaObj ); |
---|
| 130 | return metaObj; |
---|
| 131 | } |
---|
| 132 | |
---|
| 133 | void* G4OpenGLQtViewer::qt_cast( const char* clname ) |
---|
| 134 | { |
---|
| 135 | if ( !qstrcmp( clname, "G4OpenGLQtViewer" ) ) |
---|
| 136 | return this; |
---|
| 137 | if ( !qstrcmp( clname, "G4OpenGLViewer" ) ) |
---|
| 138 | return (G4OpenGLViewer*)this; |
---|
| 139 | return QObject::qt_cast( clname ); |
---|
| 140 | } |
---|
| 141 | |
---|
| 142 | bool G4OpenGLQtViewer::qt_invoke( int _id, QUObject* _o ) |
---|
| 143 | { |
---|
| 144 | switch ( _id - staticMetaObject()->slotOffset() ) { |
---|
| 145 | case 0: actionDrawingWireframe(); break; |
---|
| 146 | case 1: actionDrawingLineRemoval(); break; |
---|
| 147 | case 2: actionDrawingSurfaceRemoval(); break; |
---|
| 148 | case 3: actionDrawingLineSurfaceRemoval(); break; |
---|
| 149 | case 4: actionControlPanels(); break; |
---|
| 150 | case 5: actionExitG4(); break; |
---|
| 151 | case 6: actionCreateEPS(); break; |
---|
| 152 | case 7: toggleDrawingAction((int)static_QUType_int.get(_o+1)); break; |
---|
| 153 | case 8: toggleMouseAction((bool)static_QUType_bool.get(_o+1)); break; |
---|
| 154 | case 9: toggleRepresentation((bool)static_QUType_bool.get(_o+1)); break; |
---|
| 155 | case 10: toggleBackground((bool)static_QUType_bool.get(_o+1)); break; |
---|
| 156 | case 11: toggleTransparency((bool)static_QUType_bool.get(_o+1)); break; |
---|
| 157 | case 12: toggleAntialiasing((bool)static_QUType_bool.get(_o+1)); break; |
---|
| 158 | case 13: toggleHaloing((bool)static_QUType_bool.get(_o+1)); break; |
---|
| 159 | case 14: toggleAux((bool)static_QUType_bool.get(_o+1)); break; |
---|
| 160 | case 15: toggleFullScreen((bool)static_QUType_bool.get(_o+1)); break; |
---|
| 161 | case 16: dialogClosed(); break; |
---|
| 162 | default: |
---|
| 163 | return QObject::qt_invoke( _id, _o ); |
---|
| 164 | } |
---|
| 165 | return TRUE; |
---|
| 166 | } |
---|
| 167 | |
---|
| 168 | bool G4OpenGLQtViewer::qt_emit( int _id, QUObject* _o ) |
---|
| 169 | { |
---|
| 170 | return QObject::qt_emit(_id,_o); |
---|
| 171 | } |
---|
| 172 | #ifndef QT_NO_PROPERTIES |
---|
| 173 | |
---|
| 174 | bool G4OpenGLQtViewer::qt_property( int id, int f, QVariant* v) |
---|
| 175 | { |
---|
| 176 | return QObject::qt_property( id, f, v); |
---|
| 177 | } |
---|
| 178 | |
---|
| 179 | bool G4OpenGLQtViewer::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; } |
---|
| 180 | #endif // QT_NO_PROPERTIES |
---|
| 181 | |
---|
| 182 | #endif |
---|