summaryrefslogtreecommitdiffstats
path: root/doc/html/kshowmailfeedback_8cpp-source.html
blob: b7f457e9780719a0d1d6ef4b1fcbb9d22ef90fd9 (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
<!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/kshowmailfeedback.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>kshowmailfeedback.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"> *   File name:      kshowmailfeedback.cpp</span>
<a name="l00003"></a>00003 <span class="comment"> *   Summary: User feedback questions for KShowmail</span>
<a name="l00004"></a>00004 <span class="comment"> *   License: GPL - See file COPYING for details.</span>
<a name="l00005"></a>00005 <span class="comment"> *</span>
<a name="l00006"></a>00006 <span class="comment"> *   Author:  Stefan Hundhammer &lt;sh@suse.de&gt;</span>
<a name="l00007"></a>00007 <span class="comment"> *            Eggert Ehmke &lt;eggert.ehmke@berlin.de&gt;</span>
<a name="l00008"></a>00008 <span class="comment"> *</span>
<a name="l00009"></a>00009 <span class="comment"> *   Updated: 2002-05-30</span>
<a name="l00010"></a>00010 <span class="comment"> *</span>
<a name="l00011"></a>00011 <span class="comment"> *   $Id: kshowmailfeedback_8cpp-source.html,v 1.10 2007/07/05 17:37:51 kuddel-fl Exp $</span>
<a name="l00012"></a>00012 <span class="comment"> *</span>
<a name="l00013"></a>00013 <span class="comment"> */</span>
<a name="l00014"></a>00014 
<a name="l00015"></a>00015 
<a name="l00016"></a>00016 <span class="preprocessor">#include &lt;klocale.h&gt;</span>
<a name="l00017"></a>00017 
<a name="l00018"></a>00018 <span class="preprocessor">#include "kshowmail.h"</span>
<a name="l00019"></a>00019 <span class="preprocessor">#include "kfeedback.h"</span>
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 
<a name="l00022"></a>00022 
<a name="l00023"></a><a class="code" href="classKShowMailApp.html#cb6b97d7b759372c2ab7690fc70d1518">00023</a> <span class="keywordtype">void</span> <a class="code" href="classKShowMailApp.html#cb6b97d7b759372c2ab7690fc70d1518">KShowMailApp::slotSendFeedbackMail</a>()
<a name="l00024"></a>00024 {
<a name="l00025"></a>00025   <a class="code" href="classKFeedbackDialog.html">KFeedbackDialog</a>* feedbackDialog = <span class="keyword">new</span> <a class="code" href="classKFeedbackDialog.html">KFeedbackDialog</a>( <span class="stringliteral">"eggert.ehmke@berlin.de"</span>, <span class="stringliteral">"feedback_mail"</span> );
<a name="l00026"></a>00026        CHECK_PTR( feedbackDialog );
<a name="l00027"></a>00027 
<a name="l00028"></a>00028        <a class="code" href="classKFeedbackQuestionList.html">KFeedbackQuestionList</a> * list = feedbackDialog-&gt;<a class="code" href="classKFeedbackDialog.html#1d9dfb5bac160ce16eb8e929f37c31b6">form</a>()-&gt;<a class="code" href="classKFeedbackForm.html#51b1d4e1e48d18c6155203b9f72ada5e">questionList</a>();
<a name="l00029"></a>00029 
<a name="l00030"></a>00030        <a class="code" href="classKFeedbackQuestion.html">KFeedbackQuestion</a> * question =
<a name="l00031"></a>00031            list-&gt;<a class="code" href="classKFeedbackQuestionList.html#7c043c6ca2c63fae277e7b43fcb8d145">addQuestion</a>( i18n( <span class="stringliteral">"What is your general opinion about this program?"</span> ), <span class="stringliteral">"general_opinion"</span>, <span class="keyword">true</span>, <span class="keyword">true</span> );
<a name="l00032"></a>00032 
<a name="l00033"></a>00033        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"It's one of my favourites"</span>),                <span class="stringliteral">"1/8_favourite"</span>);
<a name="l00034"></a>00034        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"I like it"</span>),                                <span class="stringliteral">"2/8_like_it"</span>);
<a name="l00035"></a>00035        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"It's sometimes useful"</span>),                    <span class="stringliteral">"3/8_sometimes_useful"</span>);
<a name="l00036"></a>00036        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"It's average"</span>),                             <span class="stringliteral">"4/8_average"</span>);
<a name="l00037"></a>00037        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Nice try, but this could be done better"</span>),  <span class="stringliteral">"5/8_nice_try"</span>);
<a name="l00038"></a>00038        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"It's poor"</span>),                                <span class="stringliteral">"6/8_poor"</span>);
<a name="l00039"></a>00039        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"It's useless"</span>),                             <span class="stringliteral">"7/8_useless"</span>);
<a name="l00040"></a>00040        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"It's crap"</span>),                                <span class="stringliteral">"8/8_crap"</span>);
<a name="l00041"></a>00041 
<a name="l00042"></a>00042        question = list-&gt;<a class="code" href="classKFeedbackQuestionList.html#7c043c6ca2c63fae277e7b43fcb8d145">addQuestion</a>( i18n( <span class="stringliteral">"Which features of this program do you like?"</span> ), <span class="stringliteral">"features_liked"</span>, <span class="keyword">false</span> );
<a name="l00043"></a>00043        <a class="code" href="classKShowMailApp.html#7928ea906a7abe17a5f56f110cdd58d6">addFeatureList</a>( question );
<a name="l00044"></a>00044 
<a name="l00045"></a>00045        question = list-&gt;<a class="code" href="classKFeedbackQuestionList.html#7c043c6ca2c63fae277e7b43fcb8d145">addQuestion</a>( i18n( <span class="stringliteral">"What is your favourite feature?"</span> ),     <span class="stringliteral">"favourite_feature"</span>, <span class="keyword">true</span> );
<a name="l00046"></a>00046        <a class="code" href="classKShowMailApp.html#7928ea906a7abe17a5f56f110cdd58d6">addFeatureList</a>( question );
<a name="l00047"></a>00047 
<a name="l00048"></a>00048        question = list-&gt;<a class="code" href="classKFeedbackQuestionList.html#7c043c6ca2c63fae277e7b43fcb8d145">addQuestion</a>( i18n( <span class="stringliteral">"Which features don't you like?"</span> ),      <span class="stringliteral">"features_not_liked"</span>,       <span class="keyword">false</span> );
<a name="l00049"></a>00049        <a class="code" href="classKShowMailApp.html#7928ea906a7abe17a5f56f110cdd58d6">addFeatureList</a>( question );
<a name="l00050"></a>00050 
<a name="l00051"></a>00051        question = list-&gt;<a class="code" href="classKFeedbackQuestionList.html#7c043c6ca2c63fae277e7b43fcb8d145">addQuestion</a>( i18n( <span class="stringliteral">"Which features do you never use?"</span> ),    <span class="stringliteral">"features_never_used"</span>,      <span class="keyword">false</span> );
<a name="l00052"></a>00052        <a class="code" href="classKShowMailApp.html#7928ea906a7abe17a5f56f110cdd58d6">addFeatureList</a>( question );
<a name="l00053"></a>00053 
<a name="l00054"></a>00054        question = list-&gt;<a class="code" href="classKFeedbackQuestionList.html#7c043c6ca2c63fae277e7b43fcb8d145">addQuestion</a>( i18n( <span class="stringliteral">"Are there features you are missing?"</span> ), <span class="stringliteral">"features_missing"</span>,  <span class="keyword">true</span> );
<a name="l00055"></a>00055        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Yes, a lot! (please add comment below)"</span>   ),     <span class="stringliteral">"1/4_lots"</span>           );
<a name="l00056"></a>00056        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Some (please add comment below)"</span>          ),     <span class="stringliteral">"2/4_some"</span>           );
<a name="l00057"></a>00057        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"None"</span>                              ),     <span class="stringliteral">"3/4_none"</span>           );
<a name="l00058"></a>00058        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"It has too many features already!"</span>        ),     <span class="stringliteral">"4/4_too_many_already"</span>      );
<a name="l00059"></a>00059 
<a name="l00060"></a>00060        question = list-&gt;<a class="code" href="classKFeedbackQuestionList.html#7c043c6ca2c63fae277e7b43fcb8d145">addQuestion</a>( i18n( <span class="stringliteral">"How do you rate the stability of this program?"</span> ),    <span class="stringliteral">"stability"</span>,  <span class="keyword">true</span>, <span class="keyword">true</span> );
<a name="l00061"></a>00061        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Rock solid"</span>),                     <span class="stringliteral">"1/5_rock_solid"</span>             );
<a name="l00062"></a>00062        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Good"</span>),                           <span class="stringliteral">"2/5_good"</span>);
<a name="l00063"></a>00063        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Average"</span>),                        <span class="stringliteral">"3/5_average"</span>);
<a name="l00064"></a>00064        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Poor"</span>),                           <span class="stringliteral">"4/5_poor"</span>            );
<a name="l00065"></a>00065        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"It keeps crashing all the time"</span>), <span class="stringliteral">"5/5_keeps_crashing"</span>  );
<a name="l00066"></a>00066 
<a name="l00067"></a>00067        question = list-&gt;<a class="code" href="classKFeedbackQuestionList.html#7c043c6ca2c63fae277e7b43fcb8d145">addQuestion</a>( i18n( <span class="stringliteral">"How do you rate the performance of this program?"</span> ), <span class="stringliteral">"performance"</span>, <span class="keyword">true</span> );
<a name="l00068"></a>00068        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Great"</span>),                          <span class="stringliteral">"1/5_great"</span>);
<a name="l00069"></a>00069        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Good"</span>),                           <span class="stringliteral">"2/5_good"</span>);
<a name="l00070"></a>00070        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Average"</span>),                        <span class="stringliteral">"3/5_average"</span>);
<a name="l00071"></a>00071        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Poor"</span>),                           <span class="stringliteral">"4/5_poor"</span>);
<a name="l00072"></a>00072        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"It's so slow it drives me nuts"</span>), <span class="stringliteral">"5/5_drives_me_nuts"</span>);
<a name="l00073"></a>00073 
<a name="l00074"></a>00074        question = list-&gt;<a class="code" href="classKFeedbackQuestionList.html#7c043c6ca2c63fae277e7b43fcb8d145">addQuestion</a>( i18n( <span class="stringliteral">"What is your experience with computers in general?"</span> ), <span class="stringliteral">"computer_experience"</span>, <span class="keyword">true</span> );
<a name="l00075"></a>00075        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Expert"</span>                                   ),     <span class="stringliteral">"1/5_expert"</span>         );
<a name="l00076"></a>00076        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Fair"</span>                              ),     <span class="stringliteral">"2/5_fair"</span>           );
<a name="l00077"></a>00077        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Average"</span>                                  ),     <span class="stringliteral">"3/5_average"</span>        );
<a name="l00078"></a>00078        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Learning"</span>                                 ),     <span class="stringliteral">"4/5_learning"</span>       );
<a name="l00079"></a>00079        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Newbie"</span>                                   ),     <span class="stringliteral">"5/5_newbie"</span>         );
<a name="l00080"></a>00080 
<a name="l00081"></a>00081        question = list-&gt;<a class="code" href="classKFeedbackQuestionList.html#7c043c6ca2c63fae277e7b43fcb8d145">addQuestion</a>( i18n( <span class="stringliteral">"What is your experience with Unix/Linux systems?"</span> ), <span class="stringliteral">"unix_experience"</span>, <span class="keyword">true</span> );
<a name="l00082"></a>00082        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Expert"</span>                                   ),     <span class="stringliteral">"1/5_expert"</span>         );
<a name="l00083"></a>00083        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Fair"</span>                              ),     <span class="stringliteral">"2/5_fair"</span>           );
<a name="l00084"></a>00084        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Average"</span>                                  ),     <span class="stringliteral">"3/5_average"</span>        );
<a name="l00085"></a>00085        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Learning"</span>                                 ),     <span class="stringliteral">"4/5_learning"</span>       );
<a name="l00086"></a>00086        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Newbie"</span>                                   ),     <span class="stringliteral">"5/5_newbie"</span>         );
<a name="l00087"></a>00087 
<a name="l00088"></a>00088        question = list-&gt;<a class="code" href="classKFeedbackQuestionList.html#7c043c6ca2c63fae277e7b43fcb8d145">addQuestion</a>( i18n( <span class="stringliteral">"Did you have trouble figuring out how to work with this program?"</span> ),
<a name="l00089"></a>00089                                   <span class="stringliteral">"learning_curve"</span>, <span class="keyword">true</span>, <span class="keyword">true</span> );
<a name="l00090"></a>00090        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"No problem"</span>                               ),     <span class="stringliteral">"1/5_no_problem"</span>     );
<a name="l00091"></a>00091        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Some"</span>                              ),     <span class="stringliteral">"2/5_some_problems"</span>  );
<a name="l00092"></a>00092        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"I'm still learning"</span>                       ),     <span class="stringliteral">"3/5_still_learing"</span>  );
<a name="l00093"></a>00093        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"I didn't have a clue what to do at first"</span> ),     <span class="stringliteral">"4/5_no_clue_at_first"</span>      );
<a name="l00094"></a>00094        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"I still don't have a clue what to do"</span>     ),     <span class="stringliteral">"5/5_still_no_clue"</span>  );
<a name="l00095"></a>00095 
<a name="l00096"></a>00096        question = list-&gt;<a class="code" href="classKFeedbackQuestionList.html#7c043c6ca2c63fae277e7b43fcb8d145">addQuestion</a>( i18n( <span class="stringliteral">"Where do you use this program most?"</span> ), <span class="stringliteral">"usage_where"</span>,              <span class="keyword">true</span> );
<a name="l00097"></a>00097        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"At work"</span>                                  ),     <span class="stringliteral">"at_work"</span>            );
<a name="l00098"></a>00098        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"At home"</span>                                  ),     <span class="stringliteral">"at_home"</span>            );
<a name="l00099"></a>00099        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"At university / school"</span>                   ),     <span class="stringliteral">"university"</span>         );
<a name="l00100"></a>00100 
<a name="l00101"></a>00101        question = list-&gt;<a class="code" href="classKFeedbackQuestionList.html#7c043c6ca2c63fae277e7b43fcb8d145">addQuestion</a>( i18n( <span class="stringliteral">"What is your primary role there?"</span>       ),     <span class="stringliteral">"primary_role"</span>,             <span class="keyword">true</span> );
<a name="l00102"></a>00102        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Home user"</span>                                ),     <span class="stringliteral">"home_user"</span>          );
<a name="l00103"></a>00103        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Student"</span>                                  ),     <span class="stringliteral">"student"</span>            );
<a name="l00104"></a>00104        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Educational (teacher / professor)"</span>        ),     <span class="stringliteral">"educational"</span>        );
<a name="l00105"></a>00105        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Non-computer related work"</span>                ),     <span class="stringliteral">"non_computer"</span>              );
<a name="l00106"></a>00106        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Developer"</span>                                ),     <span class="stringliteral">"developer"</span>          );
<a name="l00107"></a>00107        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"System administrator"</span>                     ),     <span class="stringliteral">"sysadmin"</span>           );
<a name="l00108"></a>00108 
<a name="l00109"></a>00109        question = list-&gt;<a class="code" href="classKFeedbackQuestionList.html#7c043c6ca2c63fae277e7b43fcb8d145">addQuestion</a>( i18n( <span class="stringliteral">"Do you have any other roles there?"</span> ),  <span class="stringliteral">"other_roles"</span>,              <span class="keyword">false</span> );
<a name="l00110"></a>00110        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Home user"</span>                                ),     <span class="stringliteral">"home_user"</span>          );
<a name="l00111"></a>00111        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Student"</span>                                  ),     <span class="stringliteral">"student"</span>            );
<a name="l00112"></a>00112        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Educational (teacher / professor)"</span>        ),     <span class="stringliteral">"educational"</span>        );
<a name="l00113"></a>00113        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Non-computer related work"</span>                ),     <span class="stringliteral">"non_computer"</span>              );
<a name="l00114"></a>00114        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Developer"</span>                                ),     <span class="stringliteral">"developer"</span>          );
<a name="l00115"></a>00115        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"System administrator"</span>                     ),     <span class="stringliteral">"sysadmin"</span>           );
<a name="l00116"></a>00116 
<a name="l00117"></a>00117        question = list-&gt;<a class="code" href="classKFeedbackQuestionList.html#7c043c6ca2c63fae277e7b43fcb8d145">addQuestion</a>( i18n( <span class="stringliteral">"How did you get to know this program?"</span> ),      <span class="stringliteral">"first_contact"</span>,     <span class="keyword">true</span> );
<a name="l00118"></a>00118        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"In a menu on my machine"</span>                  ),     <span class="stringliteral">"menu"</span>               );
<a name="l00119"></a>00119        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Somebody told me about it"</span>                ),     <span class="stringliteral">"told"</span>               );
<a name="l00120"></a>00120        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"On the internet"</span>                          ),     <span class="stringliteral">"internet"</span>           );
<a name="l00121"></a>00121        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Printed magazine / book"</span>                  ),     <span class="stringliteral">"print_media"</span>        );
<a name="l00122"></a>00122        question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Other (please add comment below)"</span>         ),     <span class="stringliteral">"other"</span>                     );
<a name="l00123"></a>00123 
<a name="l00124"></a>00124        list-&gt;<a class="code" href="classKFeedbackQuestionList.html#9408bbc813e69ef33693cffa0ddd7c91">addYesNoQuestion</a>( i18n( <span class="stringliteral">"Would you recommend this program to a friend?"</span> ), <span class="stringliteral">"recommend"</span>, <span class="keyword">true</span> );
<a name="l00125"></a>00125 
<a name="l00126"></a>00126   feedbackDialog-&gt;show();
<a name="l00127"></a>00127 }
<a name="l00128"></a>00128 
<a name="l00129"></a>00129 
<a name="l00130"></a><a class="code" href="classKShowMailApp.html#7928ea906a7abe17a5f56f110cdd58d6">00130</a> <span class="keywordtype">void</span> <a class="code" href="classKShowMailApp.html#7928ea906a7abe17a5f56f110cdd58d6">KShowMailApp::addFeatureList</a>( <a class="code" href="classKFeedbackQuestion.html">KFeedbackQuestion</a> * question )
<a name="l00131"></a>00131 {
<a name="l00132"></a>00132     question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"The message list display in general"</span>),       <span class="stringliteral">"message_list"</span>              );
<a name="l00133"></a>00133     question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Display of message headers"</span> ),          <span class="stringliteral">"message_header"</span>   );
<a name="l00134"></a>00134     question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Display of complete messages"</span>),         <span class="stringliteral">"complete_message"</span>        );
<a name="l00135"></a>00135 
<a name="l00136"></a>00136     question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Manual delete of unwanted messages"</span>),     <span class="stringliteral">"manual_delete_messages"</span>       );
<a name="l00137"></a>00137     question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Manual delete of filtered messages"</span>),     <span class="stringliteral">"manual_delete_filtered_messages"</span>     );
<a name="l00138"></a>00138     question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Automatic delete of filtered messages"</span>),  <span class="stringliteral">"automatic_delete_filtered_messages"</span>  );
<a name="l00139"></a>00139     question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Filter messages by regular expressions"</span>), <span class="stringliteral">"filter_messages_by regular_expression"</span>      );
<a name="l00140"></a>00140 
<a name="l00141"></a>00141     question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Execute user commands"</span>),    <span class="stringliteral">"user_commands"</span>  );
<a name="l00142"></a>00142 
<a name="l00143"></a>00143     question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Sorting of messages by size, date etc."</span>             ),     <span class="stringliteral">"sorting"</span>     );
<a name="l00144"></a>00144 
<a name="l00145"></a>00145     question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Play sound"</span>),               <span class="stringliteral">"play_sound"</span>            );
<a name="l00146"></a>00146     question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Play beep"</span>),                <span class="stringliteral">"play_beep"</span>      );
<a name="l00147"></a>00147     question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Initial timer"</span>),            <span class="stringliteral">"initial_timer"</span>  );
<a name="l00148"></a>00148     question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"Interval timer"</span>),           <span class="stringliteral">"interval_timer"</span>        );
<a name="l00149"></a>00149     question-&gt;<a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">addAnswer</a>( i18n( <span class="stringliteral">"This feedback survey :-)"</span>), <span class="stringliteral">"feedback"</span>              );
<a name="l00150"></a>00150 }
<a name="l00151"></a>00151 
<a name="l00152"></a>00152 
<a name="l00153"></a>00153 
<a name="l00154"></a>00154 <span class="comment">// EOF</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jul 5 19:36:06 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>