[514] | 1 | /**************************************************************************** |
---|
| 2 | ** Meta object code from reading C++ file 'G4UIQt.hh' |
---|
| 3 | ** |
---|
[516] | 4 | ** Created: Tue Jun 19 15:07:52 2007 |
---|
[514] | 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/G4UIQt.hh" |
---|
| 11 | #if !defined(Q_MOC_OUTPUT_REVISION) |
---|
| 12 | #error "The header file 'G4UIQt.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_G4UIQt[] = { |
---|
| 20 | |
---|
| 21 | // content: |
---|
| 22 | 1, // revision |
---|
| 23 | 0, // classname |
---|
| 24 | 0, 0, // classinfo |
---|
| 25 | 6, 10, // methods |
---|
| 26 | 0, 0, // properties |
---|
| 27 | 0, 0, // enums/sets |
---|
| 28 | |
---|
| 29 | // signals: signature, parameters, type, tag, flags |
---|
| 30 | 7, 26, 31, 31, 0x05, |
---|
| 31 | |
---|
| 32 | // slots: signature, parameters, type, tag, flags |
---|
| 33 | 32, 31, 31, 31, 0x08, |
---|
| 34 | 54, 31, 31, 31, 0x08, |
---|
| 35 | 79, 31, 31, 31, 0x08, |
---|
| 36 | 103, 31, 31, 31, 0x08, |
---|
| 37 | 122, 31, 31, 31, 0x08, |
---|
| 38 | |
---|
| 39 | 0 // eod |
---|
| 40 | }; |
---|
| 41 | |
---|
| 42 | static const char qt_meta_stringdata_G4UIQt[] = { |
---|
| 43 | "G4UIQt\0myClicked(QString)\0text\0\0" |
---|
| 44 | "clearButtonCallback()\0commandEnteredCallback()\0" |
---|
| 45 | "buttonCallback(QString)\0helpTreeCallback()\0" |
---|
| 46 | "showHelpCallback()\0" |
---|
| 47 | }; |
---|
| 48 | |
---|
| 49 | const QMetaObject G4UIQt::staticMetaObject = { |
---|
| 50 | { &QObject::staticMetaObject, qt_meta_stringdata_G4UIQt, |
---|
| 51 | qt_meta_data_G4UIQt, 0 } |
---|
| 52 | }; |
---|
| 53 | |
---|
| 54 | const QMetaObject *G4UIQt::metaObject() const |
---|
| 55 | { |
---|
| 56 | return &staticMetaObject; |
---|
| 57 | } |
---|
| 58 | |
---|
| 59 | void *G4UIQt::qt_metacast(const char *_clname) |
---|
| 60 | { |
---|
| 61 | if (!_clname) return 0; |
---|
| 62 | if (!strcmp(_clname, qt_meta_stringdata_G4UIQt)) |
---|
| 63 | return static_cast<void*>(const_cast<G4UIQt*>(this)); |
---|
| 64 | if (!strcmp(_clname, "G4VBasicShell")) |
---|
| 65 | return static_cast<G4VBasicShell*>(const_cast<G4UIQt*>(this)); |
---|
| 66 | if (!strcmp(_clname, "G4VInteractiveSession")) |
---|
| 67 | return static_cast<G4VInteractiveSession*>(const_cast<G4UIQt*>(this)); |
---|
| 68 | return QObject::qt_metacast(_clname); |
---|
| 69 | } |
---|
| 70 | |
---|
| 71 | int G4UIQt::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
---|
| 72 | { |
---|
| 73 | _id = QObject::qt_metacall(_c, _id, _a); |
---|
| 74 | if (_id < 0) |
---|
| 75 | return _id; |
---|
| 76 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
| 77 | switch (_id) { |
---|
| 78 | case 0: myClicked((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
---|
| 79 | case 1: clearButtonCallback(); break; |
---|
| 80 | case 2: commandEnteredCallback(); break; |
---|
| 81 | case 3: buttonCallback((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
---|
| 82 | case 4: helpTreeCallback(); break; |
---|
| 83 | case 5: showHelpCallback(); break; |
---|
| 84 | } |
---|
| 85 | _id -= 6; |
---|
| 86 | } |
---|
| 87 | return _id; |
---|
| 88 | } |
---|
| 89 | |
---|
| 90 | // SIGNAL 0 |
---|
| 91 | void G4UIQt::myClicked(const QString & _t1) |
---|
| 92 | { |
---|
| 93 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; |
---|
| 94 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
---|
| 95 | } |
---|