[599] | 1 | #if QT_VERSION >= 0x040202 |
---|
| 2 | |
---|
| 3 | /**************************************************************************** |
---|
| 4 | ** Meta object code from reading C++ file 'G4OpenGLQtViewer.hh' |
---|
| 5 | ** |
---|
| 6 | ** Created: Tue Sep 18 17:43:43 2007 |
---|
| 7 | ** by: The Qt Meta Object Compiler version 59 (Qt 4.2.2) |
---|
| 8 | ** |
---|
| 9 | ** WARNING! All changes made in this file will be lost! |
---|
| 10 | *****************************************************************************/ |
---|
| 11 | |
---|
| 12 | #include "../include/G4OpenGLQtViewer.hh" |
---|
| 13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
---|
| 14 | #error "The header file 'G4OpenGLQtViewer.hh' doesn't include <QObject>." |
---|
| 15 | #elif Q_MOC_OUTPUT_REVISION != 59 |
---|
| 16 | #error "This file was generated using the moc from 4.2.2. It" |
---|
| 17 | #error "cannot be used with the include files from this version of Qt." |
---|
| 18 | #error "(The moc has changed too much.)" |
---|
| 19 | #endif |
---|
| 20 | |
---|
| 21 | static const uint qt_meta_data_G4OpenGLQtViewer[] = { |
---|
| 22 | |
---|
| 23 | // content: |
---|
| 24 | 1, // revision |
---|
| 25 | 0, // classname |
---|
| 26 | 0, 0, // classinfo |
---|
| 27 | 17, 10, // methods |
---|
| 28 | 0, 0, // properties |
---|
| 29 | 0, 0, // enums/sets |
---|
| 30 | |
---|
| 31 | // slots: signature, parameters, type, tag, flags |
---|
| 32 | 17, 42, 42, 42, 0x08, |
---|
| 33 | 43, 42, 42, 42, 0x08, |
---|
| 34 | 70, 42, 42, 42, 0x08, |
---|
| 35 | 100, 42, 42, 42, 0x08, |
---|
| 36 | 134, 42, 42, 42, 0x08, |
---|
| 37 | 156, 42, 42, 42, 0x08, |
---|
| 38 | 171, 42, 42, 42, 0x08, |
---|
| 39 | 189, 42, 42, 42, 0x08, |
---|
| 40 | 214, 42, 42, 42, 0x08, |
---|
| 41 | 238, 42, 42, 42, 0x08, |
---|
| 42 | 265, 42, 42, 42, 0x08, |
---|
| 43 | 288, 42, 42, 42, 0x08, |
---|
| 44 | 313, 42, 42, 42, 0x08, |
---|
| 45 | 338, 42, 42, 42, 0x08, |
---|
| 46 | 358, 42, 42, 42, 0x08, |
---|
| 47 | 374, 42, 42, 42, 0x08, |
---|
| 48 | 397, 42, 42, 42, 0x08, |
---|
| 49 | |
---|
| 50 | 0 // eod |
---|
| 51 | }; |
---|
| 52 | |
---|
| 53 | static const char qt_meta_stringdata_G4OpenGLQtViewer[] = { |
---|
| 54 | "G4OpenGLQtViewer\0actionDrawingWireframe()\0" |
---|
| 55 | "\0actionDrawingLineRemoval()\0" |
---|
| 56 | "actionDrawingSurfaceRemoval()\0" |
---|
| 57 | "actionDrawingLineSurfaceRemoval()\0" |
---|
| 58 | "actionControlPanels()\0actionExitG4()\0" |
---|
| 59 | "actionCreateEPS()\0toggleDrawingAction(int)\0" |
---|
| 60 | "toggleMouseAction(bool)\0" |
---|
| 61 | "toggleRepresentation(bool)\0" |
---|
| 62 | "toggleBackground(bool)\0toggleTransparency(bool)\0" |
---|
| 63 | "toggleAntialiasing(bool)\0toggleHaloing(bool)\0" |
---|
| 64 | "toggleAux(bool)\0toggleFullScreen(bool)\0" |
---|
| 65 | "dialogClosed()\0" |
---|
| 66 | }; |
---|
| 67 | |
---|
| 68 | const QMetaObject G4OpenGLQtViewer::staticMetaObject = { |
---|
| 69 | { &QObject::staticMetaObject, qt_meta_stringdata_G4OpenGLQtViewer, |
---|
| 70 | qt_meta_data_G4OpenGLQtViewer, 0 } |
---|
| 71 | }; |
---|
| 72 | |
---|
| 73 | const QMetaObject *G4OpenGLQtViewer::metaObject() const |
---|
| 74 | { |
---|
| 75 | return &staticMetaObject; |
---|
| 76 | } |
---|
| 77 | |
---|
| 78 | void *G4OpenGLQtViewer::qt_metacast(const char *_clname) |
---|
| 79 | { |
---|
| 80 | if (!_clname) return 0; |
---|
| 81 | if (!strcmp(_clname, qt_meta_stringdata_G4OpenGLQtViewer)) |
---|
| 82 | return static_cast<void*>(const_cast<G4OpenGLQtViewer*>(this)); |
---|
| 83 | if (!strcmp(_clname, "G4OpenGLViewer")) |
---|
| 84 | return static_cast<G4OpenGLViewer*>(const_cast<G4OpenGLQtViewer*>(this)); |
---|
| 85 | return QObject::qt_metacast(_clname); |
---|
| 86 | } |
---|
| 87 | |
---|
| 88 | int G4OpenGLQtViewer::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
---|
| 89 | { |
---|
| 90 | _id = QObject::qt_metacall(_c, _id, _a); |
---|
| 91 | if (_id < 0) |
---|
| 92 | return _id; |
---|
| 93 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
| 94 | switch (_id) { |
---|
| 95 | case 0: actionDrawingWireframe(); break; |
---|
| 96 | case 1: actionDrawingLineRemoval(); break; |
---|
| 97 | case 2: actionDrawingSurfaceRemoval(); break; |
---|
| 98 | case 3: actionDrawingLineSurfaceRemoval(); break; |
---|
| 99 | case 4: actionControlPanels(); break; |
---|
| 100 | case 5: actionExitG4(); break; |
---|
| 101 | case 6: actionCreateEPS(); break; |
---|
| 102 | case 7: toggleDrawingAction((*reinterpret_cast< int(*)>(_a[1]))); break; |
---|
| 103 | case 8: toggleMouseAction((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
| 104 | case 9: toggleRepresentation((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
| 105 | case 10: toggleBackground((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
| 106 | case 11: toggleTransparency((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
| 107 | case 12: toggleAntialiasing((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
| 108 | case 13: toggleHaloing((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
| 109 | case 14: toggleAux((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
| 110 | case 15: toggleFullScreen((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
| 111 | case 16: dialogClosed(); break; |
---|
| 112 | } |
---|
| 113 | _id -= 17; |
---|
| 114 | } |
---|
| 115 | return _id; |
---|
| 116 | } |
---|
| 117 | #endif |
---|