[514] | 1 | /**************************************************************************** |
---|
| 2 | ** Meta object code from reading C++ file 'G4UIQt.hh' |
---|
| 3 | ** |
---|
[577] | 4 | ** Created: Mon Sep 17 14:28:15 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 |
---|
[577] | 25 | 8, 10, // methods |
---|
[514] | 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, |
---|
[577] | 37 | 126, 175, 31, 31, 0x08, |
---|
| 38 | 177, 31, 31, 31, 0x08, |
---|
| 39 | 196, 31, 31, 31, 0x08, |
---|
[514] | 40 | |
---|
| 41 | 0 // eod |
---|
| 42 | }; |
---|
| 43 | |
---|
| 44 | static const char qt_meta_stringdata_G4UIQt[] = { |
---|
| 45 | "G4UIQt\0myClicked(QString)\0text\0\0" |
---|
[526] | 46 | "ClearButtonCallback()\0CommandEnteredCallback()\0" |
---|
[577] | 47 | "ButtonCallback(QString)\0HelpTreeClicCallback()\0" |
---|
| 48 | "HelpTreeDoubleClicCallback(QTreeWidgetItem*,int)\0" |
---|
| 49 | ",\0ShowHelpCallback()\0CommandHistoryCallback()\0" |
---|
[514] | 50 | }; |
---|
| 51 | |
---|
| 52 | const QMetaObject G4UIQt::staticMetaObject = { |
---|
| 53 | { &QObject::staticMetaObject, qt_meta_stringdata_G4UIQt, |
---|
| 54 | qt_meta_data_G4UIQt, 0 } |
---|
| 55 | }; |
---|
| 56 | |
---|
| 57 | const QMetaObject *G4UIQt::metaObject() const |
---|
| 58 | { |
---|
| 59 | return &staticMetaObject; |
---|
| 60 | } |
---|
| 61 | |
---|
| 62 | void *G4UIQt::qt_metacast(const char *_clname) |
---|
| 63 | { |
---|
| 64 | if (!_clname) return 0; |
---|
| 65 | if (!strcmp(_clname, qt_meta_stringdata_G4UIQt)) |
---|
| 66 | return static_cast<void*>(const_cast<G4UIQt*>(this)); |
---|
| 67 | if (!strcmp(_clname, "G4VBasicShell")) |
---|
| 68 | return static_cast<G4VBasicShell*>(const_cast<G4UIQt*>(this)); |
---|
| 69 | if (!strcmp(_clname, "G4VInteractiveSession")) |
---|
| 70 | return static_cast<G4VInteractiveSession*>(const_cast<G4UIQt*>(this)); |
---|
| 71 | return QObject::qt_metacast(_clname); |
---|
| 72 | } |
---|
| 73 | |
---|
| 74 | int G4UIQt::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
---|
| 75 | { |
---|
| 76 | _id = QObject::qt_metacall(_c, _id, _a); |
---|
| 77 | if (_id < 0) |
---|
| 78 | return _id; |
---|
| 79 | if (_c == QMetaObject::InvokeMetaMethod) { |
---|
| 80 | switch (_id) { |
---|
| 81 | case 0: myClicked((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
---|
[526] | 82 | case 1: ClearButtonCallback(); break; |
---|
| 83 | case 2: CommandEnteredCallback(); break; |
---|
| 84 | case 3: ButtonCallback((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
---|
[577] | 85 | case 4: HelpTreeClicCallback(); break; |
---|
| 86 | case 5: HelpTreeDoubleClicCallback((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; |
---|
| 87 | case 6: ShowHelpCallback(); break; |
---|
| 88 | case 7: CommandHistoryCallback(); break; |
---|
[514] | 89 | } |
---|
[577] | 90 | _id -= 8; |
---|
[514] | 91 | } |
---|
| 92 | return _id; |
---|
| 93 | } |
---|
| 94 | |
---|
| 95 | // SIGNAL 0 |
---|
| 96 | void G4UIQt::myClicked(const QString & _t1) |
---|
| 97 | { |
---|
| 98 | void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; |
---|
| 99 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
---|
| 100 | } |
---|