[607] | 1 | /**************************************************************************** |
---|
| 2 | ** G4OpenGLQtExportDialog meta object code from reading C++ file 'G4OpenGLQtExportDialog.hh' |
---|
| 3 | ** |
---|
| 4 | ** Created: Mon Nov 12 10:36:59 2007 |
---|
[632] | 5 | ** by: The Qt MOC ($Id: G4OpenGLQtExportDialog_moc.cc,v 1.6 2007/11/30 14:47:30 lgarnier Exp $) |
---|
[607] | 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 | |
---|
| 26 | const char *G4OpenGLQtExportDialog::className() const |
---|
| 27 | { |
---|
| 28 | return "G4OpenGLQtExportDialog"; |
---|
| 29 | } |
---|
| 30 | |
---|
| 31 | QMetaObject *G4OpenGLQtExportDialog::metaObj = 0; |
---|
| 32 | static QMetaObjectCleanUp cleanUp_G4OpenGLQtExportDialog( "G4OpenGLQtExportDialog", &G4OpenGLQtExportDialog::staticMetaObject ); |
---|
| 33 | |
---|
| 34 | #ifndef QT_NO_TRANSLATION |
---|
| 35 | QString 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 |
---|
| 43 | QString 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 | |
---|
| 54 | QMetaObject* 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 | |
---|
| 89 | void* G4OpenGLQtExportDialog::qt_cast( const char* clname ) |
---|
| 90 | { |
---|
| 91 | if ( !qstrcmp( clname, "G4OpenGLQtExportDialog" ) ) |
---|
| 92 | return this; |
---|
| 93 | return QDialog::qt_cast( clname ); |
---|
| 94 | } |
---|
| 95 | |
---|
| 96 | bool 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 | |
---|
| 108 | bool G4OpenGLQtExportDialog::qt_emit( int _id, QUObject* _o ) |
---|
| 109 | { |
---|
| 110 | return QDialog::qt_emit(_id,_o); |
---|
| 111 | } |
---|
| 112 | #ifndef QT_NO_PROPERTIES |
---|
| 113 | |
---|
| 114 | bool G4OpenGLQtExportDialog::qt_property( int id, int f, QVariant* v) |
---|
| 115 | { |
---|
| 116 | return QDialog::qt_property( id, f, v); |
---|
| 117 | } |
---|
| 118 | |
---|
| 119 | bool G4OpenGLQtExportDialog::qt_static_property( QObject* , int , int , QVariant* ){ return FALSE; } |
---|
| 120 | #endif // QT_NO_PROPERTIES |
---|
| 121 | |
---|
| 122 | #endif |
---|
| 123 | #endif |
---|
| 124 | |
---|
| 125 | |
---|
[612] | 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 | |
---|
| 146 | static 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 | |
---|
| 164 | static const char qt_meta_stringdata_G4OpenGLQtExportDialog[] = { |
---|
| 165 | "G4OpenGLQtExportDialog\0\0changeSizeBox(bool)\0" |
---|
| 166 | "textWidthChanged(QString)\0textHeightChanged(QString)\0" |
---|
| 167 | }; |
---|
| 168 | |
---|
| 169 | const QMetaObject G4OpenGLQtExportDialog::staticMetaObject = { |
---|
| 170 | { &QDialog::staticMetaObject, qt_meta_stringdata_G4OpenGLQtExportDialog, |
---|
| 171 | qt_meta_data_G4OpenGLQtExportDialog, 0 } |
---|
| 172 | }; |
---|
| 173 | |
---|
| 174 | const QMetaObject *G4OpenGLQtExportDialog::metaObject() const |
---|
| 175 | { |
---|
| 176 | return &staticMetaObject; |
---|
| 177 | } |
---|
| 178 | |
---|
| 179 | void *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 | |
---|
| 187 | int 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 | |
---|
[607] | 205 | /**************************************************************************** |
---|
| 206 | ** Meta object code from reading C++ file 'G4OpenGLQtExportDialog.hh' |
---|
| 207 | ** |
---|
[633] | 208 | ** Created: Mon Dec 3 16:30:26 2007 |
---|
| 209 | ** by: The Qt Meta Object Compiler version 59 (Qt 4.3.0) |
---|
[607] | 210 | ** |
---|
| 211 | ** WARNING! All changes made in this file will be lost! |
---|
| 212 | *****************************************************************************/ |
---|
| 213 | |
---|
| 214 | #include "../include/G4OpenGLQtExportDialog.hh" |
---|
| 215 | #if !defined(Q_MOC_OUTPUT_REVISION) |
---|
| 216 | #error "The header file 'G4OpenGLQtExportDialog.hh' doesn't include <QObject>." |
---|
| 217 | #elif Q_MOC_OUTPUT_REVISION != 59 |
---|
[633] | 218 | #error "This file was generated using the moc from 4.3.0. It" |
---|
[607] | 219 | #error "cannot be used with the include files from this version of Qt." |
---|
| 220 | #error "(The moc has changed too much.)" |
---|
| 221 | #endif |
---|
| 222 | |
---|
| 223 | static const uint qt_meta_data_G4OpenGLQtExportDialog[] = { |
---|
| 224 | |
---|
| 225 | // content: |
---|
| 226 | 1, // revision |
---|
| 227 | 0, // classname |
---|
| 228 | 0, 0, // classinfo |
---|
| 229 | 3, 10, // methods |
---|
| 230 | 0, 0, // properties |
---|
| 231 | 0, 0, // enums/sets |
---|
| 232 | |
---|
| 233 | // slots: signature, parameters, type, tag, flags |
---|
[633] | 234 | 23, 39, 39, 39, 0x0a, |
---|
| 235 | 40, 39, 39, 39, 0x0a, |
---|
| 236 | 66, 39, 39, 39, 0x0a, |
---|
[607] | 237 | |
---|
| 238 | 0 // eod |
---|
| 239 | }; |
---|
| 240 | |
---|
| 241 | static const char qt_meta_stringdata_G4OpenGLQtExportDialog[] = { |
---|
[633] | 242 | "G4OpenGLQtExportDialog\0changeSizeBox()\0" |
---|
[607] | 243 | "\0textWidthChanged(QString)\0" |
---|
| 244 | "textHeightChanged(QString)\0" |
---|
| 245 | }; |
---|
| 246 | |
---|
| 247 | const QMetaObject G4OpenGLQtExportDialog::staticMetaObject = { |
---|
| 248 | { &QDialog::staticMetaObject, qt_meta_stringdata_G4OpenGLQtExportDialog, |
---|
| 249 | qt_meta_data_G4OpenGLQtExportDialog, 0 } |
---|
| 250 | }; |
---|
| 251 | |
---|
| 252 | const QMetaObject *G4OpenGLQtExportDialog::metaObject() const |
---|
| 253 | { |
---|
| 254 | return &staticMetaObject; |
---|
| 255 | } |
---|
| 256 | |
---|
| 257 | void *G4OpenGLQtExportDialog::qt_metacast(const char *_clname) |
---|
| 258 | { |
---|
| 259 | if (!_clname) return 0; |
---|
| 260 | if (!strcmp(_clname, qt_meta_stringdata_G4OpenGLQtExportDialog)) |
---|
[633] | 261 | return static_cast<void*>(const_cast< G4OpenGLQtExportDialog*>(this)); |
---|
[607] | 262 | return QDialog::qt_metacast(_clname); |
---|
| 263 | } |
---|
| 264 | |
---|
| 265 | int G4OpenGLQtExportDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
---|
| 266 | { |
---|
| 267 | _id = QDialog::qt_metacall(_c, _id, _a); |
---|
| 268 | if (_id < 0) |
---|
| 269 | return _id; |
---|
| 270 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
| 271 | switch (_id) { |
---|
[633] | 272 | case 0: changeSizeBox(); break; |
---|
[607] | 273 | case 1: textWidthChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
---|
| 274 | case 2: textHeightChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
---|
| 275 | } |
---|
| 276 | _id -= 3; |
---|
| 277 | } |
---|
| 278 | return _id; |
---|
| 279 | } |
---|
| 280 | #endif |
---|
| 281 | #endif |
---|