1 | /**************************************************************************** |
---|
2 | ** Meta object code from reading C++ file 'G4OpenGLQtViewer.hh' |
---|
3 | ** |
---|
4 | ** Created: Fri Dec 7 15:36:04 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 | 16, 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 | |
---|
47 | 0 // eod |
---|
48 | }; |
---|
49 | |
---|
50 | static const char qt_meta_stringdata_G4OpenGLQtViewer[] = { |
---|
51 | "G4OpenGLQtViewer\0actionDrawingWireframe()\0" |
---|
52 | "\0actionDrawingLineRemoval()\0" |
---|
53 | "actionDrawingSurfaceRemoval()\0" |
---|
54 | "actionDrawingLineSurfaceRemoval()\0" |
---|
55 | "actionControlPanels()\0actionExitG4()\0" |
---|
56 | "actionCreateEPS()\0toggleDrawingAction(int)\0" |
---|
57 | "toggleMouseAction(bool)\0" |
---|
58 | "toggleRepresentation(bool)\0" |
---|
59 | "toggleBackground(bool)\0toggleTransparency(bool)\0" |
---|
60 | "toggleAntialiasing(bool)\0toggleHaloing(bool)\0" |
---|
61 | "toggleAux(bool)\0toggleFullScreen(bool)\0" |
---|
62 | }; |
---|
63 | |
---|
64 | const QMetaObject G4OpenGLQtViewer::staticMetaObject = { |
---|
65 | { &QObject::staticMetaObject, qt_meta_stringdata_G4OpenGLQtViewer, |
---|
66 | qt_meta_data_G4OpenGLQtViewer, 0 } |
---|
67 | }; |
---|
68 | |
---|
69 | const QMetaObject *G4OpenGLQtViewer::metaObject() const |
---|
70 | { |
---|
71 | return &staticMetaObject; |
---|
72 | } |
---|
73 | |
---|
74 | void *G4OpenGLQtViewer::qt_metacast(const char *_clname) |
---|
75 | { |
---|
76 | if (!_clname) return 0; |
---|
77 | if (!strcmp(_clname, qt_meta_stringdata_G4OpenGLQtViewer)) |
---|
78 | return static_cast<void*>(const_cast<G4OpenGLQtViewer*>(this)); |
---|
79 | if (!strcmp(_clname, "G4OpenGLViewer")) |
---|
80 | return static_cast<G4OpenGLViewer*>(const_cast<G4OpenGLQtViewer*>(this)); |
---|
81 | return QObject::qt_metacast(_clname); |
---|
82 | } |
---|
83 | |
---|
84 | int G4OpenGLQtViewer::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
---|
85 | { |
---|
86 | _id = QObject::qt_metacall(_c, _id, _a); |
---|
87 | if (_id < 0) |
---|
88 | return _id; |
---|
89 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
90 | switch (_id) { |
---|
91 | case 0: actionDrawingWireframe(); break; |
---|
92 | case 1: actionDrawingLineRemoval(); break; |
---|
93 | case 2: actionDrawingSurfaceRemoval(); break; |
---|
94 | case 3: actionDrawingLineSurfaceRemoval(); break; |
---|
95 | case 4: actionControlPanels(); break; |
---|
96 | case 5: actionExitG4(); break; |
---|
97 | case 6: actionCreateEPS(); break; |
---|
98 | case 7: toggleDrawingAction((*reinterpret_cast< int(*)>(_a[1]))); break; |
---|
99 | case 8: toggleMouseAction((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
100 | case 9: toggleRepresentation((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
101 | case 10: toggleBackground((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
102 | case 11: toggleTransparency((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
103 | case 12: toggleAntialiasing((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
104 | case 13: toggleHaloing((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
105 | case 14: toggleAux((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
106 | case 15: toggleFullScreen((*reinterpret_cast< bool(*)>(_a[1]))); break; |
---|
107 | } |
---|
108 | _id -= 16; |
---|
109 | } |
---|
110 | return _id; |
---|
111 | } |
---|