summaryrefslogtreecommitdiffstats
path: root/doc/html/configlist_8cpp-source.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/configlist_8cpp-source.html')
-rw-r--r--doc/html/configlist_8cpp-source.html118
1 files changed, 59 insertions, 59 deletions
diff --git a/doc/html/configlist_8cpp-source.html b/doc/html/configlist_8cpp-source.html
index 2564682..9f97aae 100644
--- a/doc/html/configlist_8cpp-source.html
+++ b/doc/html/configlist_8cpp-source.html
@@ -36,11 +36,11 @@
<a name="l00019"></a>00019 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
<a name="l00020"></a>00020 <span class="preprocessor">#include &lt;stdlib.h&gt;</span>
<a name="l00021"></a>00021
-<a name="l00022"></a>00022 <span class="preprocessor">#include &lt;qfile.h&gt;</span>
+<a name="l00022"></a>00022 <span class="preprocessor">#include &lt;ntqfile.h&gt;</span>
<a name="l00023"></a>00023
-<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;kconfig.h&gt;</span>
+<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;tdeconfig.h&gt;</span>
<a name="l00025"></a>00025 <span class="preprocessor">#include &lt;ksavefile.h&gt;</span>
-<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;kapplication.h&gt;</span>
+<a name="l00026"></a>00026 <span class="preprocessor">#include &lt;tdeapplication.h&gt;</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include &lt;kstandarddirs.h&gt;</span>
<a name="l00028"></a>00028 <span class="preprocessor">#include &lt;kaudioplayer.h&gt;</span>
<a name="l00029"></a>00029 <span class="preprocessor">#include &lt;kdebug.h&gt;</span>
@@ -48,7 +48,7 @@
<a name="l00031"></a>00031 <span class="preprocessor">#include "configlist.h"</span>
<a name="l00032"></a>00032 <span class="preprocessor">#include "filter.h"</span>
<a name="l00033"></a>00033
-<a name="l00034"></a><a class="code" href="classConfigList.html#457897bbe5bd27799e6f920d4cea2173">00034</a> <a class="code" href="classConfigList.html#457897bbe5bd27799e6f920d4cea2173">ConfigList::ConfigList</a>() : QObject()
+<a name="l00034"></a><a class="code" href="classConfigList.html#457897bbe5bd27799e6f920d4cea2173">00034</a> <a class="code" href="classConfigList.html#457897bbe5bd27799e6f920d4cea2173">ConfigList::ConfigList</a>() : TQObject()
<a name="l00035"></a>00035 {
<a name="l00036"></a>00036 setAutoDelete (<span class="keyword">true</span>);
<a name="l00037"></a>00037
@@ -76,7 +76,7 @@
<a name="l00059"></a>00059 <a class="code" href="classConfigList.html#f4a428e650cf89e8ae0df0a2983f96f4">m_nPop3Timer</a> = DEFAULT_TIMEOUT_TIME;
<a name="l00060"></a>00060 }
<a name="l00061"></a>00061
-<a name="l00062"></a><a class="code" href="classConfigList.html#8bf1aaa71ff8971369466e5c2a36d27f">00062</a> <span class="keywordtype">int</span> <a class="code" href="classConfigList.html#8bf1aaa71ff8971369466e5c2a36d27f">ConfigList::compareItems</a>( QCollection::Item item1, QCollection::Item item2 )
+<a name="l00062"></a><a class="code" href="classConfigList.html#8bf1aaa71ff8971369466e5c2a36d27f">00062</a> <span class="keywordtype">int</span> <a class="code" href="classConfigList.html#8bf1aaa71ff8971369466e5c2a36d27f">ConfigList::compareItems</a>( TQCollection::Item item1, TQCollection::Item item2 )
<a name="l00063"></a>00063 {
<a name="l00064"></a>00064 <a class="code" href="classConfigElem.html">ConfigElem</a>* p1 = (<a class="code" href="classConfigElem.html">ConfigElem</a>*)item1;
<a name="l00065"></a>00065 <a class="code" href="classConfigElem.html">ConfigElem</a>* p2 = (<a class="code" href="classConfigElem.html">ConfigElem</a>*)item2;
@@ -84,7 +84,7 @@
<a name="l00067"></a>00067 <span class="keywordflow">return</span> strcmp( p1-&gt;<a class="code" href="classConfigElem.html#760e18ad688d55cd76bfeeb4958df769">getAccountName</a>(), p2-&gt;<a class="code" href="classConfigElem.html#760e18ad688d55cd76bfeeb4958df769">getAccountName</a>() );
<a name="l00068"></a>00068 }
<a name="l00069"></a>00069
-<a name="l00070"></a><a class="code" href="classConfigList.html#24464fe479402405ee9b849ddcc9c567">00070</a> QCollection::Item <a class="code" href="classConfigList.html#24464fe479402405ee9b849ddcc9c567">ConfigList::newItem</a>( QCollection::Item item )
+<a name="l00070"></a><a class="code" href="classConfigList.html#24464fe479402405ee9b849ddcc9c567">00070</a> TQCollection::Item <a class="code" href="classConfigList.html#24464fe479402405ee9b849ddcc9c567">ConfigList::newItem</a>( TQCollection::Item item )
<a name="l00071"></a>00071 {
<a name="l00072"></a>00072 <span class="keywordflow">return</span> <span class="keyword">new</span> <a class="code" href="classConfigElem.html">ConfigElem</a>( (<a class="code" href="classConfigElem.html">ConfigElem</a>*)item );
<a name="l00073"></a>00073 }
@@ -94,17 +94,17 @@
<a name="l00077"></a>00077 kdDebug () &lt;&lt; <span class="stringliteral">"ConfigList::saveOptions"</span> &lt;&lt; endl;
<a name="l00078"></a>00078
<a name="l00079"></a>00079 <span class="comment">//create XML document</span>
-<a name="l00080"></a>00080 QDomDocument doc( <span class="stringliteral">"KShowmail"</span> );
+<a name="l00080"></a>00080 TQDomDocument doc( <span class="stringliteral">"KShowmail"</span> );
<a name="l00081"></a>00081
<a name="l00082"></a>00082 <span class="comment">//create root element</span>
-<a name="l00083"></a>00083 QDomElement accounts = doc.createElement( ROOT_ELEMENT );
+<a name="l00083"></a>00083 TQDomElement accounts = doc.createElement( ROOT_ELEMENT );
<a name="l00084"></a>00084
<a name="l00085"></a>00085 <span class="comment">//create for every account an element</span>
<a name="l00086"></a>00086 <span class="comment">//the account saves its mails into this element</span>
<a name="l00087"></a>00087 <span class="comment">//after that the element will be appended to the root element</span>
<a name="l00088"></a>00088 <span class="keywordtype">int</span> i = 0;
<a name="l00089"></a>00089 <a class="code" href="classConfigElem.html">ConfigElem</a>* account = NULL; <span class="comment">//current processed account</span>
-<a name="l00090"></a>00090 QPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the account list</span>
+<a name="l00090"></a>00090 TQPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the account list</span>
<a name="l00091"></a>00091
<a name="l00092"></a>00092 <span class="comment">//iterate over all accounts</span>
<a name="l00093"></a>00093 <span class="keywordflow">while</span>( ( account = it.current() ) != NULL )
@@ -113,7 +113,7 @@
<a name="l00096"></a>00096 ++it;
<a name="l00097"></a>00097
<a name="l00098"></a>00098 <span class="comment">//save mails</span>
-<a name="l00099"></a>00099 QDomElement accElem = doc.createElement( QString( ACCOUNT_ELEMENT ) + QString( <span class="stringliteral">"%1"</span> ).arg( i++ ) );
+<a name="l00099"></a>00099 TQDomElement accElem = doc.createElement( TQString( ACCOUNT_ELEMENT ) + TQString( <span class="stringliteral">"%1"</span> ).arg( i++ ) );
<a name="l00100"></a>00100 account-&gt;<a class="code" href="classConfigElem.html#bda433f60b1eed0d4b8d207707d5005c">saveOptions</a>( doc, accElem ); <span class="comment">//account saves the mails into given XML document and the setup into the application config file</span>
<a name="l00101"></a>00101 accounts.appendChild( accElem );
<a name="l00102"></a>00102
@@ -123,8 +123,8 @@
<a name="l00106"></a>00106 doc.appendChild( accounts );
<a name="l00107"></a>00107
<a name="l00108"></a>00108 <span class="comment">//save XML document</span>
-<a name="l00109"></a>00109 QCString str = doc.toCString(); <span class="comment">//convert XML document to a string</span>
-<a name="l00110"></a>00110 QString cachefilename = locateLocal( <span class="stringliteral">"config"</span>, <span class="stringliteral">"kshowmail.xml"</span> ); <span class="comment">//get file path</span>
+<a name="l00109"></a>00109 TQCString str = doc.toCString(); <span class="comment">//convert XML document to a string</span>
+<a name="l00110"></a>00110 TQString cachefilename = locateLocal( <span class="stringliteral">"config"</span>, <span class="stringliteral">"kshowmail.xml"</span> ); <span class="comment">//get file path</span>
<a name="l00111"></a>00111 KSaveFile file( cachefilename, 0600 ); <span class="comment">//create file</span>
<a name="l00112"></a>00112
<a name="l00113"></a>00113 <span class="keywordflow">if</span>( file.status() != 0 )
@@ -145,15 +145,15 @@
<a name="l00128"></a>00128 }
<a name="l00129"></a>00129
<a name="l00130"></a>00130
-<a name="l00131"></a><a class="code" href="classConfigList.html#e595f764ea9b38f0634137438bdd4d70">00131</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#e595f764ea9b38f0634137438bdd4d70">ConfigList::setList</a> (QListView* list)
+<a name="l00131"></a><a class="code" href="classConfigList.html#e595f764ea9b38f0634137438bdd4d70">00131</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#e595f764ea9b38f0634137438bdd4d70">ConfigList::setList</a> (TQListView* list)
<a name="l00132"></a>00132 {
-<a name="l00133"></a>00133 QPixmap pix (::locate (<span class="stringliteral">"data"</span>, <span class="stringliteral">"kshowmail/pics/ok.png"</span>));
+<a name="l00133"></a>00133 TQPixmap pix (::locate (<span class="stringliteral">"data"</span>, <span class="stringliteral">"kshowmail/pics/ok.png"</span>));
<a name="l00134"></a>00134 list-&gt;clear ();
<a name="l00135"></a>00135 <span class="keywordtype">int</span> nIndex = at ();
-<a name="l00136"></a>00136 QListViewItem* last = NULL;
+<a name="l00136"></a>00136 TQListViewItem* last = NULL;
<a name="l00137"></a>00137 <span class="keywordflow">for</span> (<a class="code" href="classConfigElem.html">ConfigElem</a>* pElem = first(); pElem; pElem = next())
<a name="l00138"></a>00138 {
-<a name="l00139"></a>00139 last = <span class="keyword">new</span> QListViewItem (list, last, <span class="stringliteral">""</span>, pElem-&gt;getAccountName(), pElem-&gt;getURL().host(), pElem-&gt;getURL().user(), <span class="stringliteral">"?"</span>);
+<a name="l00139"></a>00139 last = <span class="keyword">new</span> TQListViewItem (list, last, <span class="stringliteral">""</span>, pElem-&gt;getAccountName(), pElem-&gt;getURL().host(), pElem-&gt;getURL().user(), <span class="stringliteral">"?"</span>);
<a name="l00140"></a>00140 pElem-&gt;setListViewItem( last );
<a name="l00141"></a>00141 <span class="keywordflow">if</span> (pElem-&gt;isActive())
<a name="l00142"></a>00142 pElem-&gt;getListViewItem()-&gt;setPixmap (0, pix);
@@ -310,7 +310,7 @@
<a name="l00293"></a>00293
<a name="l00294"></a><a class="code" href="classConfigList.html#ac13c19975a07aa87da0047cc66b4ce1">00294</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#ac13c19975a07aa87da0047cc66b4ce1">ConfigList::deleteSelectedMails</a>( )
<a name="l00295"></a>00295 {
-<a name="l00296"></a>00296 QPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
+<a name="l00296"></a>00296 TQPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
<a name="l00297"></a>00297 <a class="code" href="classConfigElem.html">ConfigElem</a>* account; <span class="comment">//account to process</span>
<a name="l00298"></a>00298
<a name="l00299"></a>00299 <span class="comment">//clear the map, which contains the names of the accounts,</span>
@@ -349,7 +349,7 @@
<a name="l00332"></a>00332 emit <a class="code" href="classConfigList.html#9b5c13b885ba99acefb6bcb81f54b563">sigConfigChanged</a>();
<a name="l00333"></a>00333 }
<a name="l00334"></a>00334
-<a name="l00335"></a><a class="code" href="classConfigList.html#640d6202cfb38c449e95906e7581693b">00335</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#640d6202cfb38c449e95906e7581693b">ConfigList::slotCheckDeletionState</a>( QString account )
+<a name="l00335"></a><a class="code" href="classConfigList.html#640d6202cfb38c449e95906e7581693b">00335</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#640d6202cfb38c449e95906e7581693b">ConfigList::slotCheckDeletionState</a>( TQString account )
<a name="l00336"></a>00336 {
<a name="l00337"></a>00337 <span class="keywordtype">bool</span> accountDeleting = <span class="keyword">false</span>; <span class="comment">//set to TRUE if an account is still deleting</span>
<a name="l00338"></a>00338 AccountTaskMap_Type::Iterator it; <span class="comment">//iterator over the account deletion map</span>
@@ -372,7 +372,7 @@
<a name="l00355"></a>00355
<a name="l00356"></a><a class="code" href="classConfigList.html#ea02d4502c51afab1e50f9fabd36a722">00356</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#ea02d4502c51afab1e50f9fabd36a722">ConfigList::connectAccounts</a>( )
<a name="l00357"></a>00357 {
-<a name="l00358"></a>00358 QPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
+<a name="l00358"></a>00358 TQPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
<a name="l00359"></a>00359 <a class="code" href="classConfigElem.html">ConfigElem</a>* account; <span class="comment">//account to connect</span>
<a name="l00360"></a>00360
<a name="l00361"></a>00361 <span class="keywordflow">while</span>( ( account = it.current() ) != NULL )
@@ -382,11 +382,11 @@
<a name="l00365"></a>00365
<a name="l00366"></a>00366 <span class="comment">//connect</span>
<a name="l00367"></a>00367 connect( account, SIGNAL( <a class="code" href="classConfigList.html#9b5c13b885ba99acefb6bcb81f54b563">sigConfigChanged</a>() ), <span class="keyword">this</span>, SLOT( <a class="code" href="classConfigList.html#f8495aff41becdac4998b0c2881cccde">slotAccountConfigChanged</a>() ) );
-<a name="l00368"></a>00368 connect( account, SIGNAL( <a class="code" href="classConfigList.html#6d5f55c7447fc52efd5800daeb8302dc">sigDeleteReady</a>( QString ) ), <span class="keyword">this</span>, SLOT( <a class="code" href="classConfigList.html#640d6202cfb38c449e95906e7581693b">slotCheckDeletionState</a>( QString ) ) );
-<a name="l00369"></a>00369 connect( account, SIGNAL( <a class="code" href="classConfigList.html#4df89bc3cd1da72c4404cbe6fe1f10d1">sigShowBodiesReady</a>( QString ) ), <span class="keyword">this</span>, SLOT( <a class="code" href="classConfigList.html#bdbf21b25f8e963e5c32d167aff1fe16">slotCheckShowBodiesState</a>( QString ) ) );
+<a name="l00368"></a>00368 connect( account, SIGNAL( <a class="code" href="classConfigList.html#6d5f55c7447fc52efd5800daeb8302dc">sigDeleteReady</a>( TQString ) ), <span class="keyword">this</span>, SLOT( <a class="code" href="classConfigList.html#640d6202cfb38c449e95906e7581693b">slotCheckDeletionState</a>( TQString ) ) );
+<a name="l00369"></a>00369 connect( account, SIGNAL( <a class="code" href="classConfigList.html#4df89bc3cd1da72c4404cbe6fe1f10d1">sigShowBodiesReady</a>( TQString ) ), <span class="keyword">this</span>, SLOT( <a class="code" href="classConfigList.html#bdbf21b25f8e963e5c32d167aff1fe16">slotCheckShowBodiesState</a>( TQString ) ) );
<a name="l00370"></a>00370 connect( account, SIGNAL( <a class="code" href="classConfigList.html#4e33dcc16368960e9a41dca3bb878360">sigMessageWindowOpened</a>() ), <span class="keyword">this</span>, SLOT( <a class="code" href="classConfigList.html#1ffbc4bf4ef66872162065b80a248b7a">slotMessageWindowOpened</a>() ) );
<a name="l00371"></a>00371 connect( account, SIGNAL( sigMessageWindowClosed() ), <span class="keyword">this</span>, SLOT( <a class="code" href="classConfigList.html#6a9cc47ba150c0923b558752f118ec6c">slotMessageWindowClosed</a>() ) );
-<a name="l00372"></a>00372 connect( account, SIGNAL( <a class="code" href="classConfigList.html#cd0d056e66a4c054306dca9936b9d5da">sigRefreshReady</a>( QString ) ), <span class="keyword">this</span>, SLOT( <a class="code" href="classConfigList.html#beaa15863a4aae563a8539d176067f79">slotCheckRefreshState</a>( QString ) ) );
+<a name="l00372"></a>00372 connect( account, SIGNAL( <a class="code" href="classConfigList.html#cd0d056e66a4c054306dca9936b9d5da">sigRefreshReady</a>( TQString ) ), <span class="keyword">this</span>, SLOT( <a class="code" href="classConfigList.html#beaa15863a4aae563a8539d176067f79">slotCheckRefreshState</a>( TQString ) ) );
<a name="l00373"></a>00373
<a name="l00374"></a>00374 <span class="comment">//get next account</span>
<a name="l00375"></a>00375 ++it;
@@ -403,10 +403,10 @@
<a name="l00386"></a>00386 <span class="keywordflow">return</span> <a class="code" href="classConfigList.html#8b8d0d0a2d78c9f3ede1db0a9e77f8be">m_bConfirmDelete</a>;
<a name="l00387"></a>00387 }
<a name="l00388"></a>00388
-<a name="l00389"></a><a class="code" href="classConfigList.html#d489b548662d865fe34686507dc801ef">00389</a> QStringList <a class="code" href="classConfigList.html#d489b548662d865fe34686507dc801ef">ConfigList::getSelectedSubjects</a>( )<span class="keyword"> const</span>
+<a name="l00389"></a><a class="code" href="classConfigList.html#d489b548662d865fe34686507dc801ef">00389</a> TQStringList <a class="code" href="classConfigList.html#d489b548662d865fe34686507dc801ef">ConfigList::getSelectedSubjects</a>( )<span class="keyword"> const</span>
<a name="l00390"></a>00390 <span class="keyword"></span>{
-<a name="l00391"></a>00391 QStringList subjects; <span class="comment">//contains all subjects</span>
-<a name="l00392"></a>00392 QPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
+<a name="l00391"></a>00391 TQStringList subjects; <span class="comment">//contains all subjects</span>
+<a name="l00392"></a>00392 TQPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
<a name="l00393"></a>00393 <a class="code" href="classConfigElem.html">ConfigElem</a>* account; <span class="comment">//current account</span>
<a name="l00394"></a>00394
<a name="l00395"></a>00395 <span class="keywordflow">while</span>( ( account = it.current() ) != NULL )
@@ -424,7 +424,7 @@
<a name="l00407"></a><a class="code" href="classConfigList.html#d80765bfadbd675b9b89ebdec0cf3566">00407</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigList.html#d80765bfadbd675b9b89ebdec0cf3566">ConfigList::hasSelectedMails</a>( )
<a name="l00408"></a>00408 {
<a name="l00409"></a>00409 <span class="keywordtype">bool</span> foundSelected = <span class="keyword">false</span>; <span class="comment">//set to TRUE, when an account with selected mails was found</span>
-<a name="l00410"></a>00410 QPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
+<a name="l00410"></a>00410 TQPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
<a name="l00411"></a>00411 <a class="code" href="classConfigElem.html">ConfigElem</a>* account; <span class="comment">//current account</span>
<a name="l00412"></a>00412
<a name="l00413"></a>00413 <span class="keywordflow">while</span>( ( account = it.current() ) != NULL &amp;&amp; !foundSelected )
@@ -441,7 +441,7 @@
<a name="l00424"></a>00424
<a name="l00425"></a><a class="code" href="classConfigList.html#69be8d63f8363fe9c727ebdaeb9eb7fa">00425</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#69be8d63f8363fe9c727ebdaeb9eb7fa">ConfigList::showSelectedMails</a>( )
<a name="l00426"></a>00426 {
-<a name="l00427"></a>00427 QPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
+<a name="l00427"></a>00427 TQPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
<a name="l00428"></a>00428 <a class="code" href="classConfigElem.html">ConfigElem</a>* account; <span class="comment">//account to process</span>
<a name="l00429"></a>00429
<a name="l00430"></a>00430 <span class="comment">//clear the map, which contains the names of the accounts,</span>
@@ -476,7 +476,7 @@
<a name="l00459"></a>00459
<a name="l00460"></a>00460 }
<a name="l00461"></a>00461
-<a name="l00462"></a><a class="code" href="classConfigList.html#bdbf21b25f8e963e5c32d167aff1fe16">00462</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#bdbf21b25f8e963e5c32d167aff1fe16">ConfigList::slotCheckShowBodiesState</a>( QString account )
+<a name="l00462"></a><a class="code" href="classConfigList.html#bdbf21b25f8e963e5c32d167aff1fe16">00462</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#bdbf21b25f8e963e5c32d167aff1fe16">ConfigList::slotCheckShowBodiesState</a>( TQString account )
<a name="l00463"></a>00463 {
<a name="l00464"></a>00464 <span class="keywordtype">bool</span> accountDownloading = <span class="keyword">false</span>; <span class="comment">//set to TRUE if an account is downloading mail body yet</span>
<a name="l00465"></a>00465 AccountTaskMap_Type::Iterator it; <span class="comment">//iterator over the account map</span>
@@ -538,7 +538,7 @@
<a name="l00521"></a>00521
<a name="l00522"></a><a class="code" href="classConfigList.html#563ce9fd520ec23325c3b7797ed6d0f1">00522</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#563ce9fd520ec23325c3b7797ed6d0f1">ConfigList::refreshMailLists</a>( )
<a name="l00523"></a>00523 {
-<a name="l00524"></a>00524 QPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
+<a name="l00524"></a>00524 TQPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
<a name="l00525"></a>00525 <a class="code" href="classConfigElem.html">ConfigElem</a>* account; <span class="comment">//account to process</span>
<a name="l00526"></a>00526
<a name="l00527"></a>00527 <span class="comment">//return, if no accounts available</span>
@@ -580,7 +580,7 @@
<a name="l00563"></a>00563
<a name="l00564"></a>00564 }
<a name="l00565"></a>00565
-<a name="l00566"></a><a class="code" href="classConfigList.html#beaa15863a4aae563a8539d176067f79">00566</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#beaa15863a4aae563a8539d176067f79">ConfigList::slotCheckRefreshState</a>( QString account )
+<a name="l00566"></a><a class="code" href="classConfigList.html#beaa15863a4aae563a8539d176067f79">00566</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#beaa15863a4aae563a8539d176067f79">ConfigList::slotCheckRefreshState</a>( TQString account )
<a name="l00567"></a>00567 {
<a name="l00568"></a>00568 <span class="keywordtype">bool</span> accountRefreshing = <span class="keyword">false</span>; <span class="comment">//set to TRUE if an account is still refreshing</span>
<a name="l00569"></a>00569 AccountTaskMap_Type::Iterator it; <span class="comment">//iterator over the account map</span>
@@ -606,7 +606,7 @@
<a name="l00589"></a>00589
<a name="l00590"></a><a class="code" href="classConfigList.html#c68944845fe63749fc073947fbdd44d6">00590</a> <span class="keywordtype">int</span> <a class="code" href="classConfigList.html#c68944845fe63749fc073947fbdd44d6">ConfigList::getNumberNewMails</a>( )
<a name="l00591"></a>00591 {
-<a name="l00592"></a>00592 QPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
+<a name="l00592"></a>00592 TQPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
<a name="l00593"></a>00593 <a class="code" href="classConfigElem.html">ConfigElem</a>* account; <span class="comment">//account to process</span>
<a name="l00594"></a>00594 <span class="keywordtype">int</span> number = 0; <span class="comment">//number of new mails</span>
<a name="l00595"></a>00595
@@ -624,7 +624,7 @@
<a name="l00607"></a>00607
<a name="l00608"></a><a class="code" href="classConfigList.html#493eec8637f0f34fb25e13d07b6d838a">00608</a> <span class="keywordtype">int</span> <a class="code" href="classConfigList.html#493eec8637f0f34fb25e13d07b6d838a">ConfigList::getNumberMails</a>( )
<a name="l00609"></a>00609 {
-<a name="l00610"></a>00610 QPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
+<a name="l00610"></a>00610 TQPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
<a name="l00611"></a>00611 <a class="code" href="classConfigElem.html">ConfigElem</a>* account; <span class="comment">//account to process</span>
<a name="l00612"></a>00612 <span class="keywordtype">int</span> number = 0; <span class="comment">//number of mails</span>
<a name="l00613"></a>00613
@@ -642,7 +642,7 @@
<a name="l00625"></a>00625
<a name="l00626"></a><a class="code" href="classConfigList.html#2e6d8a00456ca4b61ddba18ab419dd38">00626</a> <span class="keywordtype">long</span> <a class="code" href="classConfigList.html#2e6d8a00456ca4b61ddba18ab419dd38">ConfigList::getTotalSize</a>( )
<a name="l00627"></a>00627 {
-<a name="l00628"></a>00628 QPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
+<a name="l00628"></a>00628 TQPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
<a name="l00629"></a>00629 <a class="code" href="classConfigElem.html">ConfigElem</a>* account; <span class="comment">//account to process</span>
<a name="l00630"></a>00630 <span class="keywordtype">long</span> size = 0; <span class="comment">//total size of all mails</span>
<a name="l00631"></a>00631
@@ -660,7 +660,7 @@
<a name="l00643"></a>00643
<a name="l00644"></a><a class="code" href="classConfigList.html#1db2530c553952aef3c23483dd6b6567">00644</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#1db2530c553952aef3c23483dd6b6567">ConfigList::fillMailListView</a>( <a class="code" href="classKshowmailView.html">KshowmailView</a> * view )
<a name="l00645"></a>00645 {
-<a name="l00646"></a>00646 QPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
+<a name="l00646"></a>00646 TQPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
<a name="l00647"></a>00647 <a class="code" href="classConfigElem.html">ConfigElem</a>* account; <span class="comment">//account to process</span>
<a name="l00648"></a>00648
<a name="l00649"></a>00649 <span class="comment">//iterate over all accounts and order the active accounts to fill their mails</span>
@@ -716,7 +716,7 @@
<a name="l00699"></a>00699
<a name="l00700"></a><a class="code" href="classConfigList.html#b3d5530c7419f6aa4b43e4247f3036a5">00700</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#b3d5530c7419f6aa4b43e4247f3036a5">ConfigList::refreshAccountList</a>( )
<a name="l00701"></a>00701 {
-<a name="l00702"></a>00702 QPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
+<a name="l00702"></a>00702 TQPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
<a name="l00703"></a>00703 <a class="code" href="classConfigElem.html">ConfigElem</a>* account; <span class="comment">//account to process</span>
<a name="l00704"></a>00704
<a name="l00705"></a>00705 <span class="comment">//iterate over all accounts and order the account to refresh its</span>
@@ -733,7 +733,7 @@
<a name="l00716"></a>00716
<a name="l00717"></a><a class="code" href="classConfigList.html#3c7523934753f98f3087ed4083df3ab2">00717</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#3c7523934753f98f3087ed4083df3ab2">ConfigList::killPOP3Jobs</a>( )
<a name="l00718"></a>00718 {
-<a name="l00719"></a>00719 QPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
+<a name="l00719"></a>00719 TQPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
<a name="l00720"></a>00720 <a class="code" href="classConfigElem.html">ConfigElem</a>* account; <span class="comment">//account to process</span>
<a name="l00721"></a>00721
<a name="l00722"></a>00722 <span class="comment">//iterate over all accounts and order the account to kill</span>
@@ -749,7 +749,7 @@
<a name="l00732"></a>00732
<a name="l00733"></a><a class="code" href="classConfigList.html#9578f65f771482e727dfb3e1da861aa3">00733</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#9578f65f771482e727dfb3e1da861aa3">ConfigList::showSelectedHeaders</a>( )
<a name="l00734"></a>00734 {
-<a name="l00735"></a>00735 QPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
+<a name="l00735"></a>00735 TQPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//to iterate over all accounts</span>
<a name="l00736"></a>00736 <a class="code" href="classConfigElem.html">ConfigElem</a>* account; <span class="comment">//account to process</span>
<a name="l00737"></a>00737 <span class="keywordtype">int</span> showNextHeader = <a class="code" href="classConfigElem.html#8dc234323fe966a322ae8649bc2cd76e">ConfigElem::continueShowHeaders</a>; <span class="comment">//return value of ConfigElem::showSelectedHeaders</span>
<a name="l00738"></a>00738
@@ -765,10 +765,10 @@
<a name="l00748"></a>00748 }
<a name="l00749"></a>00749 }
<a name="l00750"></a>00750
-<a name="l00751"></a><a class="code" href="classConfigList.html#8ab66c254c66635f97df7e17882b4ab2">00751</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#8ab66c254c66635f97df7e17882b4ab2">ConfigList::refreshSetup</a>( KListView* view )
+<a name="l00751"></a><a class="code" href="classConfigList.html#8ab66c254c66635f97df7e17882b4ab2">00751</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#8ab66c254c66635f97df7e17882b4ab2">ConfigList::refreshSetup</a>( TDEListView* view )
<a name="l00752"></a>00752 {
<a name="l00753"></a>00753 <span class="comment">//get application config object (kshowmailrc)</span>
-<a name="l00754"></a>00754 <a class="code" href="classConfigList.html#4bed3e796400897fbffd3eb19e4ff296">config</a> = KApplication::kApplication()-&gt;config();
+<a name="l00754"></a>00754 <a class="code" href="classConfigList.html#4bed3e796400897fbffd3eb19e4ff296">config</a> = TDEApplication::kApplication()-&gt;config();
<a name="l00755"></a>00755
<a name="l00756"></a>00756 <span class="comment">//read actions group</span>
<a name="l00757"></a>00757 <a class="code" href="classConfigList.html#4bed3e796400897fbffd3eb19e4ff296">config</a>-&gt;setGroup( CONFIG_GROUP_ACTIONS );
@@ -806,12 +806,12 @@
<a name="l00789"></a>00789
<a name="l00790"></a>00790 <span class="comment">//get account names from the config file</span>
<a name="l00791"></a>00791 <a class="code" href="classConfigList.html#4bed3e796400897fbffd3eb19e4ff296">config</a>-&gt;setGroup( CONFIG_GROUP_ACCOUNTS );
-<a name="l00792"></a>00792 QStringList accounts = <a class="code" href="classConfigList.html#4bed3e796400897fbffd3eb19e4ff296">config</a>-&gt;readListEntry( CONFIG_ENTRY_ACCOUNTS_LIST, QStringList() );
+<a name="l00792"></a>00792 TQStringList accounts = <a class="code" href="classConfigList.html#4bed3e796400897fbffd3eb19e4ff296">config</a>-&gt;readListEntry( CONFIG_ENTRY_ACCOUNTS_LIST, TQStringList() );
<a name="l00793"></a>00793
<a name="l00794"></a>00794 <span class="comment">//remove deleted accounts from the account list</span>
<a name="l00795"></a>00795 <span class="comment">//accounts are deleted, if the are in ConfigList yet, but not in the list of the config file (accounts)</span>
<a name="l00796"></a>00796 <a class="code" href="classConfigElem.html">ConfigElem</a>* accountDel = NULL; <span class="comment">//current processed account</span>
-<a name="l00797"></a>00797 QPtrListIterator&lt;ConfigElem&gt; iter( *<span class="keyword">this</span> ); <span class="comment">//iterator for the account list (ConfigList)</span>
+<a name="l00797"></a>00797 TQPtrListIterator&lt;ConfigElem&gt; iter( *<span class="keyword">this</span> ); <span class="comment">//iterator for the account list (ConfigList)</span>
<a name="l00798"></a>00798
<a name="l00799"></a>00799 <span class="comment">//iterate over all accounts (ConfigList)</span>
<a name="l00800"></a>00800 <span class="keywordflow">while</span>( ( accountDel = iter.current() ) != NULL )
@@ -820,7 +820,7 @@
<a name="l00803"></a>00803 ++iter;
<a name="l00804"></a>00804
<a name="l00805"></a>00805 <span class="comment">//search for the current account in the account list of the config file</span>
-<a name="l00806"></a>00806 QStringList::Iterator foundAccount = accounts.find( accountDel-&gt;<a class="code" href="classConfigElem.html#760e18ad688d55cd76bfeeb4958df769">getAccountName</a>() );
+<a name="l00806"></a>00806 TQStringList::Iterator foundAccount = accounts.find( accountDel-&gt;<a class="code" href="classConfigElem.html#760e18ad688d55cd76bfeeb4958df769">getAccountName</a>() );
<a name="l00807"></a>00807
<a name="l00808"></a>00808 <span class="comment">//remove account from ConfigList, if it is not in the list of the config file</span>
<a name="l00809"></a>00809 <span class="keywordflow">if</span>( foundAccount == accounts.end() )
@@ -830,7 +830,7 @@
<a name="l00813"></a>00813 <span class="comment">//add or edit accounts</span>
<a name="l00814"></a>00814 <a class="code" href="classConfigElem.html">ConfigElem</a>* acc;
<a name="l00815"></a>00815 <span class="comment">//iterate over all items of the account list of the config file</span>
-<a name="l00816"></a>00816 <span class="keywordflow">for</span>( QStringList::Iterator it = accounts.begin(); it != accounts.end(); ++it )
+<a name="l00816"></a>00816 <span class="keywordflow">for</span>( TQStringList::Iterator it = accounts.begin(); it != accounts.end(); ++it )
<a name="l00817"></a>00817 {
<a name="l00818"></a>00818 <span class="comment">//create a new account, if it is not in the list yet (ConfigList)</span>
<a name="l00819"></a>00819 <span class="comment">//or get the account</span>
@@ -862,7 +862,7 @@
<a name="l00845"></a>00845 {
<a name="l00846"></a>00846 <span class="keywordflow">case</span> CONFIG_VALUE_ACCOUNT_PASSWORD_DONT_SAVE:
<a name="l00847"></a>00847 acc-&gt;<a class="code" href="classConfigElem.html#58f9d269bd389c52718d78d7615c4431">setPasswordStorage</a>( CONFIG_VALUE_ACCOUNT_PASSWORD_DONT_SAVE );
-<a name="l00848"></a>00848 acc-&gt;<a class="code" href="classConfigElem.html#6edf15369f3e906a04dff0b92f5b3c2d">setPassword</a>( QString::null );
+<a name="l00848"></a>00848 acc-&gt;<a class="code" href="classConfigElem.html#6edf15369f3e906a04dff0b92f5b3c2d">setPassword</a>( TQString::null );
<a name="l00849"></a>00849 <span class="keywordflow">break</span>;
<a name="l00850"></a>00850
<a name="l00851"></a>00851 <span class="keywordflow">case</span> CONFIG_VALUE_ACCOUNT_PASSWORD_SAVE_FILE:
@@ -877,7 +877,7 @@
<a name="l00860"></a>00860
<a name="l00861"></a>00861 <span class="keywordflow">default</span>:
<a name="l00862"></a>00862 acc-&gt;<a class="code" href="classConfigElem.html#58f9d269bd389c52718d78d7615c4431">setPasswordStorage</a>( DEFAULT_ACCOUNT_PASSWORD_STORAGE );
-<a name="l00863"></a>00863 acc-&gt;<a class="code" href="classConfigElem.html#6edf15369f3e906a04dff0b92f5b3c2d">setPassword</a>( QString::null );
+<a name="l00863"></a>00863 acc-&gt;<a class="code" href="classConfigElem.html#6edf15369f3e906a04dff0b92f5b3c2d">setPassword</a>( TQString::null );
<a name="l00864"></a>00864 }
<a name="l00865"></a>00865
<a name="l00866"></a>00866 }
@@ -893,7 +893,7 @@
<a name="l00876"></a>00876 {
<a name="l00877"></a>00877 <span class="keywordflow">if</span>( <a class="code" href="classConfigList.html#ae8d4084a4b83a09722015793afb974c">m_bCommand</a> )
<a name="l00878"></a>00878 {
-<a name="l00879"></a>00879 <span class="keywordflow">if</span>( <a class="code" href="classConfigList.html#ea53a55a83d06cb76e3e686dd29ca034">m_strCommandPath</a> != QString::null &amp;&amp; <a class="code" href="classConfigList.html#ea53a55a83d06cb76e3e686dd29ca034">m_strCommandPath</a> != <span class="stringliteral">""</span> )
+<a name="l00879"></a>00879 <span class="keywordflow">if</span>( <a class="code" href="classConfigList.html#ea53a55a83d06cb76e3e686dd29ca034">m_strCommandPath</a> != TQString::null &amp;&amp; <a class="code" href="classConfigList.html#ea53a55a83d06cb76e3e686dd29ca034">m_strCommandPath</a> != <span class="stringliteral">""</span> )
<a name="l00880"></a>00880 {
<a name="l00881"></a>00881 KShellProcess proc; <span class="comment">//process handler to execute the binary</span>
<a name="l00882"></a>00882
@@ -934,11 +934,11 @@
<a name="l00917"></a>00917 <span class="keywordflow">return</span> <a class="code" href="classConfigList.html#1bd48d8596694d5b39e0ead274689010">m_bShowConnectionErrors</a>;
<a name="l00918"></a>00918 }
<a name="l00919"></a>00919
-<a name="l00920"></a><a class="code" href="classConfigList.html#47d7852e47d047dc7c00ad76715aa4df">00920</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigList.html#47d7852e47d047dc7c00ad76715aa4df">ConfigList::hasAccount</a>( <span class="keyword">const</span> QString &amp; name )<span class="keyword"> const</span>
+<a name="l00920"></a><a class="code" href="classConfigList.html#47d7852e47d047dc7c00ad76715aa4df">00920</a> <span class="keywordtype">bool</span> <a class="code" href="classConfigList.html#47d7852e47d047dc7c00ad76715aa4df">ConfigList::hasAccount</a>( <span class="keyword">const</span> TQString &amp; name )<span class="keyword"> const</span>
<a name="l00921"></a>00921 <span class="keyword"></span>{
<a name="l00922"></a>00922 <span class="keywordtype">bool</span> found = <span class="keyword">false</span>; <span class="comment">//TRUE if we have found the given account</span>
<a name="l00923"></a>00923 <a class="code" href="classConfigElem.html">ConfigElem</a>* account; <span class="comment">//account from which we want to get its name</span>
-<a name="l00924"></a>00924 QPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the account list</span>
+<a name="l00924"></a>00924 TQPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the account list</span>
<a name="l00925"></a>00925
<a name="l00926"></a>00926 <span class="comment">//iterate over all accounts</span>
<a name="l00927"></a>00927 <span class="keywordflow">while</span>( ( account = it.current() ) != NULL &amp;&amp; !found )
@@ -954,11 +954,11 @@
<a name="l00937"></a>00937 <span class="keywordflow">return</span> found;
<a name="l00938"></a>00938 }
<a name="l00939"></a>00939
-<a name="l00940"></a><a class="code" href="classConfigList.html#f5155dad83daf4956ebfb09f6ebd50c6">00940</a> <a class="code" href="classConfigElem.html">ConfigElem</a> * <a class="code" href="classConfigList.html#f5155dad83daf4956ebfb09f6ebd50c6">ConfigList::getAccount</a>( <span class="keyword">const</span> QString &amp; name )<span class="keyword"> const</span>
+<a name="l00940"></a><a class="code" href="classConfigList.html#f5155dad83daf4956ebfb09f6ebd50c6">00940</a> <a class="code" href="classConfigElem.html">ConfigElem</a> * <a class="code" href="classConfigList.html#f5155dad83daf4956ebfb09f6ebd50c6">ConfigList::getAccount</a>( <span class="keyword">const</span> TQString &amp; name )<span class="keyword"> const</span>
<a name="l00941"></a>00941 <span class="keyword"></span>{
<a name="l00942"></a>00942 <span class="keywordtype">bool</span> found = <span class="keyword">false</span>; <span class="comment">//TRUE if we have found the given account</span>
<a name="l00943"></a>00943 <a class="code" href="classConfigElem.html">ConfigElem</a>* account = NULL; <span class="comment">//account from which we want to get its name</span>
-<a name="l00944"></a>00944 QPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the account list</span>
+<a name="l00944"></a>00944 TQPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the account list</span>
<a name="l00945"></a>00945 <a class="code" href="classConfigElem.html">ConfigElem</a>* returnValue = NULL;
<a name="l00946"></a>00946
<a name="l00947"></a>00947 <span class="comment">//iterate over all accounts</span>
@@ -981,7 +981,7 @@
<a name="l00964"></a><a class="code" href="classConfigList.html#ac706ab3763709422de0ccfa91db7776">00964</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#ac706ab3763709422de0ccfa91db7776">ConfigList::printSetup</a>( )
<a name="l00965"></a>00965 {
<a name="l00966"></a>00966 <a class="code" href="classConfigElem.html">ConfigElem</a>* account = NULL; <span class="comment">//account from which we want to print the setup</span>
-<a name="l00967"></a>00967 QPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the account list</span>
+<a name="l00967"></a>00967 TQPtrListIterator&lt;ConfigElem&gt; it( *<span class="keyword">this</span> ); <span class="comment">//iterator for the account list</span>
<a name="l00968"></a>00968
<a name="l00969"></a>00969 <span class="comment">//iterate over all accounts</span>
<a name="l00970"></a>00970 <span class="keywordflow">while</span>( ( account = it.current() ) != NULL )
@@ -997,8 +997,8 @@
<a name="l00980"></a><a class="code" href="classConfigList.html#18b093749b6a474b68a4c2bfe952d65c">00980</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#18b093749b6a474b68a4c2bfe952d65c">ConfigList::readStoredMails</a>( )
<a name="l00981"></a>00981 {
<a name="l00982"></a>00982 <span class="comment">//open file</span>
-<a name="l00983"></a>00983 QString MailFileName = locateLocal( <span class="stringliteral">"config"</span>, MAIL_FILE );
-<a name="l00984"></a>00984 QFile file( MailFileName );
+<a name="l00983"></a>00983 TQString MailFileName = locateLocal( <span class="stringliteral">"config"</span>, MAIL_FILE );
+<a name="l00984"></a>00984 TQFile file( MailFileName );
<a name="l00985"></a>00985 <span class="keywordtype">bool</span> fileOpen = file.open( IO_ReadOnly );
<a name="l00986"></a>00986
<a name="l00987"></a>00987 <span class="comment">//return, if the file could not be opened</span>
@@ -1009,8 +1009,8 @@
<a name="l00992"></a>00992 }
<a name="l00993"></a>00993
<a name="l00994"></a>00994 <span class="comment">//create DOM document with the content read from the file</span>
-<a name="l00995"></a>00995 QDomDocument doc( MAIL_FILE_DOCTYPE );
-<a name="l00996"></a>00996 QString* errorMsg = <span class="keyword">new</span> QString();
+<a name="l00995"></a>00995 TQDomDocument doc( MAIL_FILE_DOCTYPE );
+<a name="l00996"></a>00996 TQString* errorMsg = <span class="keyword">new</span> TQString();
<a name="l00997"></a>00997
<a name="l00998"></a>00998 <span class="keywordtype">bool</span> success = doc.setContent( &amp;file );
<a name="l00999"></a>00999 <span class="keywordflow">if</span>( !success )
@@ -1019,19 +1019,19 @@
<a name="l01002"></a>01002 }
<a name="l01003"></a>01003
<a name="l01004"></a>01004 <span class="comment">//get the root element</span>
-<a name="l01005"></a>01005 QDomElement accounts = doc.namedItem ( ROOT_ELEMENT ).toElement();
+<a name="l01005"></a>01005 TQDomElement accounts = doc.namedItem ( ROOT_ELEMENT ).toElement();
<a name="l01006"></a>01006
<a name="l01007"></a>01007 <span class="comment">//get the first account element</span>
-<a name="l01008"></a>01008 QDomNode accNode = accounts.firstChild();
+<a name="l01008"></a>01008 TQDomNode accNode = accounts.firstChild();
<a name="l01009"></a>01009
<a name="l01010"></a>01010 <span class="comment">//get all account elements</span>
<a name="l01011"></a>01011 <span class="keywordflow">while</span>( !accNode.isNull() )
<a name="l01012"></a>01012 {
<a name="l01013"></a>01013 <span class="comment">//convert account node to DOM element</span>
-<a name="l01014"></a>01014 QDomElement accElem = accNode.toElement();
+<a name="l01014"></a>01014 TQDomElement accElem = accNode.toElement();
<a name="l01015"></a>01015
<a name="l01016"></a>01016 <span class="comment">//get the account name</span>
-<a name="l01017"></a>01017 QString accName = accElem.attribute( ATTRIBUTE_ACCOUNT_NAME );
+<a name="l01017"></a>01017 TQString accName = accElem.attribute( ATTRIBUTE_ACCOUNT_NAME );
<a name="l01018"></a>01018
<a name="l01019"></a>01019 <span class="comment">//get the proper account object</span>
<a name="l01020"></a>01020 <a class="code" href="classConfigElem.html">ConfigElem</a>* account = <a class="code" href="classConfigList.html#f5155dad83daf4956ebfb09f6ebd50c6">getAccount</a>( accName );