00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "../include/G4UIQt.hh"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'G4UIQt.hh' doesn't include <QObject>."
00013 #elif Q_MOC_OUTPUT_REVISION != 59
00014 #error "This file was generated using the moc from 4.2.2. It"
00015 #error "cannot be used with the include files from this version of Qt."
00016 #error "(The moc has changed too much.)"
00017 #endif
00018
00019 static const uint qt_meta_data_G4UIQt[] = {
00020
00021
00022 1,
00023 0,
00024 0, 0,
00025 7, 10,
00026 0, 0,
00027 0, 0,
00028
00029
00030 7, 26, 31, 31, 0x05,
00031
00032
00033 32, 31, 31, 31, 0x08,
00034 54, 31, 31, 31, 0x08,
00035 79, 31, 31, 31, 0x08,
00036 103, 31, 31, 31, 0x08,
00037 122, 31, 31, 31, 0x08,
00038 141, 31, 31, 31, 0x08,
00039
00040 0
00041 };
00042
00043 static const char qt_meta_stringdata_G4UIQt[] = {
00044 "G4UIQt\0myClicked(QString)\0text\0\0"
00045 "clearButtonCallback()\0commandEnteredCallback()\0"
00046 "buttonCallback(QString)\0helpTreeCallback()\0"
00047 "showHelpCallback()\0commandHistoryCallback()\0"
00048 };
00049
00050 const QMetaObject G4UIQt::staticMetaObject = {
00051 { &QObject::staticMetaObject, qt_meta_stringdata_G4UIQt,
00052 qt_meta_data_G4UIQt, 0 }
00053 };
00054
00055 const QMetaObject *G4UIQt::metaObject() const
00056 {
00057 return &staticMetaObject;
00058 }
00059
00060 void *G4UIQt::qt_metacast(const char *_clname)
00061 {
00062 if (!_clname) return 0;
00063 if (!strcmp(_clname, qt_meta_stringdata_G4UIQt))
00064 return static_cast<void*>(const_cast<G4UIQt*>(this));
00065 if (!strcmp(_clname, "G4VBasicShell"))
00066 return static_cast<G4VBasicShell*>(const_cast<G4UIQt*>(this));
00067 if (!strcmp(_clname, "G4VInteractiveSession"))
00068 return static_cast<G4VInteractiveSession*>(const_cast<G4UIQt*>(this));
00069 return QObject::qt_metacast(_clname);
00070 }
00071
00072 int G4UIQt::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00073 {
00074 _id = QObject::qt_metacall(_c, _id, _a);
00075 if (_id < 0)
00076 return _id;
00077 if (_c == QMetaObject::InvokeMetaMethod) {
00078 switch (_id) {
00079 case 0: myClicked((*reinterpret_cast< const QString(*)>(_a[1]))); break;
00080 case 1: clearButtonCallback(); break;
00081 case 2: commandEnteredCallback(); break;
00082 case 3: buttonCallback((*reinterpret_cast< const QString(*)>(_a[1]))); break;
00083 case 4: helpTreeCallback(); break;
00084 case 5: showHelpCallback(); break;
00085 case 6: commandHistoryCallback(); break;
00086 }
00087 _id -= 7;
00088 }
00089 return _id;
00090 }
00091
00092
00093 void G4UIQt::myClicked(const QString & _t1)
00094 {
00095 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00096 QMetaObject::activate(this, &staticMetaObject, 0, _a);
00097 }