summaryrefslogtreecommitdiffstats
path: root/doc/html/commanddialog_8moc_8cpp-source.html
blob: 847ef4d31600aa27b969f33a969dd58d54c6294b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>kshowmail: kshowmail/commanddialog.moc.cpp Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.0 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li><a href="classes.html"><span>Classes</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="dirs.html"><span>Directories</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="dir_656923b733374505e0e2f68ecb68d952.html">kshowmail</a></div>
<h1>commanddialog.moc.cpp</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/****************************************************************************</span>
<a name="l00002"></a>00002 <span class="comment">** CommandDialog meta object code from reading C++ file 'commanddialog.h'</span>
<a name="l00003"></a>00003 <span class="comment">**</span>
<a name="l00004"></a>00004 <span class="comment">** Created: Tue May 15 19:57:53 2007</span>
<a name="l00005"></a>00005 <span class="comment">**      by: The TQt MOC ($Id: commanddialog_8moc_8cpp-source.html,v 1.8 2007/05/16 20:12:00 kuddel-fl Exp $)</span>
<a name="l00006"></a>00006 <span class="comment">**</span>
<a name="l00007"></a>00007 <span class="comment">** WARNING! All changes made in this file will be lost!</span>
<a name="l00008"></a>00008 <span class="comment">*****************************************************************************/</span>
<a name="l00009"></a>00009 
<a name="l00010"></a>00010 <span class="preprocessor">#undef QT_NO_COMPAT</span>
<a name="l00011"></a>00011 <span class="preprocessor"></span><span class="preprocessor">#include "commanddialog.h"</span>
<a name="l00012"></a>00012 <span class="preprocessor">#include &lt;ntqmetaobject.h&gt;</span>
<a name="l00013"></a>00013 <span class="preprocessor">#include &lt;ntqapplication.h&gt;</span>
<a name="l00014"></a>00014 
<a name="l00015"></a>00015 <span class="preprocessor">#include &lt;private/qucomextra_p.h&gt;</span>
<a name="l00016"></a>00016 <span class="preprocessor">#if !defined(Q_MOC_OUTPUT_REVISION) || (Q_MOC_OUTPUT_REVISION != 26)</span>
<a name="l00017"></a>00017 <span class="preprocessor"></span><span class="preprocessor">#error "This file was generated using the moc from 3.3.7. It"</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#error "cannot be used with the include files from this version of TQt."</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span><span class="preprocessor">#error "(The moc has changed too much.)"</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#endif</span>
<a name="l00021"></a>00021 <span class="preprocessor"></span>
<a name="l00022"></a>00022 <span class="keyword">const</span> <span class="keywordtype">char</span> *CommandDialog::className()<span class="keyword"> const</span>
<a name="l00023"></a>00023 <span class="keyword"></span>{
<a name="l00024"></a>00024     <span class="keywordflow">return</span> <span class="stringliteral">"CommandDialog"</span>;
<a name="l00025"></a>00025 }
<a name="l00026"></a>00026 
<a name="l00027"></a>00027 TQMetaObject *CommandDialog::metaObj = 0;
<a name="l00028"></a>00028 <span class="keyword">static</span> TQMetaObjectCleanUp cleanUp_CommandDialog( <span class="stringliteral">"CommandDialog"</span>, &amp;CommandDialog::staticMetaObject );
<a name="l00029"></a>00029 
<a name="l00030"></a>00030 <span class="preprocessor">#ifndef QT_NO_TRANSLATION</span>
<a name="l00031"></a>00031 <span class="preprocessor"></span>TQString CommandDialog::tr( <span class="keyword">const</span> <span class="keywordtype">char</span> *s, <span class="keyword">const</span> <span class="keywordtype">char</span> *c )
<a name="l00032"></a>00032 {
<a name="l00033"></a>00033     <span class="keywordflow">if</span> ( tqApp )
<a name="l00034"></a>00034        <span class="keywordflow">return</span> tqApp-&gt;translate( <span class="stringliteral">"CommandDialog"</span>, s, c, TQApplication::DefaultCodec );
<a name="l00035"></a>00035     <span class="keywordflow">else</span>
<a name="l00036"></a>00036        <span class="keywordflow">return</span> TQString::fromLatin1( s );
<a name="l00037"></a>00037 }
<a name="l00038"></a>00038 <span class="preprocessor">#ifndef QT_NO_TRANSLATION_UTF8</span>
<a name="l00039"></a>00039 <span class="preprocessor"></span>TQString CommandDialog::trUtf8( <span class="keyword">const</span> <span class="keywordtype">char</span> *s, <span class="keyword">const</span> <span class="keywordtype">char</span> *c )
<a name="l00040"></a>00040 {
<a name="l00041"></a>00041     <span class="keywordflow">if</span> ( tqApp )
<a name="l00042"></a>00042        <span class="keywordflow">return</span> tqApp-&gt;translate( <span class="stringliteral">"CommandDialog"</span>, s, c, TQApplication::UnicodeUTF8 );
<a name="l00043"></a>00043     <span class="keywordflow">else</span>
<a name="l00044"></a>00044        <span class="keywordflow">return</span> TQString::fromUtf8( s );
<a name="l00045"></a>00045 }
<a name="l00046"></a>00046 <span class="preprocessor">#endif // QT_NO_TRANSLATION_UTF8</span>
<a name="l00047"></a>00047 <span class="preprocessor"></span>
<a name="l00048"></a>00048 <span class="preprocessor">#endif // QT_NO_TRANSLATION</span>
<a name="l00049"></a>00049 <span class="preprocessor"></span>
<a name="l00050"></a>00050 TQMetaObject* CommandDialog::staticMetaObject()
<a name="l00051"></a>00051 {
<a name="l00052"></a>00052     <span class="keywordflow">if</span> ( metaObj )
<a name="l00053"></a>00053        <span class="keywordflow">return</span> metaObj;
<a name="l00054"></a>00054     TQMetaObject* parentObject = CommandDlg::staticMetaObject();
<a name="l00055"></a>00055     <span class="keyword">static</span> <span class="keyword">const</span> TQUMethod slot_0 = {<span class="stringliteral">"slotAdd"</span>, 0, 0 };
<a name="l00056"></a>00056     <span class="keyword">static</span> <span class="keyword">const</span> TQUMethod slot_1 = {<span class="stringliteral">"slotEdit"</span>, 0, 0 };
<a name="l00057"></a>00057     <span class="keyword">static</span> <span class="keyword">const</span> TQUMethod slot_2 = {<span class="stringliteral">"slotCopy"</span>, 0, 0 };
<a name="l00058"></a>00058     <span class="keyword">static</span> <span class="keyword">const</span> TQUMethod slot_3 = {<span class="stringliteral">"slotDelete"</span>, 0, 0 };
<a name="l00059"></a>00059     <span class="keyword">static</span> <span class="keyword">const</span> TQUMethod slot_4 = {<span class="stringliteral">"slotOk"</span>, 0, 0 };
<a name="l00060"></a>00060     <span class="keyword">static</span> <span class="keyword">const</span> TQUParameter param_slot_5[] = {
<a name="l00061"></a>00061        { 0, &amp;static_QUType_int, 0, TQUParameter::In }
<a name="l00062"></a>00062     };
<a name="l00063"></a>00063     <span class="keyword">static</span> <span class="keyword">const</span> TQUMethod slot_5 = {<span class="stringliteral">"slotCommandActivated"</span>, 1, param_slot_5 };
<a name="l00064"></a>00064     <span class="keyword">static</span> <span class="keyword">const</span> TQMetaData slot_tbl[] = {
<a name="l00065"></a>00065        { <span class="stringliteral">"slotAdd()"</span>, &amp;slot_0, TQMetaData::Private },
<a name="l00066"></a>00066        { <span class="stringliteral">"slotEdit()"</span>, &amp;slot_1, TQMetaData::Private },
<a name="l00067"></a>00067        { <span class="stringliteral">"slotCopy()"</span>, &amp;slot_2, TQMetaData::Private },
<a name="l00068"></a>00068        { <span class="stringliteral">"slotDelete()"</span>, &amp;slot_3, TQMetaData::Private },
<a name="l00069"></a>00069        { <span class="stringliteral">"slotOk()"</span>, &amp;slot_4, TQMetaData::Private },
<a name="l00070"></a>00070        { <span class="stringliteral">"slotCommandActivated(int)"</span>, &amp;slot_5, TQMetaData::Private }
<a name="l00071"></a>00071     };
<a name="l00072"></a>00072     metaObj = TQMetaObject::new_metaobject(
<a name="l00073"></a>00073        <span class="stringliteral">"CommandDialog"</span>, parentObject,
<a name="l00074"></a>00074        slot_tbl, 6,
<a name="l00075"></a>00075        0, 0,
<a name="l00076"></a>00076 #ifndef QT_NO_PROPERTIES
<a name="l00077"></a>00077        0, 0,
<a name="l00078"></a>00078        0, 0,
<a name="l00079"></a>00079 #endif <span class="comment">// QT_NO_PROPERTIES</span>
<a name="l00080"></a>00080        0, 0 );
<a name="l00081"></a>00081     cleanUp_CommandDialog.setMetaObject( metaObj );
<a name="l00082"></a>00082     <span class="keywordflow">return</span> metaObj;
<a name="l00083"></a>00083 }
<a name="l00084"></a>00084 
<a name="l00085"></a>00085 <span class="keywordtype">void</span>* CommandDialog::tqt_cast( <span class="keyword">const</span> <span class="keywordtype">char</span>* clname )
<a name="l00086"></a>00086 {
<a name="l00087"></a>00087     <span class="keywordflow">if</span> ( !qstrcmp( clname, <span class="stringliteral">"CommandDialog"</span> ) )
<a name="l00088"></a>00088        <span class="keywordflow">return</span> <span class="keyword">this</span>;
<a name="l00089"></a>00089     <span class="keywordflow">return</span> CommandDlg::tqt_cast( clname );
<a name="l00090"></a>00090 }
<a name="l00091"></a>00091 
<a name="l00092"></a>00092 <span class="keywordtype">bool</span> CommandDialog::tqt_invoke( <span class="keywordtype">int</span> _id, TQUObject* _o )
<a name="l00093"></a>00093 {
<a name="l00094"></a>00094     <span class="keywordflow">switch</span> ( _id - staticMetaObject()-&gt;slotOffset() ) {
<a name="l00095"></a>00095     <span class="keywordflow">case</span> 0: <a class="code" href="classCommandDialog.html#dda22468a397da253b53f5e6fb355e51">slotAdd</a>(); <span class="keywordflow">break</span>;
<a name="l00096"></a>00096     <span class="keywordflow">case</span> 1: <a class="code" href="classCommandDialog.html#fb379bb2e58af29cb4a41192d09baa5c">slotEdit</a>(); <span class="keywordflow">break</span>;
<a name="l00097"></a>00097     <span class="keywordflow">case</span> 2: <a class="code" href="classCommandDialog.html#8677e258307ae6388b27cb904657c544">slotCopy</a>(); <span class="keywordflow">break</span>;
<a name="l00098"></a>00098     <span class="keywordflow">case</span> 3: <a class="code" href="classCommandDialog.html#cab1d5db08aac54c1adf59462a3c2ecb">slotDelete</a>(); <span class="keywordflow">break</span>;
<a name="l00099"></a>00099     <span class="keywordflow">case</span> 4: <a class="code" href="classCommandDialog.html#0dafa016ff6fd4f2273274c0c90f309c">slotOk</a>(); <span class="keywordflow">break</span>;
<a name="l00100"></a>00100     <span class="keywordflow">case</span> 5: <a class="code" href="classCommandDialog.html#cd99b824ab0b9db86f17ec4292665251">slotCommandActivated</a>((<span class="keywordtype">int</span>)static_QUType_int.get(_o+1)); <span class="keywordflow">break</span>;
<a name="l00101"></a>00101     <span class="keywordflow">default</span>:
<a name="l00102"></a>00102        <span class="keywordflow">return</span> CommandDlg::tqt_invoke( _id, _o );
<a name="l00103"></a>00103     }
<a name="l00104"></a>00104     <span class="keywordflow">return</span> TRUE;
<a name="l00105"></a>00105 }
<a name="l00106"></a>00106 
<a name="l00107"></a>00107 <span class="keywordtype">bool</span> CommandDialog::tqt_emit( <span class="keywordtype">int</span> _id, TQUObject* _o )
<a name="l00108"></a>00108 {
<a name="l00109"></a>00109     <span class="keywordflow">return</span> CommandDlg::tqt_emit(_id,_o);
<a name="l00110"></a>00110 }
<a name="l00111"></a>00111 <span class="preprocessor">#ifndef QT_NO_PROPERTIES</span>
<a name="l00112"></a>00112 <span class="preprocessor"></span>
<a name="l00113"></a>00113 <span class="keywordtype">bool</span> CommandDialog::tqt_property( <span class="keywordtype">int</span> <span class="keywordtype">id</span>, <span class="keywordtype">int</span> f, TQVariant* v)
<a name="l00114"></a>00114 {
<a name="l00115"></a>00115     <span class="keywordflow">return</span> CommandDlg::tqt_property( <span class="keywordtype">id</span>, f, v);
<a name="l00116"></a>00116 }
<a name="l00117"></a>00117 
<a name="l00118"></a>00118 <span class="keywordtype">bool</span> CommandDialog::tqt_static_property( TQObject* , <span class="keywordtype">int</span> , <span class="keywordtype">int</span> , TQVariant* ){ <span class="keywordflow">return</span> FALSE; }
<a name="l00119"></a>00119 <span class="preprocessor">#endif // QT_NO_PROPERTIES</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Wed May 16 21:15:18 2007 for kshowmail by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address>
</body>
</html>