summaryrefslogtreecommitdiffstats
path: root/doc/html/CommandDlg_8cpp-source.html
blob: d1c77e081b95461e97cadfcaab4a0c25d4e92849 (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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<!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/CommandDlg.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>CommandDlg.cpp</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#include &lt;kdialog.h&gt;</span>
<a name="l00002"></a>00002 <span class="preprocessor">#include &lt;klocale.h&gt;</span>
<a name="l00003"></a>00003 <span class="comment">/****************************************************************************</span>
<a name="l00004"></a>00004 <span class="comment">** Form implementation generated from reading ui file '/home/kuddel/Daten/Documents/programmieren/kshowmail/kshowmail/kshowmail/CommandDlg.ui'</span>
<a name="l00005"></a>00005 <span class="comment">**</span>
<a name="l00006"></a>00006 <span class="comment">** Created: Di Mai 15 19:57:53 2007</span>
<a name="l00007"></a>00007 <span class="comment">**      by: The User Interface Compiler ($Id: CommandDlg_8cpp-source.html,v 1.8 2007/05/16 20:11:59 kuddel-fl Exp $)</span>
<a name="l00008"></a>00008 <span class="comment">**</span>
<a name="l00009"></a>00009 <span class="comment">** WARNING! All changes made in this file will be lost!</span>
<a name="l00010"></a>00010 <span class="comment">****************************************************************************/</span>
<a name="l00011"></a>00011 
<a name="l00012"></a>00012 <span class="preprocessor">#include "CommandDlg.h"</span>
<a name="l00013"></a>00013 
<a name="l00014"></a>00014 <span class="preprocessor">#include &lt;qvariant.h&gt;</span>
<a name="l00015"></a>00015 <span class="preprocessor">#include &lt;qpushbutton.h&gt;</span>
<a name="l00016"></a>00016 <span class="preprocessor">#include &lt;qgroupbox.h&gt;</span>
<a name="l00017"></a>00017 <span class="preprocessor">#include &lt;qcombobox.h&gt;</span>
<a name="l00018"></a>00018 <span class="preprocessor">#include &lt;qlayout.h&gt;</span>
<a name="l00019"></a>00019 <span class="preprocessor">#include &lt;qtooltip.h&gt;</span>
<a name="l00020"></a>00020 <span class="preprocessor">#include &lt;qwhatsthis.h&gt;</span>
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 <span class="comment">/*</span>
<a name="l00023"></a>00023 <span class="comment"> *  Constructs a CommandDlg as a child of 'parent', with the</span>
<a name="l00024"></a>00024 <span class="comment"> *  name 'name' and widget flags set to 'f'.</span>
<a name="l00025"></a>00025 <span class="comment"> *</span>
<a name="l00026"></a>00026 <span class="comment"> *  The dialog will by default be modeless, unless you set 'modal' to</span>
<a name="l00027"></a>00027 <span class="comment"> *  TRUE to construct a modal dialog.</span>
<a name="l00028"></a>00028 <span class="comment"> */</span>
<a name="l00029"></a><a class="code" href="classCommandDlg.html#00435683972414b1f2ca8bcb9e1dbc91">00029</a> <a class="code" href="classCommandDlg.html#00435683972414b1f2ca8bcb9e1dbc91">CommandDlg::CommandDlg</a>( QWidget* parent, <span class="keyword">const</span> <span class="keywordtype">char</span>* name, <span class="keywordtype">bool</span> modal, WFlags fl )
<a name="l00030"></a>00030     : QDialog( parent, name, modal, fl )
<a name="l00031"></a>00031 {
<a name="l00032"></a>00032     <span class="keywordflow">if</span> ( !name )
<a name="l00033"></a>00033        setName( <span class="stringliteral">"CommandDlg"</span> );
<a name="l00034"></a>00034     setSizeGripEnabled( FALSE );
<a name="l00035"></a>00035     <a class="code" href="classCommandDlg.html#f4d0781c175dda013e4eb5d512edf6ac">CommandDlgLayout</a> = <span class="keyword">new</span> QGridLayout( <span class="keyword">this</span>, 1, 1, 11, 6, <span class="stringliteral">"CommandDlgLayout"</span>); 
<a name="l00036"></a>00036 
<a name="l00037"></a>00037     <a class="code" href="classCommandDlg.html#bb726a94053a9e1aba96babad4e5c024">Layout6</a> = <span class="keyword">new</span> QHBoxLayout( 0, 0, 6, <span class="stringliteral">"Layout6"</span>); 
<a name="l00038"></a>00038     <a class="code" href="classCommandDlg.html#58c806acab3e0beb26bc507ac23db903">Spacer11</a> = <span class="keyword">new</span> QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
<a name="l00039"></a>00039     <a class="code" href="classCommandDlg.html#bb726a94053a9e1aba96babad4e5c024">Layout6</a>-&gt;addItem( <a class="code" href="classCommandDlg.html#58c806acab3e0beb26bc507ac23db903">Spacer11</a> );
<a name="l00040"></a>00040 
<a name="l00041"></a>00041     <a class="code" href="classCommandDlg.html#15cdabaf87020ef1ead6ecd7e61d1dea">m_ButtonOk</a> = <span class="keyword">new</span> QPushButton( <span class="keyword">this</span>, <span class="stringliteral">"m_ButtonOk"</span> );
<a name="l00042"></a>00042     <a class="code" href="classCommandDlg.html#bb726a94053a9e1aba96babad4e5c024">Layout6</a>-&gt;addWidget( <a class="code" href="classCommandDlg.html#15cdabaf87020ef1ead6ecd7e61d1dea">m_ButtonOk</a> );
<a name="l00043"></a>00043 
<a name="l00044"></a>00044     <a class="code" href="classCommandDlg.html#44506cd25120706b4dabcf50e45a8d70">m_ButtonCancel</a> = <span class="keyword">new</span> QPushButton( <span class="keyword">this</span>, <span class="stringliteral">"m_ButtonCancel"</span> );
<a name="l00045"></a>00045     <a class="code" href="classCommandDlg.html#bb726a94053a9e1aba96babad4e5c024">Layout6</a>-&gt;addWidget( <a class="code" href="classCommandDlg.html#44506cd25120706b4dabcf50e45a8d70">m_ButtonCancel</a> );
<a name="l00046"></a>00046 
<a name="l00047"></a>00047     <a class="code" href="classCommandDlg.html#f4d0781c175dda013e4eb5d512edf6ac">CommandDlgLayout</a>-&gt;addLayout( <a class="code" href="classCommandDlg.html#bb726a94053a9e1aba96babad4e5c024">Layout6</a>, 1, 0 );
<a name="l00048"></a>00048 
<a name="l00049"></a>00049     <a class="code" href="classCommandDlg.html#cd6dd884317f748cf736cb9f66a8e06c">QGroupBox_1</a> = <span class="keyword">new</span> QGroupBox( <span class="keyword">this</span>, <span class="stringliteral">"QGroupBox_1"</span> );
<a name="l00050"></a>00050     <a class="code" href="classCommandDlg.html#cd6dd884317f748cf736cb9f66a8e06c">QGroupBox_1</a>-&gt;setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)7, 0, 0, <a class="code" href="classCommandDlg.html#cd6dd884317f748cf736cb9f66a8e06c">QGroupBox_1</a>-&gt;sizePolicy().hasHeightForWidth() ) );
<a name="l00051"></a>00051     <a class="code" href="classCommandDlg.html#cd6dd884317f748cf736cb9f66a8e06c">QGroupBox_1</a>-&gt;setColumnLayout(0, Qt::Vertical );
<a name="l00052"></a>00052     <a class="code" href="classCommandDlg.html#cd6dd884317f748cf736cb9f66a8e06c">QGroupBox_1</a>-&gt;layout()-&gt;setSpacing( 6 );
<a name="l00053"></a>00053     <a class="code" href="classCommandDlg.html#cd6dd884317f748cf736cb9f66a8e06c">QGroupBox_1</a>-&gt;layout()-&gt;setMargin( 11 );
<a name="l00054"></a>00054     <a class="code" href="classCommandDlg.html#11cd0e642b8082cc53342e640bb9491d">QGroupBox_1Layout</a> = <span class="keyword">new</span> QGridLayout( <a class="code" href="classCommandDlg.html#cd6dd884317f748cf736cb9f66a8e06c">QGroupBox_1</a>-&gt;layout() );
<a name="l00055"></a>00055     <a class="code" href="classCommandDlg.html#11cd0e642b8082cc53342e640bb9491d">QGroupBox_1Layout</a>-&gt;setAlignment( Qt::AlignTop );
<a name="l00056"></a>00056 
<a name="l00057"></a>00057     <a class="code" href="classCommandDlg.html#795e9ee51e45bb71dff776cd4cfa13cb">m_ButtonAdd</a> = <span class="keyword">new</span> QPushButton( <a class="code" href="classCommandDlg.html#cd6dd884317f748cf736cb9f66a8e06c">QGroupBox_1</a>, <span class="stringliteral">"m_ButtonAdd"</span> );
<a name="l00058"></a>00058     <a class="code" href="classCommandDlg.html#795e9ee51e45bb71dff776cd4cfa13cb">m_ButtonAdd</a>-&gt;setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, <a class="code" href="classCommandDlg.html#795e9ee51e45bb71dff776cd4cfa13cb">m_ButtonAdd</a>-&gt;sizePolicy().hasHeightForWidth() ) );
<a name="l00059"></a>00059 
<a name="l00060"></a>00060     <a class="code" href="classCommandDlg.html#11cd0e642b8082cc53342e640bb9491d">QGroupBox_1Layout</a>-&gt;addWidget( <a class="code" href="classCommandDlg.html#795e9ee51e45bb71dff776cd4cfa13cb">m_ButtonAdd</a>, 1, 0 );
<a name="l00061"></a>00061 
<a name="l00062"></a>00062     <a class="code" href="classCommandDlg.html#bfb5091484e8bdd9e77d5c2fd4324743">m_ButtonEdit</a> = <span class="keyword">new</span> QPushButton( <a class="code" href="classCommandDlg.html#cd6dd884317f748cf736cb9f66a8e06c">QGroupBox_1</a>, <span class="stringliteral">"m_ButtonEdit"</span> );
<a name="l00063"></a>00063     <a class="code" href="classCommandDlg.html#bfb5091484e8bdd9e77d5c2fd4324743">m_ButtonEdit</a>-&gt;setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, <a class="code" href="classCommandDlg.html#bfb5091484e8bdd9e77d5c2fd4324743">m_ButtonEdit</a>-&gt;sizePolicy().hasHeightForWidth() ) );
<a name="l00064"></a>00064 
<a name="l00065"></a>00065     <a class="code" href="classCommandDlg.html#11cd0e642b8082cc53342e640bb9491d">QGroupBox_1Layout</a>-&gt;addWidget( <a class="code" href="classCommandDlg.html#bfb5091484e8bdd9e77d5c2fd4324743">m_ButtonEdit</a>, 1, 1 );
<a name="l00066"></a>00066 
<a name="l00067"></a>00067     <a class="code" href="classCommandDlg.html#68d34d549ef6b4464c0f645a39cc7b90">m_ButtonCopy</a> = <span class="keyword">new</span> QPushButton( <a class="code" href="classCommandDlg.html#cd6dd884317f748cf736cb9f66a8e06c">QGroupBox_1</a>, <span class="stringliteral">"m_ButtonCopy"</span> );
<a name="l00068"></a>00068     <a class="code" href="classCommandDlg.html#68d34d549ef6b4464c0f645a39cc7b90">m_ButtonCopy</a>-&gt;setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, <a class="code" href="classCommandDlg.html#68d34d549ef6b4464c0f645a39cc7b90">m_ButtonCopy</a>-&gt;sizePolicy().hasHeightForWidth() ) );
<a name="l00069"></a>00069 
<a name="l00070"></a>00070     <a class="code" href="classCommandDlg.html#11cd0e642b8082cc53342e640bb9491d">QGroupBox_1Layout</a>-&gt;addWidget( <a class="code" href="classCommandDlg.html#68d34d549ef6b4464c0f645a39cc7b90">m_ButtonCopy</a>, 1, 2 );
<a name="l00071"></a>00071 
<a name="l00072"></a>00072     <a class="code" href="classCommandDlg.html#30ea515a9e24cabfb15d4243f4173e7e">m_ButtonDelete</a> = <span class="keyword">new</span> QPushButton( <a class="code" href="classCommandDlg.html#cd6dd884317f748cf736cb9f66a8e06c">QGroupBox_1</a>, <span class="stringliteral">"m_ButtonDelete"</span> );
<a name="l00073"></a>00073     <a class="code" href="classCommandDlg.html#30ea515a9e24cabfb15d4243f4173e7e">m_ButtonDelete</a>-&gt;setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, <a class="code" href="classCommandDlg.html#30ea515a9e24cabfb15d4243f4173e7e">m_ButtonDelete</a>-&gt;sizePolicy().hasHeightForWidth() ) );
<a name="l00074"></a>00074 
<a name="l00075"></a>00075     <a class="code" href="classCommandDlg.html#11cd0e642b8082cc53342e640bb9491d">QGroupBox_1Layout</a>-&gt;addWidget( <a class="code" href="classCommandDlg.html#30ea515a9e24cabfb15d4243f4173e7e">m_ButtonDelete</a>, 1, 3 );
<a name="l00076"></a>00076 
<a name="l00077"></a>00077     <a class="code" href="classCommandDlg.html#96835ee0557e2288d0254beefc2469de">m_ComboCommand</a> = <span class="keyword">new</span> QComboBox( FALSE, <a class="code" href="classCommandDlg.html#cd6dd884317f748cf736cb9f66a8e06c">QGroupBox_1</a>, <span class="stringliteral">"m_ComboCommand"</span> );
<a name="l00078"></a>00078     <a class="code" href="classCommandDlg.html#96835ee0557e2288d0254beefc2469de">m_ComboCommand</a>-&gt;setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)7, (QSizePolicy::SizeType)0, 0, 0, <a class="code" href="classCommandDlg.html#96835ee0557e2288d0254beefc2469de">m_ComboCommand</a>-&gt;sizePolicy().hasHeightForWidth() ) );
<a name="l00079"></a>00079     <a class="code" href="classCommandDlg.html#96835ee0557e2288d0254beefc2469de">m_ComboCommand</a>-&gt;setInsertionPolicy( QComboBox::AtTop );
<a name="l00080"></a>00080 
<a name="l00081"></a>00081     <a class="code" href="classCommandDlg.html#11cd0e642b8082cc53342e640bb9491d">QGroupBox_1Layout</a>-&gt;addMultiCellWidget( <a class="code" href="classCommandDlg.html#96835ee0557e2288d0254beefc2469de">m_ComboCommand</a>, 0, 0, 0, 3 );
<a name="l00082"></a>00082 
<a name="l00083"></a>00083     <a class="code" href="classCommandDlg.html#f4d0781c175dda013e4eb5d512edf6ac">CommandDlgLayout</a>-&gt;addWidget( <a class="code" href="classCommandDlg.html#cd6dd884317f748cf736cb9f66a8e06c">QGroupBox_1</a>, 0, 0 );
<a name="l00084"></a>00084     <a class="code" href="classCommandDlg.html#0c4debe5a9a4cffefbe15970b3161145">languageChange</a>();
<a name="l00085"></a>00085     resize( QSize(378, 146).expandedTo(minimumSizeHint()) );
<a name="l00086"></a>00086     clearWState( WState_Polished );
<a name="l00087"></a>00087 
<a name="l00088"></a>00088     <span class="comment">// signals and slots connections</span>
<a name="l00089"></a>00089     connect( <a class="code" href="classCommandDlg.html#795e9ee51e45bb71dff776cd4cfa13cb">m_ButtonAdd</a>, SIGNAL( clicked() ), <span class="keyword">this</span>, SLOT( <a class="code" href="classCommandDlg.html#7cddba6d467199508ccafe6d0a3e2576">slotAdd</a>() ) );
<a name="l00090"></a>00090     connect( <a class="code" href="classCommandDlg.html#bfb5091484e8bdd9e77d5c2fd4324743">m_ButtonEdit</a>, SIGNAL( clicked() ), <span class="keyword">this</span>, SLOT( <a class="code" href="classCommandDlg.html#12de1a903a59e5ddc03927b1bbdfa62e">slotEdit</a>() ) );
<a name="l00091"></a>00091     connect( <a class="code" href="classCommandDlg.html#68d34d549ef6b4464c0f645a39cc7b90">m_ButtonCopy</a>, SIGNAL( clicked() ), <span class="keyword">this</span>, SLOT( <a class="code" href="classCommandDlg.html#4bc3a21e6cb8186dc29dd1831d2bad28">slotCopy</a>() ) );
<a name="l00092"></a>00092     connect( <a class="code" href="classCommandDlg.html#30ea515a9e24cabfb15d4243f4173e7e">m_ButtonDelete</a>, SIGNAL( clicked() ), <span class="keyword">this</span>, SLOT( <a class="code" href="classCommandDlg.html#74ab751c727cf4f5fdfa9603d6567b2b">slotDelete</a>() ) );
<a name="l00093"></a>00093     connect( <a class="code" href="classCommandDlg.html#15cdabaf87020ef1ead6ecd7e61d1dea">m_ButtonOk</a>, SIGNAL( clicked() ), <span class="keyword">this</span>, SLOT( <a class="code" href="classCommandDlg.html#e2ff4ab352bb06d0e0dc9379c4af9f89">slotOk</a>() ) );
<a name="l00094"></a>00094     connect( <a class="code" href="classCommandDlg.html#44506cd25120706b4dabcf50e45a8d70">m_ButtonCancel</a>, SIGNAL( clicked() ), <span class="keyword">this</span>, SLOT( reject() ) );
<a name="l00095"></a>00095     connect( <a class="code" href="classCommandDlg.html#96835ee0557e2288d0254beefc2469de">m_ComboCommand</a>, SIGNAL( activated(<span class="keywordtype">int</span>) ), <span class="keyword">this</span>, SLOT( <a class="code" href="classCommandDlg.html#2bb1f9388d8b26c7ef63d70834d25b34">slotCommandActivated</a>(<span class="keywordtype">int</span>) ) );
<a name="l00096"></a>00096 
<a name="l00097"></a>00097     <span class="comment">// tab order</span>
<a name="l00098"></a>00098     setTabOrder( <a class="code" href="classCommandDlg.html#96835ee0557e2288d0254beefc2469de">m_ComboCommand</a>, <a class="code" href="classCommandDlg.html#795e9ee51e45bb71dff776cd4cfa13cb">m_ButtonAdd</a> );
<a name="l00099"></a>00099     setTabOrder( <a class="code" href="classCommandDlg.html#795e9ee51e45bb71dff776cd4cfa13cb">m_ButtonAdd</a>, <a class="code" href="classCommandDlg.html#bfb5091484e8bdd9e77d5c2fd4324743">m_ButtonEdit</a> );
<a name="l00100"></a>00100     setTabOrder( <a class="code" href="classCommandDlg.html#bfb5091484e8bdd9e77d5c2fd4324743">m_ButtonEdit</a>, <a class="code" href="classCommandDlg.html#68d34d549ef6b4464c0f645a39cc7b90">m_ButtonCopy</a> );
<a name="l00101"></a>00101     setTabOrder( <a class="code" href="classCommandDlg.html#68d34d549ef6b4464c0f645a39cc7b90">m_ButtonCopy</a>, <a class="code" href="classCommandDlg.html#30ea515a9e24cabfb15d4243f4173e7e">m_ButtonDelete</a> );
<a name="l00102"></a>00102     setTabOrder( <a class="code" href="classCommandDlg.html#30ea515a9e24cabfb15d4243f4173e7e">m_ButtonDelete</a>, <a class="code" href="classCommandDlg.html#15cdabaf87020ef1ead6ecd7e61d1dea">m_ButtonOk</a> );
<a name="l00103"></a>00103     setTabOrder( <a class="code" href="classCommandDlg.html#15cdabaf87020ef1ead6ecd7e61d1dea">m_ButtonOk</a>, <a class="code" href="classCommandDlg.html#44506cd25120706b4dabcf50e45a8d70">m_ButtonCancel</a> );
<a name="l00104"></a>00104 }
<a name="l00105"></a>00105 
<a name="l00106"></a>00106 <span class="comment">/*</span>
<a name="l00107"></a>00107 <span class="comment"> *  Destroys the object and frees any allocated resources</span>
<a name="l00108"></a>00108 <span class="comment"> */</span>
<a name="l00109"></a><a class="code" href="classCommandDlg.html#0eb54248bcf1851da5c2c054582b1e99">00109</a> <a class="code" href="classCommandDlg.html#0eb54248bcf1851da5c2c054582b1e99">CommandDlg::~CommandDlg</a>()
<a name="l00110"></a>00110 {
<a name="l00111"></a>00111     <span class="comment">// no need to delete child widgets, Qt does it all for us</span>
<a name="l00112"></a>00112 }
<a name="l00113"></a>00113 
<a name="l00114"></a>00114 <span class="comment">/*</span>
<a name="l00115"></a>00115 <span class="comment"> *  Sets the strings of the subwidgets using the current</span>
<a name="l00116"></a>00116 <span class="comment"> *  language.</span>
<a name="l00117"></a>00117 <span class="comment"> */</span>
<a name="l00118"></a><a class="code" href="classCommandDlg.html#0c4debe5a9a4cffefbe15970b3161145">00118</a> <span class="keywordtype">void</span> <a class="code" href="classCommandDlg.html#0c4debe5a9a4cffefbe15970b3161145">CommandDlg::languageChange</a>()
<a name="l00119"></a>00119 {
<a name="l00120"></a>00120     setCaption( tr2i18n( <span class="stringliteral">"Command"</span> ) );
<a name="l00121"></a>00121     <a class="code" href="classCommandDlg.html#15cdabaf87020ef1ead6ecd7e61d1dea">m_ButtonOk</a>-&gt;setText( tr2i18n( <span class="stringliteral">"OK"</span> ) );
<a name="l00122"></a>00122     <a class="code" href="classCommandDlg.html#44506cd25120706b4dabcf50e45a8d70">m_ButtonCancel</a>-&gt;setText( tr2i18n( <span class="stringliteral">"Cancel"</span> ) );
<a name="l00123"></a>00123     <a class="code" href="classCommandDlg.html#cd6dd884317f748cf736cb9f66a8e06c">QGroupBox_1</a>-&gt;setTitle( tr2i18n( <span class="stringliteral">"User commands"</span> ) );
<a name="l00124"></a>00124     <a class="code" href="classCommandDlg.html#795e9ee51e45bb71dff776cd4cfa13cb">m_ButtonAdd</a>-&gt;setText( tr2i18n( <span class="stringliteral">"Add"</span> ) );
<a name="l00125"></a>00125     QToolTip::add( <a class="code" href="classCommandDlg.html#795e9ee51e45bb71dff776cd4cfa13cb">m_ButtonAdd</a>, tr2i18n( <span class="stringliteral">"Add user command"</span> ) );
<a name="l00126"></a>00126     <a class="code" href="classCommandDlg.html#bfb5091484e8bdd9e77d5c2fd4324743">m_ButtonEdit</a>-&gt;setText( tr2i18n( <span class="stringliteral">"Edit"</span> ) );
<a name="l00127"></a>00127     QToolTip::add( <a class="code" href="classCommandDlg.html#bfb5091484e8bdd9e77d5c2fd4324743">m_ButtonEdit</a>, tr2i18n( <span class="stringliteral">"Edit user command"</span> ) );
<a name="l00128"></a>00128     <a class="code" href="classCommandDlg.html#68d34d549ef6b4464c0f645a39cc7b90">m_ButtonCopy</a>-&gt;setText( tr2i18n( <span class="stringliteral">"Copy"</span> ) );
<a name="l00129"></a>00129     QToolTip::add( <a class="code" href="classCommandDlg.html#68d34d549ef6b4464c0f645a39cc7b90">m_ButtonCopy</a>, tr2i18n( <span class="stringliteral">"Copy user command"</span> ) );
<a name="l00130"></a>00130     <a class="code" href="classCommandDlg.html#30ea515a9e24cabfb15d4243f4173e7e">m_ButtonDelete</a>-&gt;setText( tr2i18n( <span class="stringliteral">"Delete"</span> ) );
<a name="l00131"></a>00131     QToolTip::add( <a class="code" href="classCommandDlg.html#30ea515a9e24cabfb15d4243f4173e7e">m_ButtonDelete</a>, tr2i18n( <span class="stringliteral">"Delete user command"</span> ) );
<a name="l00132"></a>00132 }
<a name="l00133"></a>00133 
<a name="l00134"></a><a class="code" href="classCommandDlg.html#2bb1f9388d8b26c7ef63d70834d25b34">00134</a> <span class="keywordtype">void</span> <a class="code" href="classCommandDlg.html#2bb1f9388d8b26c7ef63d70834d25b34">CommandDlg::slotCommandActivated</a>(<span class="keywordtype">int</span>)
<a name="l00135"></a>00135 {
<a name="l00136"></a>00136     qWarning( <span class="stringliteral">"CommandDlg::slotCommandActivated(int): Not implemented yet"</span> );
<a name="l00137"></a>00137 }
<a name="l00138"></a>00138 
<a name="l00139"></a><a class="code" href="classCommandDlg.html#7cddba6d467199508ccafe6d0a3e2576">00139</a> <span class="keywordtype">void</span> <a class="code" href="classCommandDlg.html#7cddba6d467199508ccafe6d0a3e2576">CommandDlg::slotAdd</a>()
<a name="l00140"></a>00140 {
<a name="l00141"></a>00141     qWarning( <span class="stringliteral">"CommandDlg::slotAdd(): Not implemented yet"</span> );
<a name="l00142"></a>00142 }
<a name="l00143"></a>00143 
<a name="l00144"></a><a class="code" href="classCommandDlg.html#4bc3a21e6cb8186dc29dd1831d2bad28">00144</a> <span class="keywordtype">void</span> <a class="code" href="classCommandDlg.html#4bc3a21e6cb8186dc29dd1831d2bad28">CommandDlg::slotCopy</a>()
<a name="l00145"></a>00145 {
<a name="l00146"></a>00146     qWarning( <span class="stringliteral">"CommandDlg::slotCopy(): Not implemented yet"</span> );
<a name="l00147"></a>00147 }
<a name="l00148"></a>00148 
<a name="l00149"></a><a class="code" href="classCommandDlg.html#74ab751c727cf4f5fdfa9603d6567b2b">00149</a> <span class="keywordtype">void</span> <a class="code" href="classCommandDlg.html#74ab751c727cf4f5fdfa9603d6567b2b">CommandDlg::slotDelete</a>()
<a name="l00150"></a>00150 {
<a name="l00151"></a>00151     qWarning( <span class="stringliteral">"CommandDlg::slotDelete(): Not implemented yet"</span> );
<a name="l00152"></a>00152 }
<a name="l00153"></a>00153 
<a name="l00154"></a><a class="code" href="classCommandDlg.html#12de1a903a59e5ddc03927b1bbdfa62e">00154</a> <span class="keywordtype">void</span> <a class="code" href="classCommandDlg.html#12de1a903a59e5ddc03927b1bbdfa62e">CommandDlg::slotEdit</a>()
<a name="l00155"></a>00155 {
<a name="l00156"></a>00156     qWarning( <span class="stringliteral">"CommandDlg::slotEdit(): Not implemented yet"</span> );
<a name="l00157"></a>00157 }
<a name="l00158"></a>00158 
<a name="l00159"></a><a class="code" href="classCommandDlg.html#e2ff4ab352bb06d0e0dc9379c4af9f89">00159</a> <span class="keywordtype">void</span> <a class="code" href="classCommandDlg.html#e2ff4ab352bb06d0e0dc9379c4af9f89">CommandDlg::slotOk</a>()
<a name="l00160"></a>00160 {
<a name="l00161"></a>00161     qWarning( <span class="stringliteral">"CommandDlg::slotOk(): Not implemented yet"</span> );
<a name="l00162"></a>00162 }
<a name="l00163"></a>00163 
<a name="l00164"></a>00164 <span class="preprocessor">#include "CommandDlg.moc"</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>