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

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

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

File size: 6.4 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.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/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/****************************************************************************
127** Meta object code from reading C++ file 'G4OpenGLQtExportDialog.hh'
128**
129** Created: Fri Sep 28 12:35:41 2007
130**      by: The Qt Meta Object Compiler version 59 (Qt 4.2.2)
131**
132** WARNING! All changes made in this file will be lost!
133*****************************************************************************/
134
135#if QT_VERSION >= 0x040000
136
137#ifdef G4VIS_BUILD_OPENGLQT_DRIVER
138
139#include "../include/G4OpenGLQtExportDialog.hh"
140#if !defined(Q_MOC_OUTPUT_REVISION)
141#error "The header file 'G4OpenGLQtExportDialog.hh' doesn't include <QObject>."
142#elif Q_MOC_OUTPUT_REVISION != 59
143#error "This file was generated using the moc from 4.2.2. It"
144#error "cannot be used with the include files from this version of Qt."
145#error "(The moc has changed too much.)"
146#endif
147
148static const uint qt_meta_data_G4OpenGLQtExportDialog[] = {
149
150 // content:
151       1,       // revision
152       0,       // classname
153       0,    0, // classinfo
154       3,   10, // methods
155       0,    0, // properties
156       0,    0, // enums/sets
157
158 // slots: signature, parameters, type, tag, flags
159      23,   43,   43,   43, 0x0a,
160      44,   43,   43,   43, 0x0a,
161      70,   43,   43,   43, 0x0a,
162
163       0        // eod
164};
165
166static const char qt_meta_stringdata_G4OpenGLQtExportDialog[] = {
167    "G4OpenGLQtExportDialog\0changeSizeBox(bool)\0"
168    "\0textWidthChanged(QString)\0"
169    "textHeightChanged(QString)\0"
170};
171
172const QMetaObject G4OpenGLQtExportDialog::staticMetaObject = {
173    { &QDialog::staticMetaObject, qt_meta_stringdata_G4OpenGLQtExportDialog,
174      qt_meta_data_G4OpenGLQtExportDialog, 0 }
175};
176
177const QMetaObject *G4OpenGLQtExportDialog::metaObject() const
178{
179    return &staticMetaObject;
180}
181
182void *G4OpenGLQtExportDialog::qt_metacast(const char *_clname)
183{
184    if (!_clname) return 0;
185    if (!strcmp(_clname, qt_meta_stringdata_G4OpenGLQtExportDialog))
186        return static_cast<void*>(const_cast<G4OpenGLQtExportDialog*>(this));
187    return QDialog::qt_metacast(_clname);
188}
189
190int G4OpenGLQtExportDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
191{
192    _id = QDialog::qt_metacall(_c, _id, _a);
193    if (_id < 0)
194        return _id;
195    if (_c == QMetaObject::InvokeMetaMethod) {
196        switch (_id) {
197        case 0: changeSizeBox((*reinterpret_cast< bool(*)>(_a[1]))); break;
198        case 1: textWidthChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
199        case 2: textHeightChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
200        }
201        _id -= 3;
202    }
203    return _id;
204}
205#endif
206#endif
Note: See TracBrowser for help on using the repository browser.