source: trunk/geant4/visualization/OpenGL/src/G4OpenGLQtExportDialog_moc.cc @ 632

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

commit sur geant4

File size: 8.8 KB
Line 
1/****************************************************************************
2** G4OpenGLQtExportDialog meta object code from reading C++ file 'G4OpenGLQtExportDialog.hh'
3**
4** Created: Mon Nov 12 10:36:59 2007
5**      by: The Qt MOC ($Id: G4OpenGLQtExportDialog_moc.cc,v 1.6 2007/11/30 14:47:30 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/G4OpenGLQtExportDialog.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 *G4OpenGLQtExportDialog::className() const
27{
28    return "G4OpenGLQtExportDialog";
29}
30
31QMetaObject *G4OpenGLQtExportDialog::metaObj = 0;
32static QMetaObjectCleanUp cleanUp_G4OpenGLQtExportDialog( "G4OpenGLQtExportDialog", &G4OpenGLQtExportDialog::staticMetaObject );
33
34#ifndef QT_NO_TRANSLATION
35QString G4OpenGLQtExportDialog::tr( const char *s, const char *c )
36{
37    if ( qApp )
38        return qApp->translate( "G4OpenGLQtExportDialog", s, c, QApplication::DefaultCodec );
39    else
40        return QString::fromLatin1( s );
41}
42#ifndef QT_NO_TRANSLATION_UTF8
43QString G4OpenGLQtExportDialog::trUtf8( const char *s, const char *c )
44{
45    if ( qApp )
46        return qApp->translate( "G4OpenGLQtExportDialog", 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* G4OpenGLQtExportDialog::staticMetaObject()
55{
56    if ( metaObj )
57        return metaObj;
58    QMetaObject* parentObject = QDialog::staticMetaObject();
59    static const QUParameter param_slot_0[] = {
60        { 0, &static_QUType_bool, 0, QUParameter::In }
61    };
62    static const QUMethod slot_0 = {"changeSizeBox", 1, param_slot_0 };
63    static const QUParameter param_slot_1[] = {
64        { 0, &static_QUType_QString, 0, QUParameter::In }
65    };
66    static const QUMethod slot_1 = {"textWidthChanged", 1, param_slot_1 };
67    static const QUParameter param_slot_2[] = {
68        { 0, &static_QUType_QString, 0, QUParameter::In }
69    };
70    static const QUMethod slot_2 = {"textHeightChanged", 1, param_slot_2 };
71    static const QMetaData slot_tbl[] = {
72        { "changeSizeBox(bool)", &slot_0, QMetaData::Public },
73        { "textWidthChanged(const QString&)", &slot_1, QMetaData::Public },
74        { "textHeightChanged(const QString&)", &slot_2, QMetaData::Public }
75    };
76    metaObj = QMetaObject::new_metaobject(
77        "G4OpenGLQtExportDialog", parentObject,
78        slot_tbl, 3,
79        0, 0,
80#ifndef QT_NO_PROPERTIES
81        0, 0,
82        0, 0,
83#endif // QT_NO_PROPERTIES
84        0, 0 );
85    cleanUp_G4OpenGLQtExportDialog.setMetaObject( metaObj );
86    return metaObj;
87}
88
89void* G4OpenGLQtExportDialog::qt_cast( const char* clname )
90{
91    if ( !qstrcmp( clname, "G4OpenGLQtExportDialog" ) )
92        return this;
93    return QDialog::qt_cast( clname );
94}
95
96bool G4OpenGLQtExportDialog::qt_invoke( int _id, QUObject* _o )
97{
98    switch ( _id - staticMetaObject()->slotOffset() ) {
99    case 0: changeSizeBox((bool)static_QUType_bool.get(_o+1)); break;
100    case 1: textWidthChanged((const QString&)static_QUType_QString.get(_o+1)); break;
101    case 2: textHeightChanged((const QString&)static_QUType_QString.get(_o+1)); break;
102    default:
103        return QDialog::qt_invoke( _id, _o );
104    }
105    return TRUE;
106}
107
108bool G4OpenGLQtExportDialog::qt_emit( int _id, QUObject* _o )
109{
110    return QDialog::qt_emit(_id,_o);
111}
112#ifndef QT_NO_PROPERTIES
113
114bool G4OpenGLQtExportDialog::qt_property( int id, int f, QVariant* v)
115{
116    return QDialog::qt_property( id, f, v);
117}
118
119bool G4OpenGLQtExportDialog::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; }
120#endif // QT_NO_PROPERTIES
121
122#endif
123#endif
124
125
126#if QT_VERSION >= 0x040000
127#if QT_VERSION < 0x040200
128/****************************************************************************
129** Meta object code from reading C++ file 'G4OpenGLQtExportDialog.hh'
130**
131** Created: jeu. 22. nov. 12:25:13 2007
132**      by: The Qt Meta Object Compiler version 58 (Qt 4.0.1)
133**
134** WARNING! All changes made in this file will be lost!
135*****************************************************************************/
136
137#include "../include/G4OpenGLQtExportDialog.hh"
138#if !defined(Q_MOC_OUTPUT_REVISION)
139#error "The header file 'G4OpenGLQtExportDialog.hh' doesn't include <QObject>."
140#elif Q_MOC_OUTPUT_REVISION != 58
141#error "This file was generated using the moc from 4.0.1. It"
142#error "cannot be used with the include files from this version of Qt."
143#error "(The moc has changed too much.)"
144#endif
145
146static const uint qt_meta_data_G4OpenGLQtExportDialog[] = {
147
148 // content:
149       1,       // revision
150       0,       // classname
151       0,    0, // classinfo
152       3,   10, // methods
153       0,    0, // properties
154       0,    0, // enums/sets
155
156 // slots: signature, parameters, type, tag, flags
157      24,   23,   23,   23, 0x0a,
158      44,   23,   23,   23, 0x0a,
159      70,   23,   23,   23, 0x0a,
160
161       0        // eod
162};
163
164static const char qt_meta_stringdata_G4OpenGLQtExportDialog[] = {
165    "G4OpenGLQtExportDialog\0\0changeSizeBox(bool)\0"
166    "textWidthChanged(QString)\0textHeightChanged(QString)\0"
167};
168
169const QMetaObject G4OpenGLQtExportDialog::staticMetaObject = {
170    { &QDialog::staticMetaObject, qt_meta_stringdata_G4OpenGLQtExportDialog,
171      qt_meta_data_G4OpenGLQtExportDialog, 0 }
172};
173
174const QMetaObject *G4OpenGLQtExportDialog::metaObject() const
175{
176    return &staticMetaObject;
177}
178
179void *G4OpenGLQtExportDialog::qt_metacast(const char *_clname)
180{
181    if (!_clname) return 0;
182    if (!strcmp(_clname, qt_meta_stringdata_G4OpenGLQtExportDialog))
183        return static_cast<void*>(const_cast<G4OpenGLQtExportDialog*>(this));
184    return QDialog::qt_metacast(_clname);
185}
186
187int G4OpenGLQtExportDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
188{
189    _id = QDialog::qt_metacall(_c, _id, _a);
190    if (_id < 0)
191        return _id;
192    if (_c == QMetaObject::InvokeMetaMethod) {
193        switch (_id) {
194        case 0: changeSizeBox(*(bool*)_a[1]); break;
195        case 1: textWidthChanged(*(QString*)_a[1]); break;
196        case 2: textHeightChanged(*(QString*)_a[1]); break;
197        }
198        _id -= 3;
199    }
200    return _id;
201}
202
203#else
204
205/****************************************************************************
206** Meta object code from reading C++ file 'G4OpenGLQtExportDialog.hh'
207**
208** Created: Fri Sep 28 12:35:41 2007
209**      by: The Qt Meta Object Compiler version 59 (Qt 4.2.2)
210**
211** WARNING! All changes made in this file will be lost!
212*****************************************************************************/
213
214
215
216#include "../include/G4OpenGLQtExportDialog.hh"
217#if !defined(Q_MOC_OUTPUT_REVISION)
218#error "The header file 'G4OpenGLQtExportDialog.hh' doesn't include <QObject>."
219#elif Q_MOC_OUTPUT_REVISION != 59
220#error "This file was generated using the moc from 4.2.2. It"
221#error "cannot be used with the include files from this version of Qt."
222#error "(The moc has changed too much.)"
223#endif
224
225static const uint qt_meta_data_G4OpenGLQtExportDialog[] = {
226
227 // content:
228       1,       // revision
229       0,       // classname
230       0,    0, // classinfo
231       3,   10, // methods
232       0,    0, // properties
233       0,    0, // enums/sets
234
235 // slots: signature, parameters, type, tag, flags
236      23,   43,   43,   43, 0x0a,
237      44,   43,   43,   43, 0x0a,
238      70,   43,   43,   43, 0x0a,
239
240       0        // eod
241};
242
243static const char qt_meta_stringdata_G4OpenGLQtExportDialog[] = {
244    "G4OpenGLQtExportDialog\0changeSizeBox(bool)\0"
245    "\0textWidthChanged(QString)\0"
246    "textHeightChanged(QString)\0"
247};
248
249const QMetaObject G4OpenGLQtExportDialog::staticMetaObject = {
250    { &QDialog::staticMetaObject, qt_meta_stringdata_G4OpenGLQtExportDialog,
251      qt_meta_data_G4OpenGLQtExportDialog, 0 }
252};
253
254const QMetaObject *G4OpenGLQtExportDialog::metaObject() const
255{
256    return &staticMetaObject;
257}
258
259void *G4OpenGLQtExportDialog::qt_metacast(const char *_clname)
260{
261    if (!_clname) return 0;
262    if (!strcmp(_clname, qt_meta_stringdata_G4OpenGLQtExportDialog))
263        return static_cast<void*>(const_cast<G4OpenGLQtExportDialog*>(this));
264    return QDialog::qt_metacast(_clname);
265}
266
267int G4OpenGLQtExportDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
268{
269    _id = QDialog::qt_metacall(_c, _id, _a);
270    if (_id < 0)
271        return _id;
272    if (_c == QMetaObject::InvokeMetaMethod) {
273        switch (_id) {
274        case 0: changeSizeBox((*reinterpret_cast< bool(*)>(_a[1]))); break;
275        case 1: textWidthChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
276        case 2: textHeightChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
277        }
278        _id -= 3;
279    }
280    return _id;
281}
282#endif
283#endif
Note: See TracBrowser for help on using the repository browser.