source: trunk/geant4/interfaces/basic/src/G4UIQt_moc.cc@ 648

Last change on this file since 648 was 648, checked in by garnier, 18 years ago

Correction du ticket #99 et #85

File size: 3.3 KB
Line 
1/****************************************************************************
2** Meta object code from reading C++ file 'G4UIQt.hh'
3**
4** Created: Fri Dec 7 17:04:54 2007
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
19static const uint qt_meta_data_G4UIQt[] = {
20
21 // content:
22 1, // revision
23 0, // classname
24 0, 0, // classinfo
25 9, 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 46, 31, 31, 31, 0x08,
35 68, 31, 31, 31, 0x08,
36 93, 31, 31, 31, 0x08,
37 117, 31, 31, 31, 0x08,
38 140, 31, 31, 31, 0x08,
39 169, 31, 31, 31, 0x08,
40 188, 31, 31, 31, 0x08,
41
42 0 // eod
43};
44
45static const char qt_meta_stringdata_G4UIQt[] = {
46 "G4UIQt\0myClicked(QString)\0text\0\0"
47 "ExitSession()\0ClearButtonCallback()\0"
48 "CommandEnteredCallback()\0"
49 "ButtonCallback(QString)\0HelpTreeClicCallback()\0"
50 "HelpTreeDoubleClicCallback()\0"
51 "ShowHelpCallback()\0CommandHistoryCallback()\0"
52};
53
54const QMetaObject G4UIQt::staticMetaObject = {
55 { &QObject::staticMetaObject, qt_meta_stringdata_G4UIQt,
56 qt_meta_data_G4UIQt, 0 }
57};
58
59const QMetaObject *G4UIQt::metaObject() const
60{
61 return &staticMetaObject;
62}
63
64void *G4UIQt::qt_metacast(const char *_clname)
65{
66 if (!_clname) return 0;
67 if (!strcmp(_clname, qt_meta_stringdata_G4UIQt))
68 return static_cast<void*>(const_cast<G4UIQt*>(this));
69 if (!strcmp(_clname, "G4VBasicShell"))
70 return static_cast<G4VBasicShell*>(const_cast<G4UIQt*>(this));
71 if (!strcmp(_clname, "G4VInteractiveSession"))
72 return static_cast<G4VInteractiveSession*>(const_cast<G4UIQt*>(this));
73 return QObject::qt_metacast(_clname);
74}
75
76int G4UIQt::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
77{
78 _id = QObject::qt_metacall(_c, _id, _a);
79 if (_id < 0)
80 return _id;
81 if (_c == QMetaObject::InvokeMetaMethod) {
82 switch (_id) {
83 case 0: myClicked((*reinterpret_cast< const QString(*)>(_a[1]))); break;
84 case 1: ExitSession(); break;
85 case 2: ClearButtonCallback(); break;
86 case 3: CommandEnteredCallback(); break;
87 case 4: ButtonCallback((*reinterpret_cast< const QString(*)>(_a[1]))); break;
88 case 5: HelpTreeClicCallback(); break;
89 case 6: HelpTreeDoubleClicCallback(); break;
90 case 7: ShowHelpCallback(); break;
91 case 8: CommandHistoryCallback(); break;
92 }
93 _id -= 9;
94 }
95 return _id;
96}
97
98// SIGNAL 0
99void G4UIQt::myClicked(const QString & _t1)
100{
101 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
102 QMetaObject::activate(this, &staticMetaObject, 0, _a);
103}
Note: See TracBrowser for help on using the repository browser.