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

Last change on this file since 602 was 593, checked in by garnier, 17 years ago

r627@mac-90108: laurentgarnier | 2007-11-09 07:57:42 +0100
modif dans les includes directives

File size: 3.3 KB
Line 
1/****************************************************************************
2** Meta object code from reading C++ file 'G4UIQt.hh'
3**
4** Created: Mon Oct 1 10:59:35 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#ifdef G4UI_BUILD_QT_SESSION
11
12#include "../include/G4UIQt.hh"
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'G4UIQt.hh' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 59
16#error "This file was generated using the moc from 4.2.2. It"
17#error "cannot be used with the include files from this version of Qt."
18#error "(The moc has changed too much.)"
19#endif
20
21static const uint qt_meta_data_G4UIQt[] = {
22
23 // content:
24       1,       // revision
25       0,       // classname
26       0,    0, // classinfo
27       8,   10, // methods
28       0,    0, // properties
29       0,    0, // enums/sets
30
31 // signals: signature, parameters, type, tag, flags
32       7,   26,   31,   31, 0x05,
33
34 // slots: signature, parameters, type, tag, flags
35      32,   31,   31,   31, 0x08,
36      54,   31,   31,   31, 0x08,
37      79,   31,   31,   31, 0x08,
38     103,   31,   31,   31, 0x08,
39     126,  175,   31,   31, 0x08,
40     177,   31,   31,   31, 0x08,
41     196,   31,   31,   31, 0x08,
42
43       0        // eod
44};
45
46static const char qt_meta_stringdata_G4UIQt[] = {
47    "G4UIQt\0myClicked(QString)\0text\0\0"
48    "ClearButtonCallback()\0CommandEnteredCallback()\0"
49    "ButtonCallback(QString)\0HelpTreeClicCallback()\0"
50    "HelpTreeDoubleClicCallback(QTreeWidgetItem*,int)\0"
51    ",\0ShowHelpCallback()\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: ClearButtonCallback(); break;
85        case 2: CommandEnteredCallback(); break;
86        case 3: ButtonCallback((*reinterpret_cast< const QString(*)>(_a[1]))); break;
87        case 4: HelpTreeClicCallback(); break;
88        case 5: HelpTreeDoubleClicCallback((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
89        case 6: ShowHelpCallback(); break;
90        case 7: CommandHistoryCallback(); break;
91        }
92        _id -= 8;
93    }
94    return _id;
95}
96
97// SIGNAL 0
98void G4UIQt::myClicked(const QString & _t1)
99{
100    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
101    QMetaObject::activate(this, &staticMetaObject, 0, _a);
102}
103
104#endif
Note: See TracBrowser for help on using the repository browser.