diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 15:59:03 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-07-24 15:59:03 -0500 |
commit | 9c02dbb59ce57c68dc177d9294b980bf114a3e11 (patch) | |
tree | b1b40423c9be9a42a97cd0e8f3af3139aefb6fa0 /doc/html/kfeedback_8cpp-source.html | |
parent | 0b875800e452c97b1a3f25aba5f029a8c33a4b93 (diff) | |
download | kshowmail-9c02dbb59ce57c68dc177d9294b980bf114a3e11.tar.gz kshowmail-9c02dbb59ce57c68dc177d9294b980bf114a3e11.zip |
Update to TDE R14 API
Diffstat (limited to 'doc/html/kfeedback_8cpp-source.html')
-rw-r--r-- | doc/html/kfeedback_8cpp-source.html | 124 |
1 files changed, 62 insertions, 62 deletions
diff --git a/doc/html/kfeedback_8cpp-source.html b/doc/html/kfeedback_8cpp-source.html index 32b9007..2906555 100644 --- a/doc/html/kfeedback_8cpp-source.html +++ b/doc/html/kfeedback_8cpp-source.html @@ -30,28 +30,28 @@ <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 <qheader.h></span> -<a name="l00017"></a>00017 <span class="preprocessor">#include <qlayout.h></span> -<a name="l00018"></a>00018 <span class="preprocessor">#include <qlabel.h></span> -<a name="l00019"></a>00019 <span class="preprocessor">#include <qmultilineedit.h></span> -<a name="l00020"></a>00020 <span class="preprocessor">#include <qhbox.h></span> +<a name="l00016"></a>00016 <span class="preprocessor">#include <ntqheader.h></span> +<a name="l00017"></a>00017 <span class="preprocessor">#include <ntqlayout.h></span> +<a name="l00018"></a>00018 <span class="preprocessor">#include <ntqlabel.h></span> +<a name="l00019"></a>00019 <span class="preprocessor">#include <ntqmultilineedit.h></span> +<a name="l00020"></a>00020 <span class="preprocessor">#include <ntqhbox.h></span> <a name="l00021"></a>00021 -<a name="l00022"></a>00022 <span class="preprocessor">#include <kglobal.h></span> -<a name="l00023"></a>00023 <span class="preprocessor">#include <kapplication.h></span> -<a name="l00024"></a>00024 <span class="preprocessor">#include <klocale.h></span> +<a name="l00022"></a>00022 <span class="preprocessor">#include <tdeglobal.h></span> +<a name="l00023"></a>00023 <span class="preprocessor">#include <tdeapplication.h></span> +<a name="l00024"></a>00024 <span class="preprocessor">#include <tdelocale.h></span> <a name="l00025"></a>00025 <span class="preprocessor">#include <kdebug.h></span> -<a name="l00026"></a>00026 <span class="preprocessor">#include <kaboutdata.h></span> +<a name="l00026"></a>00026 <span class="preprocessor">#include <tdeaboutdata.h></span> <a name="l00027"></a>00027 <span class="preprocessor">#include <kiconloader.h></span> <a name="l00028"></a>00028 <span class="preprocessor">#include <kurl.h></span> -<a name="l00029"></a>00029 <span class="preprocessor">#include <kdeversion.h></span> +<a name="l00029"></a>00029 <span class="preprocessor">#include <tdeversion.h></span> <a name="l00030"></a>00030 <a name="l00031"></a>00031 <span class="preprocessor">#include "kfeedback.h"</span> <a name="l00032"></a>00032 <a name="l00033"></a>00033 -<a name="l00034"></a><a class="code" href="classKFeedbackDialog.html#1ae22ffc4cfbabb1b954f2f75c57f8ba">00034</a> <a class="code" href="classKFeedbackDialog.html#1ae22ffc4cfbabb1b954f2f75c57f8ba">KFeedbackDialog::KFeedbackDialog</a>( <span class="keyword">const</span> QString & feedbackMailAddress, <span class="keyword">const</span> QString & helpTopic ) +<a name="l00034"></a><a class="code" href="classKFeedbackDialog.html#1ae22ffc4cfbabb1b954f2f75c57f8ba">00034</a> <a class="code" href="classKFeedbackDialog.html#1ae22ffc4cfbabb1b954f2f75c57f8ba">KFeedbackDialog::KFeedbackDialog</a>( <span class="keyword">const</span> TQString & feedbackMailAddress, <span class="keyword">const</span> TQString & helpTopic ) <a name="l00035"></a>00035 : KDialogBase( Plain, i18n( <span class="stringliteral">"Feedback"</span> ), Apply | ( helpTopic.isEmpty() ? Cancel : Cancel | Help ), Apply ) <a name="l00036"></a>00036 { -<a name="l00037"></a>00037 QVBoxLayout * layout = <span class="keyword">new</span> QVBoxLayout( plainPage(), 0, spacingHint() ); +<a name="l00037"></a>00037 TQVBoxLayout * layout = <span class="keyword">new</span> TQVBoxLayout( plainPage(), 0, spacingHint() ); <a name="l00038"></a>00038 <span class="comment">// setButtonApplyText( i18n( "&Mail this..." ) ); deprecated</span> <a name="l00039"></a>00039 setButtonApply(KGuiItem (i18n( <span class="stringliteral">"&Mail this..."</span> ))); <a name="l00040"></a>00040 @@ -94,16 +94,16 @@ <a name="l00077"></a>00077 <a name="l00078"></a>00078 <a name="l00079"></a>00079 -<a name="l00080"></a><a class="code" href="classKFeedbackForm.html#78d888d1554e9403a62d7c9b0c6e4a2e">00080</a> <a class="code" href="classKFeedbackForm.html#78d888d1554e9403a62d7c9b0c6e4a2e">KFeedbackForm::KFeedbackForm</a>( <span class="keyword">const</span> QString & feedbackMailAddress, -<a name="l00081"></a>00081 QWidget * parent ) -<a name="l00082"></a>00082 : QVBox( parent ) +<a name="l00080"></a><a class="code" href="classKFeedbackForm.html#78d888d1554e9403a62d7c9b0c6e4a2e">00080</a> <a class="code" href="classKFeedbackForm.html#78d888d1554e9403a62d7c9b0c6e4a2e">KFeedbackForm::KFeedbackForm</a>( <span class="keyword">const</span> TQString & feedbackMailAddress, +<a name="l00081"></a>00081 TQWidget * parent ) +<a name="l00082"></a>00082 : TQVBox( parent ) <a name="l00083"></a>00083 , _feedbackMailAddress( feedbackMailAddress ) <a name="l00084"></a>00084 { <a name="l00085"></a>00085 <span class="comment">//</span> <a name="l00086"></a>00086 <span class="comment">// Explanation above the question list</span> <a name="l00087"></a>00087 <span class="comment">//</span> <a name="l00088"></a>00088 -<a name="l00089"></a>00089 QLabel * label = <span class="keyword">new</span> QLabel( i18n( <span class="stringliteral">"<p><b>Please tell us your opinion about this program.</b></p>"</span> +<a name="l00089"></a>00089 TQLabel * label = <span class="keyword">new</span> TQLabel( i18n( <span class="stringliteral">"<p><b>Please tell us your opinion about this program.</b></p>"</span> <a name="l00090"></a>00090 <span class="stringliteral">"<p>You will be able to review everything in your mailer "</span> <a name="l00091"></a>00091 <span class="stringliteral">"before any mail is sent.<br>"</span> <a name="l00092"></a>00092 <span class="stringliteral">"Nothing will be sent behind your back.</p>"</span> @@ -123,39 +123,39 @@ <a name="l00106"></a>00106 <span class="comment">// Explanation below the question list</span> <a name="l00107"></a>00107 <span class="comment">//</span> <a name="l00108"></a>00108 -<a name="l00109"></a>00109 QHBox * hbox = <span class="keyword">new</span> QHBox( <span class="keyword">this</span> ); +<a name="l00109"></a>00109 TQHBox * hbox = <span class="keyword">new</span> TQHBox( <span class="keyword">this</span> ); <a name="l00110"></a>00110 CHECK_PTR( hbox ); <a name="l00111"></a>00111 -<a name="l00112"></a>00112 QSizePolicy pol( QSizePolicy::Fixed, QSizePolicy::Fixed ); <span class="comment">// hor / vert</span> +<a name="l00112"></a>00112 TQSizePolicy pol( TQSizePolicy::Fixed, TQSizePolicy::Fixed ); <span class="comment">// hor / vert</span> <a name="l00113"></a>00113 -<a name="l00114"></a>00114 label = <span class="keyword">new</span> QLabel( i18n( <span class="stringliteral">"Questions marked with "</span> ), hbox ); +<a name="l00114"></a>00114 label = <span class="keyword">new</span> TQLabel( i18n( <span class="stringliteral">"Questions marked with "</span> ), hbox ); <a name="l00115"></a>00115 CHECK_PTR( label ); <a name="l00116"></a>00116 label->setSizePolicy( pol ); <a name="l00117"></a>00117 -<a name="l00118"></a>00118 label = <span class="keyword">new</span> QLabel( hbox ); +<a name="l00118"></a>00118 label = <span class="keyword">new</span> TQLabel( hbox ); <a name="l00119"></a>00119 CHECK_PTR( label ); -<a name="l00120"></a>00120 label->setPixmap( KGlobal::iconLoader()->loadIcon( <span class="stringliteral">"edit"</span>, KIcon::Small ) ); +<a name="l00120"></a>00120 label->setPixmap( TDEGlobal::iconLoader()->loadIcon( <span class="stringliteral">"edit"</span>, TDEIcon::Small ) ); <a name="l00121"></a>00121 label->setSizePolicy( pol ); <a name="l00122"></a>00122 -<a name="l00123"></a>00123 label = <span class="keyword">new</span> QLabel( i18n( <span class="stringliteral">" must be answered before a mail can be sent."</span>) , hbox ); +<a name="l00123"></a>00123 label = <span class="keyword">new</span> TQLabel( i18n( <span class="stringliteral">" must be answered before a mail can be sent."</span>) , hbox ); <a name="l00124"></a>00124 CHECK_PTR( label ); <a name="l00125"></a>00125 label->setSizePolicy( pol ); <a name="l00126"></a>00126 -<a name="l00127"></a>00127 <span class="keyword">new</span> QWidget( hbox ); <span class="comment">// Fill any leftover space to the right.</span> +<a name="l00127"></a>00127 <span class="keyword">new</span> TQWidget( hbox ); <span class="comment">// Fill any leftover space to the right.</span> <a name="l00128"></a>00128 <a name="l00129"></a>00129 <a name="l00130"></a>00130 <span class="comment">//</span> <a name="l00131"></a>00131 <span class="comment">// Free-text comment field</span> <a name="l00132"></a>00132 <span class="comment">//</span> <a name="l00133"></a>00133 -<a name="l00134"></a>00134 label = <span class="keyword">new</span> QLabel( <span class="stringliteral">"\n"</span> + i18n( <span class="stringliteral">"&Additional comments:"</span> ), <span class="keyword">this</span> ); CHECK_PTR( label ); -<a name="l00135"></a>00135 <a class="code" href="classKFeedbackForm.html#862ae3fd81afe2f61f19d41d927c537b">_comment</a> = <span class="keyword">new</span> QMultiLineEdit( <span class="keyword">this</span> ); CHECK_PTR( <a class="code" href="classKFeedbackForm.html#862ae3fd81afe2f61f19d41d927c537b">_comment</a> ); +<a name="l00134"></a>00134 label = <span class="keyword">new</span> TQLabel( <span class="stringliteral">"\n"</span> + i18n( <span class="stringliteral">"&Additional comments:"</span> ), <span class="keyword">this</span> ); CHECK_PTR( label ); +<a name="l00135"></a>00135 <a class="code" href="classKFeedbackForm.html#862ae3fd81afe2f61f19d41d927c537b">_comment</a> = <span class="keyword">new</span> TQMultiLineEdit( <span class="keyword">this</span> ); CHECK_PTR( <a class="code" href="classKFeedbackForm.html#862ae3fd81afe2f61f19d41d927c537b">_comment</a> ); <a name="l00136"></a>00136 <a name="l00137"></a>00137 label->setBuddy( <a class="code" href="classKFeedbackForm.html#862ae3fd81afe2f61f19d41d927c537b">_comment</a> ); -<a name="l00138"></a>00138 <span class="preprocessor">#if (QT_VERSION < 300)</span> +<a name="l00138"></a>00138 <span class="preprocessor">#if (TQT_VERSION < 300)</span> <a name="l00139"></a>00139 <span class="preprocessor"></span> <a class="code" href="classKFeedbackForm.html#862ae3fd81afe2f61f19d41d927c537b">_comment</a>->setFixedVisibleLines( 5 ); <a name="l00140"></a>00140 <span class="preprocessor">#endif</span> -<a name="l00141"></a>00141 <span class="preprocessor"></span> <a class="code" href="classKFeedbackForm.html#862ae3fd81afe2f61f19d41d927c537b">_comment</a>->setWordWrap( QMultiLineEdit::FixedColumnWidth ); +<a name="l00141"></a>00141 <span class="preprocessor"></span> <a class="code" href="classKFeedbackForm.html#862ae3fd81afe2f61f19d41d927c537b">_comment</a>->setWordWrap( TQMultiLineEdit::FixedColumnWidth ); <a name="l00142"></a>00142 <a class="code" href="classKFeedbackForm.html#862ae3fd81afe2f61f19d41d927c537b">_comment</a>->setWrapColumnOrWidth( 70 ); <a name="l00143"></a>00143 } <a name="l00144"></a>00144 @@ -173,9 +173,9 @@ <a name="l00156"></a>00156 <span class="comment">// Build mail subject</span> <a name="l00157"></a>00157 <span class="comment">//</span> <a name="l00158"></a>00158 -<a name="l00159"></a>00159 QString subject; +<a name="l00159"></a>00159 TQString subject; <a name="l00160"></a>00160 -<a name="l00161"></a>00161 <span class="keyword">const</span> KAboutData * aboutData = KGlobal::instance()->aboutData(); +<a name="l00161"></a>00161 <span class="keyword">const</span> TDEAboutData * aboutData = TDEGlobal::instance()->aboutData(); <a name="l00162"></a>00162 <a name="l00163"></a>00163 <span class="keywordflow">if</span> ( aboutData ) <a name="l00164"></a>00164 subject = aboutData->programName() + <span class="stringliteral">"-"</span> + aboutData->version(); @@ -189,7 +189,7 @@ <a name="l00172"></a>00172 <span class="comment">// Build mail body</span> <a name="l00173"></a>00173 <span class="comment">//</span> <a name="l00174"></a>00174 -<a name="l00175"></a>00175 QString body = subject + <span class="stringliteral">"\n\n"</span> +<a name="l00175"></a>00175 TQString body = subject + <span class="stringliteral">"\n\n"</span> <a name="l00176"></a>00176 + <a class="code" href="classKFeedbackForm.html#08ace5fb7dd689ced012aa722b690b71">formatComment</a>() <a name="l00177"></a>00177 + <a class="code" href="classKFeedbackForm.html#e8c28be58b2684f090c396ad52f64ad3">_questionList</a>-><a class="code" href="classKFeedbackQuestionList.html#f31a9d0c7b6f06cfca9f76ccba5743f0">result</a>(); <a name="l00178"></a>00178 @@ -228,10 +228,10 @@ <a name="l00211"></a>00211 } <a name="l00212"></a>00212 <a name="l00213"></a>00213 -<a name="l00214"></a>00214 QString +<a name="l00214"></a>00214 TQString <a name="l00215"></a><a class="code" href="classKFeedbackForm.html#08ace5fb7dd689ced012aa722b690b71">00215</a> <a class="code" href="classKFeedbackForm.html#08ace5fb7dd689ced012aa722b690b71">KFeedbackForm::formatComment</a>() <a name="l00216"></a>00216 { -<a name="l00217"></a>00217 QString result = <a class="code" href="classKFeedbackForm.html#862ae3fd81afe2f61f19d41d927c537b">_comment</a>->text(); +<a name="l00217"></a>00217 TQString result = <a class="code" href="classKFeedbackForm.html#862ae3fd81afe2f61f19d41d927c537b">_comment</a>->text(); <a name="l00218"></a>00218 <a name="l00219"></a>00219 <span class="keywordflow">if</span> ( ! result.isEmpty() ) <a name="l00220"></a>00220 { @@ -253,8 +253,8 @@ <a name="l00236"></a>00236 <a name="l00237"></a>00237 <a name="l00238"></a>00238 -<a name="l00239"></a><a class="code" href="classKFeedbackQuestionList.html#c666871537387a102c9f6372aa8875e8">00239</a> <a class="code" href="classKFeedbackQuestionList.html#c666871537387a102c9f6372aa8875e8">KFeedbackQuestionList::KFeedbackQuestionList</a>( QWidget *parent ) -<a name="l00240"></a>00240 : QListView( parent ) +<a name="l00239"></a><a class="code" href="classKFeedbackQuestionList.html#c666871537387a102c9f6372aa8875e8">00239</a> <a class="code" href="classKFeedbackQuestionList.html#c666871537387a102c9f6372aa8875e8">KFeedbackQuestionList::KFeedbackQuestionList</a>( TQWidget *parent ) +<a name="l00240"></a>00240 : TQListView( parent ) <a name="l00241"></a>00241 { <a name="l00242"></a>00242 addColumn( <span class="stringliteral">""</span> ); <a name="l00243"></a>00243 header()->hide(); @@ -284,9 +284,9 @@ <a name="l00267"></a>00267 } <a name="l00268"></a>00268 <a name="l00269"></a>00269 -<a name="l00270"></a><a class="code" href="classKFeedbackQuestionList.html#f31a9d0c7b6f06cfca9f76ccba5743f0">00270</a> QString <a class="code" href="classKFeedbackQuestionList.html#f31a9d0c7b6f06cfca9f76ccba5743f0">KFeedbackQuestionList::result</a>() +<a name="l00270"></a><a class="code" href="classKFeedbackQuestionList.html#f31a9d0c7b6f06cfca9f76ccba5743f0">00270</a> TQString <a class="code" href="classKFeedbackQuestionList.html#f31a9d0c7b6f06cfca9f76ccba5743f0">KFeedbackQuestionList::result</a>() <a name="l00271"></a>00271 { -<a name="l00272"></a>00272 QString res; +<a name="l00272"></a>00272 TQString res; <a name="l00273"></a>00273 <a class="code" href="classKFeedbackQuestion.html">KFeedbackQuestion</a> * question = <a class="code" href="classKFeedbackQuestionList.html#37589f00f7f3e9c544780be24e122f21">firstQuestion</a>(); <a name="l00274"></a>00274 <a name="l00275"></a>00275 <span class="keywordflow">while</span> ( question ) @@ -296,14 +296,14 @@ <a name="l00279"></a>00279 question = question-><a class="code" href="classKFeedbackQuestion.html#f3731cde03060c91a80ebb5c80f657a1">nextQuestion</a>(); <a name="l00280"></a>00280 } <a name="l00281"></a>00281 res += <span class="stringliteral">"Compiled on KDE version: "</span>; -<a name="l00282"></a>00282 res += KDE_VERSION_STRING; +<a name="l00282"></a>00282 res += TDE_VERSION_STRING; <a name="l00283"></a>00283 <a name="l00284"></a>00284 <span class="keywordflow">return</span> res; <a name="l00285"></a>00285 } <a name="l00286"></a>00286 <a name="l00287"></a>00287 -<a name="l00288"></a><a class="code" href="classKFeedbackQuestionList.html#7c043c6ca2c63fae277e7b43fcb8d145">00288</a> <a class="code" href="classKFeedbackQuestion.html">KFeedbackQuestion</a>* <a class="code" href="classKFeedbackQuestionList.html#7c043c6ca2c63fae277e7b43fcb8d145">KFeedbackQuestionList::addQuestion</a>( <span class="keyword">const</span> QString & text, -<a name="l00289"></a>00289 <span class="keyword">const</span> QString & <span class="keywordtype">id</span>, +<a name="l00288"></a><a class="code" href="classKFeedbackQuestionList.html#7c043c6ca2c63fae277e7b43fcb8d145">00288</a> <a class="code" href="classKFeedbackQuestion.html">KFeedbackQuestion</a>* <a class="code" href="classKFeedbackQuestionList.html#7c043c6ca2c63fae277e7b43fcb8d145">KFeedbackQuestionList::addQuestion</a>( <span class="keyword">const</span> TQString & text, +<a name="l00289"></a>00289 <span class="keyword">const</span> TQString & <span class="keywordtype">id</span>, <a name="l00290"></a>00290 <span class="keywordtype">bool</span> exclusiveAnswer, <a name="l00291"></a>00291 <span class="keywordtype">bool</span> required ) <a name="l00292"></a>00292 { @@ -317,8 +317,8 @@ <a name="l00300"></a>00300 <a name="l00301"></a>00301 <a name="l00302"></a>00302 <span class="keywordtype">void</span> -<a name="l00303"></a><a class="code" href="classKFeedbackQuestionList.html#9408bbc813e69ef33693cffa0ddd7c91">00303</a> <a class="code" href="classKFeedbackQuestionList.html#9408bbc813e69ef33693cffa0ddd7c91">KFeedbackQuestionList::addYesNoQuestion</a>( <span class="keyword">const</span> QString & text, -<a name="l00304"></a>00304 <span class="keyword">const</span> QString & <span class="keywordtype">id</span>, +<a name="l00303"></a><a class="code" href="classKFeedbackQuestionList.html#9408bbc813e69ef33693cffa0ddd7c91">00303</a> <a class="code" href="classKFeedbackQuestionList.html#9408bbc813e69ef33693cffa0ddd7c91">KFeedbackQuestionList::addYesNoQuestion</a>( <span class="keyword">const</span> TQString & text, +<a name="l00304"></a>00304 <span class="keyword">const</span> TQString & <span class="keywordtype">id</span>, <a name="l00305"></a>00305 <span class="keywordtype">bool</span> required ) <a name="l00306"></a>00306 { <a name="l00307"></a>00307 @@ -351,19 +351,19 @@ <a name="l00334"></a>00334 <span class="keyword">static</span> <span class="keywordtype">int</span> nextNo = 0; <a name="l00335"></a>00335 <a name="l00336"></a><a class="code" href="classKFeedbackQuestion.html#74f81a22aec4f3969ac05fcef5d8dee4">00336</a> <a class="code" href="classKFeedbackQuestion.html#74f81a22aec4f3969ac05fcef5d8dee4">KFeedbackQuestion::KFeedbackQuestion</a>( <a class="code" href="classKFeedbackQuestionList.html">KFeedbackQuestionList</a> * parent, -<a name="l00337"></a>00337 <span class="keyword">const</span> QString & text, -<a name="l00338"></a>00338 <span class="keyword">const</span> QString & <span class="keywordtype">id</span>, +<a name="l00337"></a>00337 <span class="keyword">const</span> TQString & text, +<a name="l00338"></a>00338 <span class="keyword">const</span> TQString & <span class="keywordtype">id</span>, <a name="l00339"></a>00339 <span class="keywordtype">bool</span> exclusiveAnswer, <a name="l00340"></a>00340 <span class="keywordtype">bool</span> required, <a name="l00341"></a>00341 <span class="keywordtype">bool</span> open ) -<a name="l00342"></a>00342 : QCheckListItem( parent, text ) +<a name="l00342"></a>00342 : TQCheckListItem( parent, text ) <a name="l00343"></a>00343 , _id( id ) <a name="l00344"></a>00344 , _exclusiveAnswer( exclusiveAnswer ) <a name="l00345"></a>00345 , _required( required ) <a name="l00346"></a>00346 { <a name="l00347"></a>00347 <span class="keywordflow">if</span> ( required ) <a name="l00348"></a>00348 { -<a name="l00349"></a>00349 setPixmap( 0, KGlobal::iconLoader()->loadIcon( <span class="stringliteral">"edit"</span>, KIcon::Small ) ); +<a name="l00349"></a>00349 setPixmap( 0, TDEGlobal::iconLoader()->loadIcon( <span class="stringliteral">"edit"</span>, TDEIcon::Small ) ); <a name="l00350"></a>00350 } <a name="l00351"></a>00351 <a name="l00352"></a>00352 setOpen( open ); @@ -374,8 +374,8 @@ <a name="l00357"></a>00357 <a name="l00358"></a>00358 <a name="l00359"></a>00359 <span class="keywordtype">void</span> -<a name="l00360"></a><a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">00360</a> <a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">KFeedbackQuestion::addAnswer</a>( <span class="keyword">const</span> QString & text, -<a name="l00361"></a>00361 <span class="keyword">const</span> QString & <span class="keywordtype">id</span> ) +<a name="l00360"></a><a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">00360</a> <a class="code" href="classKFeedbackQuestion.html#70dfbcfb7699accc62ca3f9c1b2da8b6">KFeedbackQuestion::addAnswer</a>( <span class="keyword">const</span> TQString & text, +<a name="l00361"></a>00361 <span class="keyword">const</span> TQString & <span class="keywordtype">id</span> ) <a name="l00362"></a>00362 { <a name="l00363"></a>00363 <span class="keyword">new</span> <a class="code" href="classKFeedbackAnswer.html">KFeedbackAnswer</a>( <span class="keyword">this</span>, text, <span class="keywordtype">id</span>, <a class="code" href="classKFeedbackQuestion.html#8d6d302dac4b8dc4973ff7cf8aa5f852">_exclusiveAnswer</a> ); <a name="l00364"></a>00364 } @@ -404,10 +404,10 @@ <a name="l00398"></a>00398 } <a name="l00399"></a>00399 <a name="l00400"></a>00400 -<a name="l00401"></a>00401 QString +<a name="l00401"></a>00401 TQString <a name="l00402"></a><a class="code" href="classKFeedbackQuestion.html#51e0a1d351c8f7819f50a6ebf66c193d">00402</a> <a class="code" href="classKFeedbackQuestion.html#51e0a1d351c8f7819f50a6ebf66c193d">KFeedbackQuestion::result</a>() <a name="l00403"></a>00403 { -<a name="l00404"></a>00404 QString res; +<a name="l00404"></a>00404 TQString res; <a name="l00405"></a>00405 <span class="keywordtype">int</span> answers = 0; <a name="l00406"></a>00406 <a name="l00407"></a>00407 <a class="code" href="classKFeedbackAnswer.html">KFeedbackAnswer</a> *answer = <a class="code" href="classKFeedbackQuestion.html#a8759ac15cc2bec6f1a9e183eb374574">firstAnswer</a>(); @@ -432,17 +432,17 @@ <a name="l00426"></a>00426 } <a name="l00427"></a>00427 <a name="l00428"></a>00428 -<a name="l00429"></a>00429 QString +<a name="l00429"></a>00429 TQString <a name="l00430"></a><a class="code" href="classKFeedbackQuestion.html#13730ea63a6d8de44866c9134cb88f3c">00430</a> <a class="code" href="classKFeedbackQuestion.html#13730ea63a6d8de44866c9134cb88f3c">KFeedbackQuestion::text</a>() <a name="l00431"></a>00431 { -<a name="l00432"></a>00432 <span class="keywordflow">return</span> QCheckListItem::text(0); +<a name="l00432"></a>00432 <span class="keywordflow">return</span> TQCheckListItem::text(0); <a name="l00433"></a>00433 } <a name="l00434"></a>00434 <a name="l00435"></a>00435 -<a name="l00436"></a>00436 QString +<a name="l00436"></a>00436 TQString <a name="l00437"></a><a class="code" href="classKFeedbackQuestion.html#72b655cc6c5414023d05669142053a7c">00437</a> <a class="code" href="classKFeedbackQuestion.html#72b655cc6c5414023d05669142053a7c">KFeedbackQuestion::key</a>( <span class="keywordtype">int</span>, <span class="keywordtype">bool</span> )<span class="keyword"> const</span> <a name="l00438"></a>00438 <span class="keyword"></span>{ -<a name="l00439"></a>00439 QString no; +<a name="l00439"></a>00439 TQString no; <a name="l00440"></a>00440 no.sprintf( <span class="stringliteral">"%08d"</span>, <a class="code" href="classKFeedbackQuestion.html#4b1825caeff106b7a911ac725acdd8d1">_no</a> ); <a name="l00441"></a>00441 <a name="l00442"></a>00442 <span class="keywordflow">return</span> no; @@ -462,31 +462,31 @@ <a name="l00456"></a>00456 <a name="l00457"></a>00457 <a name="l00458"></a><a class="code" href="classKFeedbackAnswer.html#7100bf31bf9d49009b8c5a82c1ae5bde">00458</a> <a class="code" href="classKFeedbackAnswer.html#7100bf31bf9d49009b8c5a82c1ae5bde">KFeedbackAnswer::KFeedbackAnswer</a>( <a class="code" href="classKFeedbackQuestion.html">KFeedbackQuestion</a> * parent, -<a name="l00459"></a>00459 <span class="keyword">const</span> QString & text, -<a name="l00460"></a>00460 <span class="keyword">const</span> QString & <span class="keywordtype">id</span>, +<a name="l00459"></a>00459 <span class="keyword">const</span> TQString & text, +<a name="l00460"></a>00460 <span class="keyword">const</span> TQString & <span class="keywordtype">id</span>, <a name="l00461"></a>00461 <span class="keywordtype">bool</span> exclusive ) -<a name="l00462"></a>00462 : QCheckListItem( parent, +<a name="l00462"></a>00462 : TQCheckListItem( parent, <a name="l00463"></a>00463 text, <a name="l00464"></a>00464 exclusive -<a name="l00465"></a>00465 ? QCheckListItem::RadioButton -<a name="l00466"></a>00466 : QCheckListItem::CheckBox ) +<a name="l00465"></a>00465 ? TQCheckListItem::RadioButton +<a name="l00466"></a>00466 : TQCheckListItem::CheckBox ) <a name="l00467"></a>00467 , _id( id ) <a name="l00468"></a>00468 { <a name="l00469"></a>00469 <a class="code" href="classKFeedbackAnswer.html#1ddde383928714423714a70a829a0c57">_no</a> = nextNo++; <a name="l00470"></a>00470 } <a name="l00471"></a>00471 <a name="l00472"></a>00472 -<a name="l00473"></a>00473 QString +<a name="l00473"></a>00473 TQString <a name="l00474"></a><a class="code" href="classKFeedbackAnswer.html#a177a24369a5dab88d5602f6651275ea">00474</a> <a class="code" href="classKFeedbackAnswer.html#a177a24369a5dab88d5602f6651275ea">KFeedbackAnswer::text</a>() <a name="l00475"></a>00475 { -<a name="l00476"></a>00476 <span class="keywordflow">return</span> QCheckListItem::text(0); +<a name="l00476"></a>00476 <span class="keywordflow">return</span> TQCheckListItem::text(0); <a name="l00477"></a>00477 } <a name="l00478"></a>00478 <a name="l00479"></a>00479 -<a name="l00480"></a>00480 QString +<a name="l00480"></a>00480 TQString <a name="l00481"></a><a class="code" href="classKFeedbackAnswer.html#a643ff4986437b3089dcda86512c4f79">00481</a> <a class="code" href="classKFeedbackAnswer.html#a643ff4986437b3089dcda86512c4f79">KFeedbackAnswer::key</a>( <span class="keywordtype">int</span>, <span class="keywordtype">bool</span> )<span class="keyword"> const</span> <a name="l00482"></a>00482 <span class="keyword"></span>{ -<a name="l00483"></a>00483 QString no; +<a name="l00483"></a>00483 TQString no; <a name="l00484"></a>00484 no.sprintf( <span class="stringliteral">"%08d"</span>, <a class="code" href="classKFeedbackAnswer.html#1ddde383928714423714a70a829a0c57">_no</a> ); <a name="l00485"></a>00485 <a name="l00486"></a>00486 <span class="keywordflow">return</span> no; |