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