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

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

r632@mac-90108: laurentgarnier | 2007-06-15 16:17:56 +0200
bug quand on lance l aide avec -help /vis/- puis -help /gun/-

File size: 3.0 KB
Line 
1/****************************************************************************
2** Meta object code from reading C++ file 'G4UIQt.hh'
3**
4** Created: Fri Jun 15 15:07:55 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       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
42static 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
49const QMetaObject G4UIQt::staticMetaObject = {
50    { &QObject::staticMetaObject, qt_meta_stringdata_G4UIQt,
51      qt_meta_data_G4UIQt, 0 }
52};
53
54const QMetaObject *G4UIQt::metaObject() const
55{
56    return &staticMetaObject;
57}
58
59void *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
71int 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
91void 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}
Note: See TracBrowser for help on using the repository browser.