source: trunk/geant4/visualization/OpenGL/src/G4OpenGLQtViewer_moc.cc @ 609

Last change on this file since 609 was 607, checked in by garnier, 17 years ago

r648@mac-90108: laurentgarnier | 2007-11-15 11:59:17 +0100
fichiers oublies

File size: 11.2 KB
Line 
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.cc,v 1.5 2007/11/14 11:49:00 lgarnier Exp $)
6**
7** WARNING! All changes made in this file will be lost!
8*****************************************************************************/
9
10#ifdef G4VIS_BUILD_OPENGLQT_DRIVER
11
12#undef QT_NO_COMPAT
13#include "../include/G4OpenGLQtViewer.hh"
14#include <qmetaobject.h>
15#include <qapplication.h>
16
17#if QT_VERSION < 0x040000
18
19#include <private/qucomextra_p.h>
20#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)
21#error "This file was generated using the moc from 3.3.5. It"
22#error "cannot be used with the include files from this version of Qt."
23#error "(The moc has changed too much.)"
24#endif
25
26const char *G4OpenGLQtViewer::className() const
27{
28    return "G4OpenGLQtViewer";
29}
30
31QMetaObject *G4OpenGLQtViewer::metaObj = 0;
32static QMetaObjectCleanUp cleanUp_G4OpenGLQtViewer( "G4OpenGLQtViewer", &G4OpenGLQtViewer::staticMetaObject );
33
34#ifndef QT_NO_TRANSLATION
35QString G4OpenGLQtViewer::tr( const char *s, const char *c )
36{
37    if ( qApp )
38        return qApp->translate( "G4OpenGLQtViewer", s, c, QApplication::DefaultCodec );
39    else
40        return QString::fromLatin1( s );
41}
42#ifndef QT_NO_TRANSLATION_UTF8
43QString G4OpenGLQtViewer::trUtf8( const char *s, const char *c )
44{
45    if ( qApp )
46        return qApp->translate( "G4OpenGLQtViewer", s, c, QApplication::UnicodeUTF8 );
47    else
48        return QString::fromUtf8( s );
49}
50#endif // QT_NO_TRANSLATION_UTF8
51
52#endif // QT_NO_TRANSLATION
53
54QMetaObject* G4OpenGLQtViewer::staticMetaObject()
55{
56    if ( metaObj )
57        return metaObj;
58    QMetaObject* parentObject = QObject::staticMetaObject();
59    static const QUMethod slot_0 = {"actionDrawingWireframe", 0, 0 };
60    static const QUMethod slot_1 = {"actionDrawingLineRemoval", 0, 0 };
61    static const QUMethod slot_2 = {"actionDrawingSurfaceRemoval", 0, 0 };
62    static const QUMethod slot_3 = {"actionDrawingLineSurfaceRemoval", 0, 0 };
63    static const QUMethod slot_4 = {"actionControlPanels", 0, 0 };
64    static const QUMethod slot_5 = {"actionExitG4", 0, 0 };
65    static const QUMethod slot_6 = {"actionCreateEPS", 0, 0 };
66    static const QUParameter param_slot_7[] = {
67        { 0, &static_QUType_int, 0, QUParameter::In }
68    };
69    static const QUMethod slot_7 = {"toggleDrawingAction", 1, param_slot_7 };
70    static const QUParameter param_slot_8[] = {
71        { 0, &static_QUType_bool, 0, QUParameter::In }
72    };
73    static const QUMethod slot_8 = {"toggleMouseAction", 1, param_slot_8 };
74    static const QUParameter param_slot_9[] = {
75        { 0, &static_QUType_bool, 0, QUParameter::In }
76    };
77    static const QUMethod slot_9 = {"toggleRepresentation", 1, param_slot_9 };
78    static const QUParameter param_slot_10[] = {
79        { 0, &static_QUType_bool, 0, QUParameter::In }
80    };
81    static const QUMethod slot_10 = {"toggleBackground", 1, param_slot_10 };
82    static const QUParameter param_slot_11[] = {
83        { 0, &static_QUType_bool, 0, QUParameter::In }
84    };
85    static const QUMethod slot_11 = {"toggleTransparency", 1, param_slot_11 };
86    static const QUParameter param_slot_12[] = {
87        { 0, &static_QUType_bool, 0, QUParameter::In }
88    };
89    static const QUMethod slot_12 = {"toggleAntialiasing", 1, param_slot_12 };
90    static const QUParameter param_slot_13[] = {
91        { 0, &static_QUType_bool, 0, QUParameter::In }
92    };
93    static const QUMethod slot_13 = {"toggleHaloing", 1, param_slot_13 };
94    static const QUParameter param_slot_14[] = {
95        { 0, &static_QUType_bool, 0, QUParameter::In }
96    };
97    static const QUMethod slot_14 = {"toggleAux", 1, param_slot_14 };
98    static const QUParameter param_slot_15[] = {
99        { 0, &static_QUType_bool, 0, QUParameter::In }
100    };
101    static const QUMethod slot_15 = {"toggleFullScreen", 1, param_slot_15 };
102    static const QUMethod slot_16 = {"dialogClosed", 0, 0 };
103    static const QMetaData slot_tbl[] = {
104        { "actionDrawingWireframe()", &slot_0, QMetaData::Private },
105        { "actionDrawingLineRemoval()", &slot_1, QMetaData::Private },
106        { "actionDrawingSurfaceRemoval()", &slot_2, QMetaData::Private },
107        { "actionDrawingLineSurfaceRemoval()", &slot_3, QMetaData::Private },
108        { "actionControlPanels()", &slot_4, QMetaData::Private },
109        { "actionExitG4()", &slot_5, QMetaData::Private },
110        { "actionCreateEPS()", &slot_6, QMetaData::Private },
111        { "toggleDrawingAction(int)", &slot_7, QMetaData::Private },
112        { "toggleMouseAction(bool)", &slot_8, QMetaData::Private },
113        { "toggleRepresentation(bool)", &slot_9, QMetaData::Private },
114        { "toggleBackground(bool)", &slot_10, QMetaData::Private },
115        { "toggleTransparency(bool)", &slot_11, QMetaData::Private },
116        { "toggleAntialiasing(bool)", &slot_12, QMetaData::Private },
117        { "toggleHaloing(bool)", &slot_13, QMetaData::Private },
118        { "toggleAux(bool)", &slot_14, QMetaData::Private },
119        { "toggleFullScreen(bool)", &slot_15, QMetaData::Private },
120        { "dialogClosed()", &slot_16, QMetaData::Private }
121    };
122    metaObj = QMetaObject::new_metaobject(
123        "G4OpenGLQtViewer", parentObject,
124        slot_tbl, 17,
125        0, 0,
126#ifndef QT_NO_PROPERTIES
127        0, 0,
128        0, 0,
129#endif // QT_NO_PROPERTIES
130        0, 0 );
131    cleanUp_G4OpenGLQtViewer.setMetaObject( metaObj );
132    return metaObj;
133}
134
135void* G4OpenGLQtViewer::qt_cast( const char* clname )
136{
137    if ( !qstrcmp( clname, "G4OpenGLQtViewer" ) )
138        return this;
139    if ( !qstrcmp( clname, "G4OpenGLViewer" ) )
140        return (G4OpenGLViewer*)this;
141    return QObject::qt_cast( clname );
142}
143
144bool G4OpenGLQtViewer::qt_invoke( int _id, QUObject* _o )
145{
146    switch ( _id - staticMetaObject()->slotOffset() ) {
147    case 0: actionDrawingWireframe(); break;
148    case 1: actionDrawingLineRemoval(); break;
149    case 2: actionDrawingSurfaceRemoval(); break;
150    case 3: actionDrawingLineSurfaceRemoval(); break;
151    case 4: actionControlPanels(); break;
152    case 5: actionExitG4(); break;
153    case 6: actionCreateEPS(); break;
154    case 7: toggleDrawingAction((int)static_QUType_int.get(_o+1)); break;
155    case 8: toggleMouseAction((bool)static_QUType_bool.get(_o+1)); break;
156    case 9: toggleRepresentation((bool)static_QUType_bool.get(_o+1)); break;
157    case 10: toggleBackground((bool)static_QUType_bool.get(_o+1)); break;
158    case 11: toggleTransparency((bool)static_QUType_bool.get(_o+1)); break;
159    case 12: toggleAntialiasing((bool)static_QUType_bool.get(_o+1)); break;
160    case 13: toggleHaloing((bool)static_QUType_bool.get(_o+1)); break;
161    case 14: toggleAux((bool)static_QUType_bool.get(_o+1)); break;
162    case 15: toggleFullScreen((bool)static_QUType_bool.get(_o+1)); break;
163    case 16: dialogClosed(); break;
164    default:
165        return QObject::qt_invoke( _id, _o );
166    }
167    return TRUE;
168}
169
170bool G4OpenGLQtViewer::qt_emit( int _id, QUObject* _o )
171{
172    return QObject::qt_emit(_id,_o);
173}
174#ifndef QT_NO_PROPERTIES
175
176bool G4OpenGLQtViewer::qt_property( int id, int f, QVariant* v)
177{
178    return QObject::qt_property( id, f, v);
179}
180
181bool G4OpenGLQtViewer::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
182#endif // QT_NO_PROPERTIES
183
184#endif
185
186#endif
187
188
189/****************************************************************************
190** Meta object code from reading C++ file 'G4OpenGLQtViewer.hh'
191**
192** Created: Tue Sep 18 17:43:43 2007
193**      by: The Qt Meta Object Compiler version 59 (Qt 4.2.2)
194**
195** WARNING! All changes made in this file will be lost!
196*****************************************************************************/
197
198#if QT_VERSION >= 0x040000
199
200#ifdef G4VIS_BUILD_OPENGLQT_DRIVER
201
202#include "../include/G4OpenGLQtViewer.hh"
203#if !defined(Q_MOC_OUTPUT_REVISION)
204#error "The header file 'G4OpenGLQtViewer.hh' doesn't include <QObject>."
205#elif Q_MOC_OUTPUT_REVISION != 59
206#error "This file was generated using the moc from 4.2.2. It"
207#error "cannot be used with the include files from this version of Qt."
208#error "(The moc has changed too much.)"
209#endif
210
211static const uint qt_meta_data_G4OpenGLQtViewer[] = {
212
213 // content:
214       1,       // revision
215       0,       // classname
216       0,    0, // classinfo
217      17,   10, // methods
218       0,    0, // properties
219       0,    0, // enums/sets
220
221 // slots: signature, parameters, type, tag, flags
222      17,   42,   42,   42, 0x08,
223      43,   42,   42,   42, 0x08,
224      70,   42,   42,   42, 0x08,
225     100,   42,   42,   42, 0x08,
226     134,   42,   42,   42, 0x08,
227     156,   42,   42,   42, 0x08,
228     171,   42,   42,   42, 0x08,
229     189,   42,   42,   42, 0x08,
230     214,   42,   42,   42, 0x08,
231     238,   42,   42,   42, 0x08,
232     265,   42,   42,   42, 0x08,
233     288,   42,   42,   42, 0x08,
234     313,   42,   42,   42, 0x08,
235     338,   42,   42,   42, 0x08,
236     358,   42,   42,   42, 0x08,
237     374,   42,   42,   42, 0x08,
238     397,   42,   42,   42, 0x08,
239
240       0        // eod
241};
242
243static const char qt_meta_stringdata_G4OpenGLQtViewer[] = {
244    "G4OpenGLQtViewer\0actionDrawingWireframe()\0"
245    "\0actionDrawingLineRemoval()\0"
246    "actionDrawingSurfaceRemoval()\0"
247    "actionDrawingLineSurfaceRemoval()\0"
248    "actionControlPanels()\0actionExitG4()\0"
249    "actionCreateEPS()\0toggleDrawingAction(int)\0"
250    "toggleMouseAction(bool)\0"
251    "toggleRepresentation(bool)\0"
252    "toggleBackground(bool)\0toggleTransparency(bool)\0"
253    "toggleAntialiasing(bool)\0toggleHaloing(bool)\0"
254    "toggleAux(bool)\0toggleFullScreen(bool)\0"
255    "dialogClosed()\0"
256};
257
258const QMetaObject G4OpenGLQtViewer::staticMetaObject = {
259    { &QObject::staticMetaObject, qt_meta_stringdata_G4OpenGLQtViewer,
260      qt_meta_data_G4OpenGLQtViewer, 0 }
261};
262
263const QMetaObject *G4OpenGLQtViewer::metaObject() const
264{
265    return &staticMetaObject;
266}
267
268void *G4OpenGLQtViewer::qt_metacast(const char *_clname)
269{
270    if (!_clname) return 0;
271    if (!strcmp(_clname, qt_meta_stringdata_G4OpenGLQtViewer))
272        return static_cast<void*>(const_cast<G4OpenGLQtViewer*>(this));
273    if (!strcmp(_clname, "G4OpenGLViewer"))
274        return static_cast<G4OpenGLViewer*>(const_cast<G4OpenGLQtViewer*>(this));
275    return QObject::qt_metacast(_clname);
276}
277
278int G4OpenGLQtViewer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
279{
280    _id = QObject::qt_metacall(_c, _id, _a);
281    if (_id < 0)
282        return _id;
283    if (_c == QMetaObject::InvokeMetaMethod) {
284        switch (_id) {
285        case 0: actionDrawingWireframe(); break;
286        case 1: actionDrawingLineRemoval(); break;
287        case 2: actionDrawingSurfaceRemoval(); break;
288        case 3: actionDrawingLineSurfaceRemoval(); break;
289        case 4: actionControlPanels(); break;
290        case 5: actionExitG4(); break;
291        case 6: actionCreateEPS(); break;
292        case 7: toggleDrawingAction((*reinterpret_cast< int(*)>(_a[1]))); break;
293        case 8: toggleMouseAction((*reinterpret_cast< bool(*)>(_a[1]))); break;
294        case 9: toggleRepresentation((*reinterpret_cast< bool(*)>(_a[1]))); break;
295        case 10: toggleBackground((*reinterpret_cast< bool(*)>(_a[1]))); break;
296        case 11: toggleTransparency((*reinterpret_cast< bool(*)>(_a[1]))); break;
297        case 12: toggleAntialiasing((*reinterpret_cast< bool(*)>(_a[1]))); break;
298        case 13: toggleHaloing((*reinterpret_cast< bool(*)>(_a[1]))); break;
299        case 14: toggleAux((*reinterpret_cast< bool(*)>(_a[1]))); break;
300        case 15: toggleFullScreen((*reinterpret_cast< bool(*)>(_a[1]))); break;
301        case 16: dialogClosed(); break;
302        }
303        _id -= 17;
304    }
305    return _id;
306}
307#endif
308#endif
Note: See TracBrowser for help on using the repository browser.