summaryrefslogtreecommitdiffstats
path: root/doc/html/showrecord_8cpp-source.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/showrecord_8cpp-source.html')
-rw-r--r--doc/html/showrecord_8cpp-source.html114
1 files changed, 57 insertions, 57 deletions
diff --git a/doc/html/showrecord_8cpp-source.html b/doc/html/showrecord_8cpp-source.html
index ed0fbe4..e77ccc8 100644
--- a/doc/html/showrecord_8cpp-source.html
+++ b/doc/html/showrecord_8cpp-source.html
@@ -48,7 +48,7 @@
<a name="l00031"></a>00031 {
<a name="l00032"></a>00032 }
<a name="l00033"></a>00033
-<a name="l00034"></a><a class="code" href="classShowRecord.html#2b0757f2678223ca4e51257766dd64a3">00034</a> <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#2b0757f2678223ca4e51257766dd64a3">ShowRecord::saveOptions</a>( QDomDocument&amp; doc, QDomElement&amp; parent )
+<a name="l00034"></a><a class="code" href="classShowRecord.html#2b0757f2678223ca4e51257766dd64a3">00034</a> <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#2b0757f2678223ca4e51257766dd64a3">ShowRecord::saveOptions</a>( TQDomDocument&amp; doc, TQDomElement&amp; parent )
<a name="l00035"></a>00035 {
<a name="l00036"></a>00036 <span class="comment">//Loop over all mail items</span>
<a name="l00037"></a>00037 <span class="keywordflow">for</span>( <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* pElem = first(); pElem; pElem = next() )
@@ -58,19 +58,19 @@
<a name="l00041"></a>00041 }
<a name="l00042"></a>00042 }
<a name="l00043"></a>00043
-<a name="l00044"></a><a class="code" href="classShowRecord.html#87bd29245b100a9d291856fd0784662f">00044</a> <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#87bd29245b100a9d291856fd0784662f">ShowRecord::readStoredMails</a>( QDomElement&amp; parent )
+<a name="l00044"></a><a class="code" href="classShowRecord.html#87bd29245b100a9d291856fd0784662f">00044</a> <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#87bd29245b100a9d291856fd0784662f">ShowRecord::readStoredMails</a>( TQDomElement&amp; parent )
<a name="l00045"></a>00045 {
<a name="l00046"></a>00046 <span class="comment">//clear the list</span>
<a name="l00047"></a>00047 clear();
<a name="l00048"></a>00048
<a name="l00049"></a>00049 <span class="comment">//get first DOM node (mail)</span>
-<a name="l00050"></a>00050 QDomNode n = parent.firstChild();
+<a name="l00050"></a>00050 TQDomNode n = parent.firstChild();
<a name="l00051"></a>00051
<a name="l00052"></a>00052 <span class="comment">//iterate over all mail items stored in the given account</span>
<a name="l00053"></a>00053 <span class="keywordflow">while</span>( !n.isNull() )
<a name="l00054"></a>00054 {
<a name="l00055"></a>00055 <span class="comment">//get element of the current node</span>
-<a name="l00056"></a>00056 QDomElement e = n.toElement();
+<a name="l00056"></a>00056 TQDomElement e = n.toElement();
<a name="l00057"></a>00057
<a name="l00058"></a>00058 <span class="comment">//create mail object</span>
<a name="l00059"></a>00059 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* pElem = <span class="keyword">new</span> <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>();
@@ -121,7 +121,7 @@
<a name="l00104"></a>00104 {
<a name="l00105"></a>00105 <a class="code" href="namespaceTypes.html#48fad16d3707caeaf47bb1e8fab4be55">MailNumberList_Type</a> list; <span class="comment">//contains the numbers of selected mails</span>
<a name="l00106"></a>00106 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* mail; <span class="comment">//mail from which we want to get the number (if selected)</span>
-<a name="l00107"></a>00107 QPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
+<a name="l00107"></a>00107 TQPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
<a name="l00108"></a>00108
<a name="l00109"></a>00109 <span class="comment">//iterate over all mails</span>
<a name="l00110"></a>00110 <span class="keywordflow">while</span>( ( mail = it.current() ) != NULL )
@@ -139,7 +139,7 @@
<a name="l00122"></a>00122
<a name="l00123"></a><a class="code" href="classShowRecord.html#d9075f4c8de5af4b0b5870d1ff71f4ea">00123</a> <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#d9075f4c8de5af4b0b5870d1ff71f4ea">ShowRecord::removeMail</a>( <span class="keywordtype">int</span> number )
<a name="l00124"></a>00124 {
-<a name="l00125"></a>00125 QPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
+<a name="l00125"></a>00125 TQPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
<a name="l00126"></a>00126 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* mail; <span class="comment">//current mail</span>
<a name="l00127"></a>00127
<a name="l00128"></a>00128 <span class="comment">//looking for the mail with the number 'number'</span>
@@ -154,10 +154,10 @@
<a name="l00137"></a>00137 }
<a name="l00138"></a>00138 }
<a name="l00139"></a>00139
-<a name="l00140"></a><a class="code" href="classShowRecord.html#c78c6981b92a2546d4ee75320aba380d">00140</a> QStringList <a class="code" href="classShowRecord.html#c78c6981b92a2546d4ee75320aba380d">ShowRecord::getSelectedSubjects</a>( )<span class="keyword"> const</span>
+<a name="l00140"></a><a class="code" href="classShowRecord.html#c78c6981b92a2546d4ee75320aba380d">00140</a> TQStringList <a class="code" href="classShowRecord.html#c78c6981b92a2546d4ee75320aba380d">ShowRecord::getSelectedSubjects</a>( )<span class="keyword"> const</span>
<a name="l00141"></a>00141 <span class="keyword"></span>{
-<a name="l00142"></a>00142 QStringList subjects; <span class="comment">//contains the subjects</span>
-<a name="l00143"></a>00143 QPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
+<a name="l00142"></a>00142 TQStringList subjects; <span class="comment">//contains the subjects</span>
+<a name="l00143"></a>00143 TQPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
<a name="l00144"></a>00144 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* mail; <span class="comment">//current mail</span>
<a name="l00145"></a>00145
<a name="l00146"></a>00146 <span class="comment">//iterate over all mails</span>
@@ -174,12 +174,12 @@
<a name="l00157"></a>00157 <span class="keywordflow">return</span> subjects;
<a name="l00158"></a>00158 }
<a name="l00159"></a>00159
-<a name="l00160"></a><a class="code" href="classShowRecord.html#51a8d0c91d32e6fdc20cb8f5f2350cac">00160</a> QString <a class="code" href="classShowRecord.html#51a8d0c91d32e6fdc20cb8f5f2350cac">ShowRecord::getSenderOf</a>( <span class="keywordtype">int</span> number )<span class="keyword"> const</span>
+<a name="l00160"></a><a class="code" href="classShowRecord.html#51a8d0c91d32e6fdc20cb8f5f2350cac">00160</a> TQString <a class="code" href="classShowRecord.html#51a8d0c91d32e6fdc20cb8f5f2350cac">ShowRecord::getSenderOf</a>( <span class="keywordtype">int</span> number )<span class="keyword"> const</span>
<a name="l00161"></a>00161 <span class="keyword"></span>{
-<a name="l00162"></a>00162 QPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
+<a name="l00162"></a>00162 TQPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
<a name="l00163"></a>00163 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* mail; <span class="comment">//current mail</span>
<a name="l00164"></a>00164 <span class="keywordtype">bool</span> found = <span class="keyword">false</span>; <span class="comment">//True, when the wanted mail was found</span>
-<a name="l00165"></a>00165 QString sender; <span class="comment">//sender of the wanted mail</span>
+<a name="l00165"></a>00165 TQString sender; <span class="comment">//sender of the wanted mail</span>
<a name="l00166"></a>00166
<a name="l00167"></a>00167 <span class="comment">//looking for the mail with the number 'number'</span>
<a name="l00168"></a>00168 <span class="keywordflow">while</span>( ( mail = it.current() ) != NULL &amp;&amp; !found )
@@ -197,12 +197,12 @@
<a name="l00180"></a>00180 <span class="keywordflow">return</span> sender;
<a name="l00181"></a>00181 }
<a name="l00182"></a>00182
-<a name="l00183"></a><a class="code" href="classShowRecord.html#93c44ad805a67e955b3cfa2518291613">00183</a> QString <a class="code" href="classShowRecord.html#93c44ad805a67e955b3cfa2518291613">ShowRecord::getDateOf</a>( <span class="keywordtype">int</span> number )<span class="keyword"> const</span>
+<a name="l00183"></a><a class="code" href="classShowRecord.html#93c44ad805a67e955b3cfa2518291613">00183</a> TQString <a class="code" href="classShowRecord.html#93c44ad805a67e955b3cfa2518291613">ShowRecord::getDateOf</a>( <span class="keywordtype">int</span> number )<span class="keyword"> const</span>
<a name="l00184"></a>00184 <span class="keyword"></span>{
-<a name="l00185"></a>00185 QPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
+<a name="l00185"></a>00185 TQPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
<a name="l00186"></a>00186 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* mail; <span class="comment">//current mail</span>
<a name="l00187"></a>00187 <span class="keywordtype">bool</span> found = <span class="keyword">false</span>; <span class="comment">//True, when the wanted mail was found</span>
-<a name="l00188"></a>00188 QString date; <span class="comment">//sent date of the wanted mail</span>
+<a name="l00188"></a>00188 TQString date; <span class="comment">//sent date of the wanted mail</span>
<a name="l00189"></a>00189
<a name="l00190"></a>00190 <span class="comment">//looking for the mail with the number 'number'</span>
<a name="l00191"></a>00191 <span class="keywordflow">while</span>( ( mail = it.current() ) != NULL &amp;&amp; !found )
@@ -221,12 +221,12 @@
<a name="l00204"></a>00204
<a name="l00205"></a>00205 }
<a name="l00206"></a>00206
-<a name="l00207"></a><a class="code" href="classShowRecord.html#b1a6f1fee65db84e5496619c14035539">00207</a> QString <a class="code" href="classShowRecord.html#b1a6f1fee65db84e5496619c14035539">ShowRecord::getSizeOf</a>( <span class="keywordtype">int</span> number )<span class="keyword"> const</span>
+<a name="l00207"></a><a class="code" href="classShowRecord.html#b1a6f1fee65db84e5496619c14035539">00207</a> TQString <a class="code" href="classShowRecord.html#b1a6f1fee65db84e5496619c14035539">ShowRecord::getSizeOf</a>( <span class="keywordtype">int</span> number )<span class="keyword"> const</span>
<a name="l00208"></a>00208 <span class="keyword"></span>{
-<a name="l00209"></a>00209 QPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
+<a name="l00209"></a>00209 TQPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
<a name="l00210"></a>00210 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* mail; <span class="comment">//current mail</span>
<a name="l00211"></a>00211 <span class="keywordtype">bool</span> found = <span class="keyword">false</span>; <span class="comment">//True, when the wanted mail was found</span>
-<a name="l00212"></a>00212 QString size; <span class="comment">//size of the wanted mail</span>
+<a name="l00212"></a>00212 TQString size; <span class="comment">//size of the wanted mail</span>
<a name="l00213"></a>00213
<a name="l00214"></a>00214 <span class="comment">//looking for the mail with the number 'number'</span>
<a name="l00215"></a>00215 <span class="keywordflow">while</span>( ( mail = it.current() ) != NULL &amp;&amp; !found )
@@ -245,12 +245,12 @@
<a name="l00228"></a>00228
<a name="l00229"></a>00229 }
<a name="l00230"></a>00230
-<a name="l00231"></a><a class="code" href="classShowRecord.html#38d282950be6217d1488efc720a5f415">00231</a> QString <a class="code" href="classShowRecord.html#38d282950be6217d1488efc720a5f415">ShowRecord::getSubjectOf</a>( <span class="keywordtype">int</span> number )<span class="keyword"> const</span>
+<a name="l00231"></a><a class="code" href="classShowRecord.html#38d282950be6217d1488efc720a5f415">00231</a> TQString <a class="code" href="classShowRecord.html#38d282950be6217d1488efc720a5f415">ShowRecord::getSubjectOf</a>( <span class="keywordtype">int</span> number )<span class="keyword"> const</span>
<a name="l00232"></a>00232 <span class="keyword"></span>{
-<a name="l00233"></a>00233 QPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
+<a name="l00233"></a>00233 TQPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
<a name="l00234"></a>00234 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* mail; <span class="comment">//current mail</span>
<a name="l00235"></a>00235 <span class="keywordtype">bool</span> found = <span class="keyword">false</span>; <span class="comment">//True, when the wanted mail was found</span>
-<a name="l00236"></a>00236 QString subject; <span class="comment">//subject of the wanted mail</span>
+<a name="l00236"></a>00236 TQString subject; <span class="comment">//subject of the wanted mail</span>
<a name="l00237"></a>00237
<a name="l00238"></a>00238 <span class="comment">//looking for the mail with the number 'number'</span>
<a name="l00239"></a>00239 <span class="keywordflow">while</span>( ( mail = it.current() ) != NULL &amp;&amp; !found )
@@ -269,12 +269,12 @@
<a name="l00252"></a>00252
<a name="l00253"></a>00253 }
<a name="l00254"></a>00254
-<a name="l00255"></a><a class="code" href="classShowRecord.html#dde4ccc3e28c0d7e233ace3810a28814">00255</a> QString <a class="code" href="classShowRecord.html#dde4ccc3e28c0d7e233ace3810a28814">ShowRecord::decodeMailBody</a>( QByteArray body, <span class="keywordtype">int</span> number, <span class="keywordtype">bool</span> preferHTML )<span class="keyword"> const</span>
+<a name="l00255"></a><a class="code" href="classShowRecord.html#dde4ccc3e28c0d7e233ace3810a28814">00255</a> TQString <a class="code" href="classShowRecord.html#dde4ccc3e28c0d7e233ace3810a28814">ShowRecord::decodeMailBody</a>( TQByteArray body, <span class="keywordtype">int</span> number, <span class="keywordtype">bool</span> preferHTML )<span class="keyword"> const</span>
<a name="l00256"></a>00256 <span class="keyword"></span>{
-<a name="l00257"></a>00257 QPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
+<a name="l00257"></a>00257 TQPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
<a name="l00258"></a>00258 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* mail; <span class="comment">//current mail</span>
<a name="l00259"></a>00259 <span class="keywordtype">bool</span> found = <span class="keyword">false</span>; <span class="comment">//True, when the wanted mail was found</span>
-<a name="l00260"></a>00260 QString mailbody; <span class="comment">//decoded mail</span>
+<a name="l00260"></a>00260 TQString mailbody; <span class="comment">//decoded mail</span>
<a name="l00261"></a>00261
<a name="l00262"></a>00262 <span class="comment">//looking for the mail with the number 'number'</span>
<a name="l00263"></a>00263 <span class="keywordflow">while</span>( ( mail = it.current() ) != NULL &amp;&amp; !found )
@@ -293,9 +293,9 @@
<a name="l00276"></a>00276
<a name="l00277"></a>00277 }
<a name="l00278"></a>00278
-<a name="l00279"></a><a class="code" href="classShowRecord.html#1fca27c3d569bbd1b1d673f2ac847791">00279</a> <span class="keywordtype">bool</span> <a class="code" href="classShowRecord.html#1fca27c3d569bbd1b1d673f2ac847791">ShowRecord::hasMail</a>( QString uid )
+<a name="l00279"></a><a class="code" href="classShowRecord.html#1fca27c3d569bbd1b1d673f2ac847791">00279</a> <span class="keywordtype">bool</span> <a class="code" href="classShowRecord.html#1fca27c3d569bbd1b1d673f2ac847791">ShowRecord::hasMail</a>( TQString uid )
<a name="l00280"></a>00280 {
-<a name="l00281"></a>00281 QPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
+<a name="l00281"></a>00281 TQPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
<a name="l00282"></a>00282 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* mail; <span class="comment">//current mail</span>
<a name="l00283"></a>00283 <span class="keywordtype">bool</span> found = <span class="keyword">false</span>; <span class="comment">//True, when the wanted mail was found</span>
<a name="l00284"></a>00284
@@ -313,7 +313,7 @@
<a name="l00296"></a>00296 <span class="keywordflow">return</span> found;
<a name="l00297"></a>00297 }
<a name="l00298"></a>00298
-<a name="l00299"></a><a class="code" href="classShowRecord.html#97b16a09a5a51b68f7d2b3efb95c80ea">00299</a> <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#97b16a09a5a51b68f7d2b3efb95c80ea">ShowRecord::appendNewMail</a>( <span class="keywordtype">int</span> number, QString uid, <span class="keywordtype">bool</span> isNew )
+<a name="l00299"></a><a class="code" href="classShowRecord.html#97b16a09a5a51b68f7d2b3efb95c80ea">00299</a> <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#97b16a09a5a51b68f7d2b3efb95c80ea">ShowRecord::appendNewMail</a>( <span class="keywordtype">int</span> number, TQString uid, <span class="keywordtype">bool</span> isNew )
<a name="l00300"></a>00300 {
<a name="l00301"></a>00301 <span class="comment">//create new mail</span>
<a name="l00302"></a>00302 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* newMail = <span class="keyword">new</span> <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>( number, uid, isNew );
@@ -325,7 +325,7 @@
<a name="l00308"></a>00308
<a name="l00309"></a><a class="code" href="classShowRecord.html#1705c73921184eda80bd63f979ef34bc">00309</a> <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#1705c73921184eda80bd63f979ef34bc">ShowRecord::printMailList</a>( )
<a name="l00310"></a>00310 {
-<a name="l00311"></a>00311 QPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
+<a name="l00311"></a>00311 TQPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
<a name="l00312"></a>00312 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* mail; <span class="comment">//current mail</span>
<a name="l00313"></a>00313
<a name="l00314"></a>00314 <span class="keywordflow">while</span>( ( mail = it.current() ) )
@@ -341,7 +341,7 @@
<a name="l00324"></a>00324
<a name="l00325"></a><a class="code" href="classShowRecord.html#f3ae42223f76c35b2273119916a82a24">00325</a> <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#f3ae42223f76c35b2273119916a82a24">ShowRecord::setSize</a>( <span class="keywordtype">int</span> number, <span class="keywordtype">long</span> size )
<a name="l00326"></a>00326 {
-<a name="l00327"></a>00327 QPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
+<a name="l00327"></a>00327 TQPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
<a name="l00328"></a>00328 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* mail; <span class="comment">//current mail</span>
<a name="l00329"></a>00329 <span class="keywordtype">bool</span> found = <span class="keyword">false</span>; <span class="comment">//True, when the wanted mail was found</span>
<a name="l00330"></a>00330
@@ -364,7 +364,7 @@
<a name="l00347"></a>00347 {
<a name="l00348"></a>00348 <a class="code" href="namespaceTypes.html#48fad16d3707caeaf47bb1e8fab4be55">MailNumberList_Type</a> list; <span class="comment">//contains the numbers of the new mails</span>
<a name="l00349"></a>00349 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* mail; <span class="comment">//mail from which we want to get the number (if new)</span>
-<a name="l00350"></a>00350 QPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
+<a name="l00350"></a>00350 TQPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
<a name="l00351"></a>00351
<a name="l00352"></a>00352 <span class="comment">//iterate over all mails</span>
<a name="l00353"></a>00353 <span class="keywordflow">while</span>( ( mail = it.current() ) != NULL )
@@ -380,9 +380,9 @@
<a name="l00363"></a>00363 <span class="keywordflow">return</span> list;
<a name="l00364"></a>00364 }
<a name="l00365"></a>00365
-<a name="l00366"></a><a class="code" href="classShowRecord.html#29fe412b8ef3eb2b71bbd93268baaf9a">00366</a> <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#29fe412b8ef3eb2b71bbd93268baaf9a">ShowRecord::setHeader</a>( <span class="keywordtype">int</span> number, QString header )
+<a name="l00366"></a><a class="code" href="classShowRecord.html#29fe412b8ef3eb2b71bbd93268baaf9a">00366</a> <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#29fe412b8ef3eb2b71bbd93268baaf9a">ShowRecord::setHeader</a>( <span class="keywordtype">int</span> number, TQString header )
<a name="l00367"></a>00367 {
-<a name="l00368"></a>00368 QPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
+<a name="l00368"></a>00368 TQPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
<a name="l00369"></a>00369 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* mail; <span class="comment">//current mail</span>
<a name="l00370"></a>00370 <span class="keywordtype">bool</span> found = <span class="keyword">false</span>; <span class="comment">//True, when the wanted mail was found</span>
<a name="l00371"></a>00371
@@ -401,11 +401,11 @@
<a name="l00384"></a>00384 }
<a name="l00385"></a>00385 }
<a name="l00386"></a>00386
-<a name="l00387"></a><a class="code" href="classShowRecord.html#ae03febb272198c00851b4e46be68b83">00387</a> QStringList <a class="code" href="classShowRecord.html#ae03febb272198c00851b4e46be68b83">ShowRecord::getUIDsOfOldMails</a>( )
+<a name="l00387"></a><a class="code" href="classShowRecord.html#ae03febb272198c00851b4e46be68b83">00387</a> TQStringList <a class="code" href="classShowRecord.html#ae03febb272198c00851b4e46be68b83">ShowRecord::getUIDsOfOldMails</a>( )
<a name="l00388"></a>00388 {
-<a name="l00389"></a>00389 QStringList list; <span class="comment">//contains the UIDs of the old mails</span>
+<a name="l00389"></a>00389 TQStringList list; <span class="comment">//contains the UIDs of the old mails</span>
<a name="l00390"></a>00390 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* mail; <span class="comment">//mail from which we want to get the uid (if old)</span>
-<a name="l00391"></a>00391 QPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
+<a name="l00391"></a>00391 TQPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
<a name="l00392"></a>00392
<a name="l00393"></a>00393 <span class="comment">//iterate over all mails</span>
<a name="l00394"></a>00394 <span class="keywordflow">while</span>( ( mail = it.current() ) != NULL )
@@ -421,12 +421,12 @@
<a name="l00404"></a>00404 <span class="keywordflow">return</span> list;
<a name="l00405"></a>00405 }
<a name="l00406"></a>00406
-<a name="l00407"></a><a class="code" href="classShowRecord.html#15ef001ed312f642b8cd8cf2619ecfb4">00407</a> QString <a class="code" href="classShowRecord.html#15ef001ed312f642b8cd8cf2619ecfb4">ShowRecord::getHeaderOf</a>( QString uid )
+<a name="l00407"></a><a class="code" href="classShowRecord.html#15ef001ed312f642b8cd8cf2619ecfb4">00407</a> TQString <a class="code" href="classShowRecord.html#15ef001ed312f642b8cd8cf2619ecfb4">ShowRecord::getHeaderOf</a>( TQString uid )
<a name="l00408"></a>00408 {
-<a name="l00409"></a>00409 QPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
+<a name="l00409"></a>00409 TQPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
<a name="l00410"></a>00410 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* mail; <span class="comment">//current mail</span>
<a name="l00411"></a>00411 <span class="keywordtype">bool</span> found = <span class="keyword">false</span>; <span class="comment">//True, when the wanted mail was found</span>
-<a name="l00412"></a>00412 QString header; <span class="comment">//header of the wanted mail</span>
+<a name="l00412"></a>00412 TQString header; <span class="comment">//header of the wanted mail</span>
<a name="l00413"></a>00413
<a name="l00414"></a>00414 <span class="comment">//looking for the mail with the UID 'uid'</span>
<a name="l00415"></a>00415 <span class="keywordflow">while</span>( ( mail = it.current() ) != NULL &amp;&amp; !found )
@@ -444,9 +444,9 @@
<a name="l00427"></a>00427 <span class="keywordflow">return</span> header;
<a name="l00428"></a>00428 }
<a name="l00429"></a>00429
-<a name="l00430"></a><a class="code" href="classShowRecord.html#230b5d25e61a0aa76a9adf852bf73d98">00430</a> <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#29fe412b8ef3eb2b71bbd93268baaf9a">ShowRecord::setHeader</a>( QString uid, QString header )
+<a name="l00430"></a><a class="code" href="classShowRecord.html#230b5d25e61a0aa76a9adf852bf73d98">00430</a> <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#29fe412b8ef3eb2b71bbd93268baaf9a">ShowRecord::setHeader</a>( TQString uid, TQString header )
<a name="l00431"></a>00431 {
-<a name="l00432"></a>00432 QPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
+<a name="l00432"></a>00432 TQPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
<a name="l00433"></a>00433 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* mail; <span class="comment">//current mail</span>
<a name="l00434"></a>00434 <span class="keywordtype">bool</span> found = <span class="keyword">false</span>; <span class="comment">//True, when the wanted mail was found</span>
<a name="l00435"></a>00435
@@ -467,7 +467,7 @@
<a name="l00450"></a>00450
<a name="l00451"></a><a class="code" href="classShowRecord.html#fb2d493f52927c18ccc35352d2d2b115">00451</a> <span class="keywordtype">int</span> <a class="code" href="classShowRecord.html#fb2d493f52927c18ccc35352d2d2b115">ShowRecord::getNumberNewMails</a>( )
<a name="l00452"></a>00452 {
-<a name="l00453"></a>00453 QPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
+<a name="l00453"></a>00453 TQPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
<a name="l00454"></a>00454 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* mail; <span class="comment">//current mail</span>
<a name="l00455"></a>00455 <span class="keywordtype">int</span> number = 0; <span class="comment">//number of new mails</span>
<a name="l00456"></a>00456
@@ -491,7 +491,7 @@
<a name="l00474"></a>00474
<a name="l00475"></a><a class="code" href="classShowRecord.html#c6c9d9e7e23f57006d2d573442a144b5">00475</a> <span class="keywordtype">long</span> <a class="code" href="classShowRecord.html#c6c9d9e7e23f57006d2d573442a144b5">ShowRecord::getTotalSize</a>( )
<a name="l00476"></a>00476 {
-<a name="l00477"></a>00477 QPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
+<a name="l00477"></a>00477 TQPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
<a name="l00478"></a>00478 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* mail; <span class="comment">//current mail</span>
<a name="l00479"></a>00479 <span class="keywordtype">long</span> size = 0; <span class="comment">//total size of all mails</span>
<a name="l00480"></a>00480
@@ -506,9 +506,9 @@
<a name="l00489"></a>00489 <span class="keywordflow">return</span> size;
<a name="l00490"></a>00490 }
<a name="l00491"></a>00491
-<a name="l00492"></a><a class="code" href="classShowRecord.html#7124760f6dffce82cf267276f4c0d015">00492</a> <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#7124760f6dffce82cf267276f4c0d015">ShowRecord::fillMailListView</a>( <a class="code" href="classKshowmailView.html">KshowmailView</a> * view, QString &amp; account )
+<a name="l00492"></a><a class="code" href="classShowRecord.html#7124760f6dffce82cf267276f4c0d015">00492</a> <span class="keywordtype">void</span> <a class="code" href="classShowRecord.html#7124760f6dffce82cf267276f4c0d015">ShowRecord::fillMailListView</a>( <a class="code" href="classKshowmailView.html">KshowmailView</a> * view, TQString &amp; account )
<a name="l00493"></a>00493 {
-<a name="l00494"></a>00494 QPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
+<a name="l00494"></a>00494 TQPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
<a name="l00495"></a>00495 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* mail; <span class="comment">//current mail</span>
<a name="l00496"></a>00496
<a name="l00497"></a>00497 <span class="comment">//iterate over all mails and order the mail to create a list view item</span>
@@ -518,23 +518,23 @@
<a name="l00501"></a>00501 ++it;
<a name="l00502"></a>00502
<a name="l00503"></a>00503 <span class="comment">//insert list view item</span>
-<a name="l00504"></a>00504 QString number = QString( <span class="stringliteral">"%1"</span> ).arg( mail-&gt;<a class="code" href="classShowRecordElem.html#62999d75baf9a6bff999c8621a419926">number</a>() );
-<a name="l00505"></a>00505 QString from = mail-&gt;<a class="code" href="classShowRecordElem.html#a4d48b3072adb4f87f56ed2b5e35dbba">from</a>();
-<a name="l00506"></a>00506 QString to = mail-&gt;<a class="code" href="classShowRecordElem.html#759a16f3424defc71b4cfd762b156fd1">to</a>();
-<a name="l00507"></a>00507 QString subject = mail-&gt;<a class="code" href="classShowRecordElem.html#b3b6657b842bbd5e4759fe7f55534416">subject</a>();
-<a name="l00508"></a>00508 QString date = mail-&gt;<a class="code" href="classShowRecordElem.html#412ad2a7452c1f5390f2679f1d443292">date</a>();
-<a name="l00509"></a>00509 QString size = QString( <span class="stringliteral">"%1"</span> ).arg( mail-&gt;<a class="code" href="classShowRecordElem.html#4b4077ca5d47226ccb44b6d8373a4fbd">size</a>() );
-<a name="l00510"></a>00510 QString content = mail-&gt;<a class="code" href="classShowRecordElem.html#8d655afdb7350fd4a27b551da7a8a797">content</a>();
-<a name="l00511"></a>00511 QString state = mail-&gt;<a class="code" href="classShowRecordElem.html#f00398057086a7fbee1205c5d0f605a2">state</a>();
-<a name="l00512"></a>00512 QString time = mail-&gt;<a class="code" href="classShowRecordElem.html#0e554cd8f1e67b3e448054e8c6fdc91c">strUnixTime</a>();
+<a name="l00504"></a>00504 TQString number = TQString( <span class="stringliteral">"%1"</span> ).arg( mail-&gt;<a class="code" href="classShowRecordElem.html#62999d75baf9a6bff999c8621a419926">number</a>() );
+<a name="l00505"></a>00505 TQString from = mail-&gt;<a class="code" href="classShowRecordElem.html#a4d48b3072adb4f87f56ed2b5e35dbba">from</a>();
+<a name="l00506"></a>00506 TQString to = mail-&gt;<a class="code" href="classShowRecordElem.html#759a16f3424defc71b4cfd762b156fd1">to</a>();
+<a name="l00507"></a>00507 TQString subject = mail-&gt;<a class="code" href="classShowRecordElem.html#b3b6657b842bbd5e4759fe7f55534416">subject</a>();
+<a name="l00508"></a>00508 TQString date = mail-&gt;<a class="code" href="classShowRecordElem.html#412ad2a7452c1f5390f2679f1d443292">date</a>();
+<a name="l00509"></a>00509 TQString size = TQString( <span class="stringliteral">"%1"</span> ).arg( mail-&gt;<a class="code" href="classShowRecordElem.html#4b4077ca5d47226ccb44b6d8373a4fbd">size</a>() );
+<a name="l00510"></a>00510 TQString content = mail-&gt;<a class="code" href="classShowRecordElem.html#8d655afdb7350fd4a27b551da7a8a797">content</a>();
+<a name="l00511"></a>00511 TQString state = mail-&gt;<a class="code" href="classShowRecordElem.html#f00398057086a7fbee1205c5d0f605a2">state</a>();
+<a name="l00512"></a>00512 TQString time = mail-&gt;<a class="code" href="classShowRecordElem.html#0e554cd8f1e67b3e448054e8c6fdc91c">strUnixTime</a>();
<a name="l00513"></a>00513 mail-&gt;<a class="code" href="classShowRecordElem.html#e7f2ca5eb9a9bc95266a4f83f78cd76e">setViewItem</a>( view-&gt;<a class="code" href="classKshowmailView.html#8330c6f139457ae5dd1510efb3f665e4">insertMail</a>( number, account, from, to, subject, date, size, content, state, time ) );
<a name="l00514"></a>00514 }
<a name="l00515"></a>00515
<a name="l00516"></a>00516 }
<a name="l00517"></a>00517
-<a name="l00518"></a><a class="code" href="classShowRecord.html#89005d433c577ed0e412c6314400cc31">00518</a> <span class="keywordtype">int</span> <a class="code" href="classShowRecord.html#89005d433c577ed0e412c6314400cc31">ShowRecord::showSelectedHeaders</a>( QString&amp; account )
+<a name="l00518"></a><a class="code" href="classShowRecord.html#89005d433c577ed0e412c6314400cc31">00518</a> <span class="keywordtype">int</span> <a class="code" href="classShowRecord.html#89005d433c577ed0e412c6314400cc31">ShowRecord::showSelectedHeaders</a>( TQString&amp; account )
<a name="l00519"></a>00519 {
-<a name="l00520"></a>00520 QPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
+<a name="l00520"></a>00520 TQPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
<a name="l00521"></a>00521 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* mail; <span class="comment">//current mail</span>
<a name="l00522"></a>00522 <span class="keywordtype">int</span> showNextHeader = <a class="code" href="classShowRecordElem.html#2b5bdb3ed3f940614135b9c9f1f13eb6">ShowRecordElem::continueShowHeaders</a>; <span class="comment">//return value of ShowRecordElem::showHeader()</span>
<a name="l00523"></a>00523
@@ -551,9 +551,9 @@
<a name="l00534"></a>00534 <span class="keywordflow">return</span> showNextHeader == <a class="code" href="classShowRecordElem.html#2b5bdb3ed3f940614135b9c9f1f13eb6">ShowRecordElem::continueShowHeaders</a> ? <a class="code" href="classShowRecord.html#24f3968b9bd526deb987f3e21f264404">ShowRecord::continueShowHeaders</a> : <a class="code" href="classShowRecord.html#8f9c8ce1f77c014cd4efcbf65c9b11f5">ShowRecord::cancelShowHeaders</a>;
<a name="l00535"></a>00535 }
<a name="l00536"></a>00536
-<a name="l00537"></a><a class="code" href="classShowRecord.html#89b22dcaa5ff6f47121150b7d25939d0">00537</a> <span class="keywordtype">bool</span> <a class="code" href="classShowRecord.html#89b22dcaa5ff6f47121150b7d25939d0">ShowRecord::isNew</a>( QString uid )<span class="keyword"> const</span>
+<a name="l00537"></a><a class="code" href="classShowRecord.html#89b22dcaa5ff6f47121150b7d25939d0">00537</a> <span class="keywordtype">bool</span> <a class="code" href="classShowRecord.html#89b22dcaa5ff6f47121150b7d25939d0">ShowRecord::isNew</a>( TQString uid )<span class="keyword"> const</span>
<a name="l00538"></a>00538 <span class="keyword"></span>{
-<a name="l00539"></a>00539 QPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
+<a name="l00539"></a>00539 TQPtrListIterator&lt;ShowRecordElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the mail list</span>
<a name="l00540"></a>00540 <a class="code" href="classShowRecordElem.html">ShowRecordElem</a>* mail; <span class="comment">//current mail</span>
<a name="l00541"></a>00541 <span class="keywordtype">bool</span> found = <span class="keyword">false</span>; <span class="comment">//True, when the wanted mail was found</span>
<a name="l00542"></a>00542 <span class="keywordtype">bool</span> newMail = <span class="keyword">false</span>; <span class="comment">//at time we have not found it, therefore the return value is false</span>