/**************************************************************************** ** G4OpenGLQtViewer meta object code from reading C++ file 'G4OpenGLQtViewer.hh' ** ** Created: Mon Nov 12 10:34:24 2007 ** by: The Qt MOC ($Id: G4OpenGLQtViewer_moc_030305.cc,v 1.1 2007/11/12 09:37:25 lgarnier Exp $) ** ** WARNING! All changes made in this file will be lost! *****************************************************************************/ #undef QT_NO_COMPAT #include "../include/G4OpenGLQtViewer.hh" #include #include #if QT_VERSION < 0x040202 #include #if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26) #error "This file was generated using the moc from 3.3.5. It" #error "cannot be used with the include files from this version of Qt." #error "(The moc has changed too much.)" #endif const char *G4OpenGLQtViewer::className() const { return "G4OpenGLQtViewer"; } QMetaObject *G4OpenGLQtViewer::metaObj = 0; static QMetaObjectCleanUp cleanUp_G4OpenGLQtViewer( "G4OpenGLQtViewer", &G4OpenGLQtViewer::staticMetaObject ); #ifndef QT_NO_TRANSLATION QString G4OpenGLQtViewer::tr( const char *s, const char *c ) { if ( qApp ) return qApp->translate( "G4OpenGLQtViewer", s, c, QApplication::DefaultCodec ); else return QString::fromLatin1( s ); } #ifndef QT_NO_TRANSLATION_UTF8 QString G4OpenGLQtViewer::trUtf8( const char *s, const char *c ) { if ( qApp ) return qApp->translate( "G4OpenGLQtViewer", s, c, QApplication::UnicodeUTF8 ); else return QString::fromUtf8( s ); } #endif // QT_NO_TRANSLATION_UTF8 #endif // QT_NO_TRANSLATION QMetaObject* G4OpenGLQtViewer::staticMetaObject() { if ( metaObj ) return metaObj; QMetaObject* parentObject = QObject::staticMetaObject(); static const QUMethod slot_0 = {"actionDrawingWireframe", 0, 0 }; static const QUMethod slot_1 = {"actionDrawingLineRemoval", 0, 0 }; static const QUMethod slot_2 = {"actionDrawingSurfaceRemoval", 0, 0 }; static const QUMethod slot_3 = {"actionDrawingLineSurfaceRemoval", 0, 0 }; static const QUMethod slot_4 = {"actionControlPanels", 0, 0 }; static const QUMethod slot_5 = {"actionExitG4", 0, 0 }; static const QUMethod slot_6 = {"actionCreateEPS", 0, 0 }; static const QUParameter param_slot_7[] = { { 0, &static_QUType_int, 0, QUParameter::In } }; static const QUMethod slot_7 = {"toggleDrawingAction", 1, param_slot_7 }; static const QUParameter param_slot_8[] = { { 0, &static_QUType_bool, 0, QUParameter::In } }; static const QUMethod slot_8 = {"toggleMouseAction", 1, param_slot_8 }; static const QUParameter param_slot_9[] = { { 0, &static_QUType_bool, 0, QUParameter::In } }; static const QUMethod slot_9 = {"toggleRepresentation", 1, param_slot_9 }; static const QUParameter param_slot_10[] = { { 0, &static_QUType_bool, 0, QUParameter::In } }; static const QUMethod slot_10 = {"toggleBackground", 1, param_slot_10 }; static const QUParameter param_slot_11[] = { { 0, &static_QUType_bool, 0, QUParameter::In } }; static const QUMethod slot_11 = {"toggleTransparency", 1, param_slot_11 }; static const QUParameter param_slot_12[] = { { 0, &static_QUType_bool, 0, QUParameter::In } }; static const QUMethod slot_12 = {"toggleAntialiasing", 1, param_slot_12 }; static const QUParameter param_slot_13[] = { { 0, &static_QUType_bool, 0, QUParameter::In } }; static const QUMethod slot_13 = {"toggleHaloing", 1, param_slot_13 }; static const QUParameter param_slot_14[] = { { 0, &static_QUType_bool, 0, QUParameter::In } }; static const QUMethod slot_14 = {"toggleAux", 1, param_slot_14 }; static const QUParameter param_slot_15[] = { { 0, &static_QUType_bool, 0, QUParameter::In } }; static const QUMethod slot_15 = {"toggleFullScreen", 1, param_slot_15 }; static const QUMethod slot_16 = {"dialogClosed", 0, 0 }; static const QMetaData slot_tbl[] = { { "actionDrawingWireframe()", &slot_0, QMetaData::Private }, { "actionDrawingLineRemoval()", &slot_1, QMetaData::Private }, { "actionDrawingSurfaceRemoval()", &slot_2, QMetaData::Private }, { "actionDrawingLineSurfaceRemoval()", &slot_3, QMetaData::Private }, { "actionControlPanels()", &slot_4, QMetaData::Private }, { "actionExitG4()", &slot_5, QMetaData::Private }, { "actionCreateEPS()", &slot_6, QMetaData::Private }, { "toggleDrawingAction(int)", &slot_7, QMetaData::Private }, { "toggleMouseAction(bool)", &slot_8, QMetaData::Private }, { "toggleRepresentation(bool)", &slot_9, QMetaData::Private }, { "toggleBackground(bool)", &slot_10, QMetaData::Private }, { "toggleTransparency(bool)", &slot_11, QMetaData::Private }, { "toggleAntialiasing(bool)", &slot_12, QMetaData::Private }, { "toggleHaloing(bool)", &slot_13, QMetaData::Private }, { "toggleAux(bool)", &slot_14, QMetaData::Private }, { "toggleFullScreen(bool)", &slot_15, QMetaData::Private }, { "dialogClosed()", &slot_16, QMetaData::Private } }; metaObj = QMetaObject::new_metaobject( "G4OpenGLQtViewer", parentObject, slot_tbl, 17, 0, 0, #ifndef QT_NO_PROPERTIES 0, 0, 0, 0, #endif // QT_NO_PROPERTIES 0, 0 ); cleanUp_G4OpenGLQtViewer.setMetaObject( metaObj ); return metaObj; } void* G4OpenGLQtViewer::qt_cast( const char* clname ) { if ( !qstrcmp( clname, "G4OpenGLQtViewer" ) ) return this; if ( !qstrcmp( clname, "G4OpenGLViewer" ) ) return (G4OpenGLViewer*)this; return QObject::qt_cast( clname ); } bool G4OpenGLQtViewer::qt_invoke( int _id, QUObject* _o ) { switch ( _id - staticMetaObject()->slotOffset() ) { case 0: actionDrawingWireframe(); break; case 1: actionDrawingLineRemoval(); break; case 2: actionDrawingSurfaceRemoval(); break; case 3: actionDrawingLineSurfaceRemoval(); break; case 4: actionControlPanels(); break; case 5: actionExitG4(); break; case 6: actionCreateEPS(); break; case 7: toggleDrawingAction((int)static_QUType_int.get(_o+1)); break; case 8: toggleMouseAction((bool)static_QUType_bool.get(_o+1)); break; case 9: toggleRepresentation((bool)static_QUType_bool.get(_o+1)); break; case 10: toggleBackground((bool)static_QUType_bool.get(_o+1)); break; case 11: toggleTransparency((bool)static_QUType_bool.get(_o+1)); break; case 12: toggleAntialiasing((bool)static_QUType_bool.get(_o+1)); break; case 13: toggleHaloing((bool)static_QUType_bool.get(_o+1)); break; case 14: toggleAux((bool)static_QUType_bool.get(_o+1)); break; case 15: toggleFullScreen((bool)static_QUType_bool.get(_o+1)); break; case 16: dialogClosed(); break; default: return QObject::qt_invoke( _id, _o ); } return TRUE; } bool G4OpenGLQtViewer::qt_emit( int _id, QUObject* _o ) { return QObject::qt_emit(_id,_o); } #ifndef QT_NO_PROPERTIES bool G4OpenGLQtViewer::qt_property( int id, int f, QVariant* v) { return QObject::qt_property( id, f, v); } bool G4OpenGLQtViewer::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; } #endif // QT_NO_PROPERTIES #endif