1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
---|
2 | <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
---|
3 | <title>G4UIQt_moc.cc Source File</title> |
---|
4 | <link href="doxygen.css" rel="stylesheet" type="text/css"> |
---|
5 | </head><body> |
---|
6 | <!-- Generated by Doxygen 1.3.4 --> |
---|
7 | <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div> |
---|
8 | <h1>G4UIQt_moc.cc</h1><a href="G4UIQt__moc_8cc.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">/****************************************************************************</span> |
---|
9 | 00002 <span class="comment">** Meta object code from reading C++ file 'G4UIQt.hh'</span> |
---|
10 | 00003 <span class="comment">**</span> |
---|
11 | 00004 <span class="comment">** Created: Wed Jun 20 18:07:19 2007</span> |
---|
12 | 00005 <span class="comment">** by: The Qt Meta Object Compiler version 59 (Qt 4.2.2)</span> |
---|
13 | 00006 <span class="comment">**</span> |
---|
14 | 00007 <span class="comment">** WARNING! All changes made in this file will be lost!</span> |
---|
15 | 00008 <span class="comment">*****************************************************************************/</span> |
---|
16 | 00009 |
---|
17 | 00010 <span class="preprocessor">#include "../include/G4UIQt.hh"</span> |
---|
18 | 00011 <span class="preprocessor">#if !defined(Q_MOC_OUTPUT_REVISION)</span> |
---|
19 | 00012 <span class="preprocessor"></span><span class="preprocessor">#error "The header file 'G4UIQt.hh' doesn't include <QObject>."</span> |
---|
20 | 00013 <span class="preprocessor"></span><span class="preprocessor">#elif Q_MOC_OUTPUT_REVISION != 59</span> |
---|
21 | 00014 <span class="preprocessor"></span><span class="preprocessor">#error "This file was generated using the moc from 4.2.2. It"</span> |
---|
22 | 00015 <span class="preprocessor"></span><span class="preprocessor">#error "cannot be used with the include files from this version of Qt."</span> |
---|
23 | 00016 <span class="preprocessor"></span><span class="preprocessor">#error "(The moc has changed too much.)"</span> |
---|
24 | 00017 <span class="preprocessor"></span><span class="preprocessor">#endif</span> |
---|
25 | 00018 <span class="preprocessor"></span> |
---|
26 | <a name="l00019"></a><a class="code" href="G4UIQt__moc_8cc.html#a0">00019</a> <span class="keyword">static</span> <span class="keyword">const</span> uint <a class="code" href="G4UIQt__moc_8cc.html#a0">qt_meta_data_G4UIQt</a>[] = { |
---|
27 | 00020 |
---|
28 | 00021 <span class="comment">// content:</span> |
---|
29 | 00022 1, <span class="comment">// revision</span> |
---|
30 | 00023 0, <span class="comment">// classname</span> |
---|
31 | 00024 0, 0, <span class="comment">// classinfo</span> |
---|
32 | 00025 7, 10, <span class="comment">// methods</span> |
---|
33 | 00026 0, 0, <span class="comment">// properties</span> |
---|
34 | 00027 0, 0, <span class="comment">// enums/sets</span> |
---|
35 | 00028 |
---|
36 | 00029 <span class="comment">// signals: signature, parameters, type, tag, flags</span> |
---|
37 | 00030 7, 26, 31, 31, 0x05, |
---|
38 | 00031 |
---|
39 | 00032 <span class="comment">// slots: signature, parameters, type, tag, flags</span> |
---|
40 | 00033 32, 31, 31, 31, 0x08, |
---|
41 | 00034 54, 31, 31, 31, 0x08, |
---|
42 | 00035 79, 31, 31, 31, 0x08, |
---|
43 | 00036 103, 31, 31, 31, 0x08, |
---|
44 | 00037 122, 31, 31, 31, 0x08, |
---|
45 | 00038 141, 31, 31, 31, 0x08, |
---|
46 | 00039 |
---|
47 | 00040 0 <span class="comment">// eod</span> |
---|
48 | 00041 }; |
---|
49 | 00042 |
---|
50 | <a name="l00043"></a><a class="code" href="G4UIQt__moc_8cc.html#a1">00043</a> <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">char</span> <a class="code" href="G4UIQt__moc_8cc.html#a1">qt_meta_stringdata_G4UIQt</a>[] = { |
---|
51 | 00044 <span class="stringliteral">"G4UIQt\0myClicked(QString)\0text\0\0"</span> |
---|
52 | 00045 <span class="stringliteral">"clearButtonCallback()\0commandEnteredCallback()\0"</span> |
---|
53 | 00046 <span class="stringliteral">"buttonCallback(QString)\0helpTreeCallback()\0"</span> |
---|
54 | 00047 <span class="stringliteral">"showHelpCallback()\0commandHistoryCallback()\0"</span> |
---|
55 | 00048 }; |
---|
56 | 00049 |
---|
57 | 00050 <span class="keyword">const</span> QMetaObject G4UIQt::staticMetaObject = { |
---|
58 | 00051 { &QObject::staticMetaObject, <a class="code" href="G4UIQt__moc_8cc.html#a1">qt_meta_stringdata_G4UIQt</a>, |
---|
59 | 00052 <a class="code" href="G4UIQt__moc_8cc.html#a0">qt_meta_data_G4UIQt</a>, 0 } |
---|
60 | 00053 }; |
---|
61 | 00054 |
---|
62 | 00055 <span class="keyword">const</span> QMetaObject *G4UIQt::metaObject()<span class="keyword"> const</span> |
---|
63 | 00056 <span class="keyword"></span>{ |
---|
64 | 00057 <span class="keywordflow">return</span> &staticMetaObject; |
---|
65 | 00058 } |
---|
66 | 00059 |
---|
67 | 00060 <span class="keywordtype">void</span> *G4UIQt::qt_metacast(<span class="keyword">const</span> <span class="keywordtype">char</span> *_clname) |
---|
68 | 00061 { |
---|
69 | 00062 <span class="keywordflow">if</span> (!_clname) <span class="keywordflow">return</span> 0; |
---|
70 | 00063 <span class="keywordflow">if</span> (!strcmp(_clname, qt_meta_stringdata_G4UIQt)) |
---|
71 | 00064 <span class="keywordflow">return</span> static_cast<void*>(const_cast<G4UIQt*>(<span class="keyword">this</span>)); |
---|
72 | 00065 <span class="keywordflow">if</span> (!strcmp(_clname, <span class="stringliteral">"G4VBasicShell"</span>)) |
---|
73 | 00066 <span class="keywordflow">return</span> static_cast<G4VBasicShell*>(const_cast<G4UIQt*>(<span class="keyword">this</span>)); |
---|
74 | 00067 <span class="keywordflow">if</span> (!strcmp(_clname, <span class="stringliteral">"G4VInteractiveSession"</span>)) |
---|
75 | 00068 <span class="keywordflow">return</span> static_cast<G4VInteractiveSession*>(const_cast<G4UIQt*>(<span class="keyword">this</span>)); |
---|
76 | 00069 <span class="keywordflow">return</span> QObject::qt_metacast(_clname); |
---|
77 | 00070 } |
---|
78 | 00071 |
---|
79 | 00072 <span class="keywordtype">int</span> G4UIQt::qt_metacall(QMetaObject::Call _c, <span class="keywordtype">int</span> _id, <span class="keywordtype">void</span> **_a) |
---|
80 | 00073 { |
---|
81 | 00074 _id = QObject::qt_metacall(_c, _id, _a); |
---|
82 | 00075 <span class="keywordflow">if</span> (_id < 0) |
---|
83 | 00076 <span class="keywordflow">return</span> _id; |
---|
84 | 00077 <span class="keywordflow">if</span> (_c == QMetaObject::InvokeMetaMethod) { |
---|
85 | 00078 <span class="keywordflow">switch</span> (_id) { |
---|
86 | 00079 <span class="keywordflow">case</span> 0: <a class="code" href="classG4UIQt.html#l0">myClicked</a>((*reinterpret_cast< const QString(*)>(_a[1]))); <span class="keywordflow">break</span>; |
---|
87 | 00080 <span class="keywordflow">case</span> 1: <a class="code" href="classG4UIQt.html#k0">clearButtonCallback</a>(); <span class="keywordflow">break</span>; |
---|
88 | 00081 <span class="keywordflow">case</span> 2: <a class="code" href="classG4UIQt.html#k1">commandEnteredCallback</a>(); <span class="keywordflow">break</span>; |
---|
89 | 00082 <span class="keywordflow">case</span> 3: <a class="code" href="classG4UIQt.html#k2">buttonCallback</a>((*reinterpret_cast< const QString(*)>(_a[1]))); <span class="keywordflow">break</span>; |
---|
90 | 00083 <span class="keywordflow">case</span> 4: <a class="code" href="classG4UIQt.html#k3">helpTreeCallback</a>(); <span class="keywordflow">break</span>; |
---|
91 | 00084 <span class="keywordflow">case</span> 5: <a class="code" href="classG4UIQt.html#k4">showHelpCallback</a>(); <span class="keywordflow">break</span>; |
---|
92 | 00085 <span class="keywordflow">case</span> 6: <a class="code" href="classG4UIQt.html#k5">commandHistoryCallback</a>(); <span class="keywordflow">break</span>; |
---|
93 | 00086 } |
---|
94 | 00087 _id -= 7; |
---|
95 | 00088 } |
---|
96 | 00089 <span class="keywordflow">return</span> _id; |
---|
97 | 00090 } |
---|
98 | 00091 |
---|
99 | 00092 <span class="comment">// SIGNAL 0</span> |
---|
100 | <a name="l00093"></a><a class="code" href="classG4UIQt.html#l0">00093</a> <span class="keywordtype">void</span> <a class="code" href="classG4UIQt.html#l0">G4UIQt::myClicked</a>(<span class="keyword">const</span> QString & _t1) |
---|
101 | 00094 { |
---|
102 | 00095 <span class="keywordtype">void</span> *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; |
---|
103 | 00096 QMetaObject::activate(<span class="keyword">this</span>, &staticMetaObject, 0, _a); |
---|
104 | 00097 } |
---|
105 | </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jun 22 11:07:02 2007 by |
---|
106 | <a href="http://www.doxygen.org/index.html"> |
---|
107 | <img src="doxygen.png" alt="doxygen" align="middle" border=0 > |
---|
108 | </a>1.3.4 </small></address> |
---|
109 | </body> |
---|
110 | </html> |
---|