diff options
39 files changed, 72 insertions, 72 deletions
diff --git a/doc/cs/index.docbook b/doc/cs/index.docbook index b0b14a6..0fa50d7 100644 --- a/doc/cs/index.docbook +++ b/doc/cs/index.docbook @@ -1,7 +1,7 @@ <?xml version="1.0" ?> <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd" [ <!ENTITY kshowmail '<application>Kshowmail</application>'> - <!ENTITY kapp "&kshowmail;"><!-- replace kshowmail here --> + <!ENTITY tdeApp "&kshowmail;"><!-- replace kshowmail here --> <!ENTITY % addindex "IGNORE"> <!ENTITY % English "INCLUDE"><!-- change language only here --> @@ -360,7 +360,7 @@ distribution. --> <title>Credits and License</title> <para> -&kapp; +&tdeApp; </para> <para> Program copyright 2000-2003 Eggert Ehmke <email>[email protected]</email> diff --git a/doc/de/index.docbook b/doc/de/index.docbook index 2596836..2d11c02 100644 --- a/doc/de/index.docbook +++ b/doc/de/index.docbook @@ -1,7 +1,7 @@ <?xml version="1.0" ?> <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd" [ <!ENTITY kshowmail '<application>Kshowmail</application>'> - <!ENTITY kapp "&kshowmail;"><!-- replace kshowmail here --> + <!ENTITY tdeApp "&kshowmail;"><!-- replace kshowmail here --> <!ENTITY % addindex "IGNORE"> <!ENTITY % German "INCLUDE"><!-- change language only here --> @@ -368,7 +368,7 @@ distribution. --> <title>Beiträge</title> <para> -&kapp; +&tdeApp; </para> <para> Program copyright 2000-2003 Eggert Ehmke <email>[email protected]</email> diff --git a/doc/en/index.docbook b/doc/en/index.docbook index b0b14a6..0fa50d7 100644 --- a/doc/en/index.docbook +++ b/doc/en/index.docbook @@ -1,7 +1,7 @@ <?xml version="1.0" ?> <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd" [ <!ENTITY kshowmail '<application>Kshowmail</application>'> - <!ENTITY kapp "&kshowmail;"><!-- replace kshowmail here --> + <!ENTITY tdeApp "&kshowmail;"><!-- replace kshowmail here --> <!ENTITY % addindex "IGNORE"> <!ENTITY % English "INCLUDE"><!-- change language only here --> @@ -360,7 +360,7 @@ distribution. --> <title>Credits and License</title> <para> -&kapp; +&tdeApp; </para> <para> Program copyright 2000-2003 Eggert Ehmke <email>[email protected]</email> diff --git a/doc/es/index.docbook b/doc/es/index.docbook index e2881c4..ee1e5df 100644 --- a/doc/es/index.docbook +++ b/doc/es/index.docbook @@ -1,7 +1,7 @@ <?xml version="1.0" ?> <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd" [ <!ENTITY kshowmail '<application>Kshowmail</application>'> - <!ENTITY kapp "&kshowmail;"><!-- replace kshowmail here --> + <!ENTITY tdeApp "&kshowmail;"><!-- replace kshowmail here --> <!ENTITY % addindex "IGNORE"> <!ENTITY % Spanish "INCLUDE"><!-- change language only here --> @@ -294,7 +294,7 @@ distribution. --> <title>Créditos y licensia</title> <para> -&kapp; +&tdeApp; </para> <para> Program copyright 2000-2003 Eggert Ehmke <email>[email protected]</email> diff --git a/doc/fr/index.docbook b/doc/fr/index.docbook index 4b3c35e..534dd4f 100644 --- a/doc/fr/index.docbook +++ b/doc/fr/index.docbook @@ -1,7 +1,7 @@ <?xml version="1.0" ?>
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd" [
<!ENTITY kshowmail '<application>Kshowmail</application>'>
- <!ENTITY kapp "&kshowmail;"><!-- replace kshowmail here -->
+ <!ENTITY tdeApp "&kshowmail;"><!-- replace kshowmail here -->
<!ENTITY % addindex "IGNORE">
<!ENTITY % French "INCLUDE"><!-- change language only here -->
@@ -230,7 +230,7 @@ distribution. --> <title>Credits et Licence</title>
<para>
-&kapp;
+&tdeApp;
</para>
<para>
Program copyright 2000-2003 Eggert Ehmke <email>[email protected]</email>
diff --git a/doc/html/configelem_8cpp-source.html b/doc/html/configelem_8cpp-source.html index 2121fff..69b11ce 100644 --- a/doc/html/configelem_8cpp-source.html +++ b/doc/html/configelem_8cpp-source.html @@ -124,7 +124,7 @@ <a name="l00107"></a><a class="code" href="classConfigElem.html#bda433f60b1eed0d4b8d207707d5005c">00107</a> <span class="keywordtype">void</span> <a class="code" href="classConfigElem.html#bda433f60b1eed0d4b8d207707d5005c">ConfigElem::saveOptions</a>( TQDomDocument& doc, TQDomElement& parent ) <a name="l00108"></a>00108 { <a name="l00109"></a>00109 <span class="comment">//get application config</span> -<a name="l00110"></a>00110 TDEConfig* config = TDEApplication::kApplication()->config(); +<a name="l00110"></a>00110 TDEConfig* config = tdeApp->config(); <a name="l00111"></a>00111 <a name="l00112"></a>00112 <span class="comment">//save the active state</span> <a name="l00113"></a>00113 config->setGroup( <a class="code" href="classConfigElem.html#760e18ad688d55cd76bfeeb4958df769">getAccountName</a>() ); @@ -314,7 +314,7 @@ <a name="l00297"></a>00297 <a class="code" href="classConfigElem.html#6edf15369f3e906a04dff0b92f5b3c2d">setPassword</a>( password ); <a name="l00298"></a>00298 <a name="l00299"></a>00299 <span class="comment">//save password in file or TDEWallet</span> -<a name="l00300"></a>00300 TDEConfig* config = TDEApplication::kApplication()->config(); +<a name="l00300"></a>00300 TDEConfig* config = tdeApp->config(); <a name="l00301"></a>00301 config->setGroup( <a class="code" href="classConfigElem.html#760e18ad688d55cd76bfeeb4958df769">getAccountName</a>() ); <a name="l00302"></a>00302 <a name="l00303"></a>00303 <span class="keywordflow">if</span>( <a class="code" href="classConfigElem.html#1ad409223125a43d257cd7666c8c7284">PasswordStorage</a> == CONFIG_VALUE_ACCOUNT_PASSWORD_SAVE_FILE ) @@ -605,7 +605,7 @@ <a name="l00588"></a>00588 emit <a class="code" href="classConfigElem.html#14267b997f50ad3069115e8b976d89bb">sigMessageWindowOpened</a>(); <a name="l00589"></a>00589 <a name="l00590"></a>00590 <span class="comment">//create and open the window</span> -<a name="l00591"></a>00591 <a class="code" href="classShowMailDialog.html">ShowMailDialog</a> dlg( kapp->mainWidget(), <a class="code" href="classConfigElem.html#52f6b77b64915aeadf30cf2e550da876">m_strAccount</a>, <a class="code" href="classConfigElem.html#cdde481b0e7623717f25721a23b95352">appConfig</a>-><a class="code" href="classConfigList.html#4cd09107151c848fafe17db0c8e9a4a6">allowHTML</a>(), tsender, tdate, tsize, tsubject, tmailbody ); +<a name="l00591"></a>00591 <a class="code" href="classShowMailDialog.html">ShowMailDialog</a> dlg( tdeApp->mainWidget(), <a class="code" href="classConfigElem.html#52f6b77b64915aeadf30cf2e550da876">m_strAccount</a>, <a class="code" href="classConfigElem.html#cdde481b0e7623717f25721a23b95352">appConfig</a>-><a class="code" href="classConfigList.html#4cd09107151c848fafe17db0c8e9a4a6">allowHTML</a>(), tsender, tdate, tsize, tsubject, tmailbody ); <a name="l00592"></a>00592 <span class="keywordtype">int</span> ret = dlg.exec(); <a name="l00593"></a>00593 <a name="l00594"></a>00594 <span class="comment">//emit signal to notify the closing of a window</span> diff --git a/doc/html/configlist_8cpp-source.html b/doc/html/configlist_8cpp-source.html index d8ccfea..f7681a5 100644 --- a/doc/html/configlist_8cpp-source.html +++ b/doc/html/configlist_8cpp-source.html @@ -185,7 +185,7 @@ <a name="l00168"></a><a class="code" href="classConfigList.html#28739bc3cd7ce87dbd7f994081375a41">00168</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#28739bc3cd7ce87dbd7f994081375a41">ConfigList::beep</a> () <a name="l00169"></a>00169 { <a name="l00170"></a>00170 <span class="keywordflow">if</span> (<a class="code" href="classConfigList.html#a866f2fd4fb32d49ab99306150d79c50">m_bBeep</a>) -<a name="l00171"></a>00171 kapp->beep (); +<a name="l00171"></a>00171 tdeApp->beep (); <a name="l00172"></a>00172 } <a name="l00173"></a>00173 <a name="l00174"></a><a class="code" href="classConfigList.html#5e7a5e2323ebbbad7d960bae9814ce5d">00174</a> <span class="keywordtype">void</span> <a class="code" href="classConfigList.html#5e7a5e2323ebbbad7d960bae9814ce5d">ConfigList::playSound</a> () @@ -768,7 +768,7 @@ <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> = TDEApplication::kApplication()->config(); +<a name="l00754"></a>00754 <a class="code" href="classConfigList.html#4bed3e796400897fbffd3eb19e4ff296">config</a> = tdeApp->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>->setGroup( CONFIG_GROUP_ACTIONS ); diff --git a/doc/html/kfeedback_8cpp-source.html b/doc/html/kfeedback_8cpp-source.html index 12bc843..6371891 100644 --- a/doc/html/kfeedback_8cpp-source.html +++ b/doc/html/kfeedback_8cpp-source.html @@ -180,7 +180,7 @@ <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(); <a name="l00165"></a>00165 <span class="keywordflow">else</span> -<a name="l00166"></a>00166 subject = kapp->name(); +<a name="l00166"></a>00166 subject = tdeApp->name(); <a name="l00167"></a>00167 <a name="l00168"></a>00168 subject += <span class="stringliteral">" user feedback"</span>; <a name="l00169"></a>00169 @@ -215,7 +215,7 @@ <a name="l00198"></a>00198 <span class="comment">// Actually send mail</span> <a name="l00199"></a>00199 <span class="comment">//</span> <a name="l00200"></a>00200 -<a name="l00201"></a>00201 kapp->invokeMailer( mail ); +<a name="l00201"></a>00201 tdeApp->invokeMailer( mail ); <a name="l00202"></a>00202 <a name="l00203"></a>00203 emit <a class="code" href="classKFeedbackForm.html#ec2b411546d45e31c9b412f1fa6d8897">mailSent</a>(); <a name="l00204"></a>00204 } diff --git a/doc/html/kshowmail_8cpp-source.html b/doc/html/kshowmail_8cpp-source.html index 102d2eb..b35e04a 100644 --- a/doc/html/kshowmail_8cpp-source.html +++ b/doc/html/kshowmail_8cpp-source.html @@ -268,7 +268,7 @@ <a name="l00258"></a>00258 <span class="comment">//just open the dialog, if the app is idle</span> <a name="l00259"></a>00259 <span class="keywordflow">if</span> (<a class="code" href="classKShowMailApp.html#0827ddf85177879f8966a2e13c50ad33">m_state</a> != <a class="code" href="namespaceTypes.html#dc227eb5720632a8290561b001aaa565c37aa546c58cdb9c8efabbbe513f8380">idle</a>) <a name="l00260"></a>00260 { -<a name="l00261"></a>00261 kapp->beep(); +<a name="l00261"></a>00261 tdeApp->beep(); <a name="l00262"></a>00262 <span class="keywordflow">return</span>; <a name="l00263"></a>00263 } <a name="l00264"></a>00264 @@ -330,7 +330,7 @@ <a name="l00320"></a>00320 <span class="comment">//return, if the app is not idle</span> <a name="l00321"></a>00321 <span class="keywordflow">if</span> ( <a class="code" href="classKShowMailApp.html#0827ddf85177879f8966a2e13c50ad33">m_state</a> != <a class="code" href="namespaceTypes.html#dc227eb5720632a8290561b001aaa565c37aa546c58cdb9c8efabbbe513f8380">idle</a> ) <a name="l00322"></a>00322 { -<a name="l00323"></a>00323 kapp->beep(); +<a name="l00323"></a>00323 tdeApp->beep(); <a name="l00324"></a>00324 <a class="code" href="classKShowMailApp.html#c538f5c093b0c3dae4df29247d075dfc">initNextRefresh</a>(); <a name="l00325"></a>00325 <span class="keywordflow">return</span>; <a name="l00326"></a>00326 } @@ -357,7 +357,7 @@ <a name="l00347"></a>00347 { <a name="l00348"></a>00348 <span class="keywordflow">if</span> (<a class="code" href="classKShowMailApp.html#0827ddf85177879f8966a2e13c50ad33">m_state</a> == <a class="code" href="namespaceTypes.html#dc227eb5720632a8290561b001aaa565c37aa546c58cdb9c8efabbbe513f8380">idle</a>) <a name="l00349"></a>00349 { -<a name="l00350"></a>00350 kapp->beep (); +<a name="l00350"></a>00350 tdeApp->beep (); <a name="l00351"></a>00351 <span class="keywordflow">return</span>; <a name="l00352"></a>00352 } <a name="l00353"></a>00353 kdDebug() << <span class="stringliteral">"KShowMailApp::slotStop"</span> << endl; @@ -416,7 +416,7 @@ <a name="l00406"></a>00406 <span class="comment">//just delete, if no operation is running</span> <a name="l00407"></a>00407 <span class="keywordflow">if</span>( <a class="code" href="classKShowMailApp.html#0827ddf85177879f8966a2e13c50ad33">m_state</a> != <a class="code" href="namespaceTypes.html#dc227eb5720632a8290561b001aaa565c37aa546c58cdb9c8efabbbe513f8380">idle</a> ) <a name="l00408"></a>00408 { -<a name="l00409"></a>00409 kapp->beep(); +<a name="l00409"></a>00409 tdeApp->beep(); <a name="l00410"></a>00410 <span class="keywordflow">return</span>; <a name="l00411"></a>00411 } <a name="l00412"></a>00412 @@ -456,7 +456,7 @@ <a name="l00446"></a>00446 <span class="comment">//only show headers, if the app is idle</span> <a name="l00447"></a>00447 <span class="keywordflow">if</span>( <a class="code" href="classKShowMailApp.html#0827ddf85177879f8966a2e13c50ad33">m_state</a> != <a class="code" href="namespaceTypes.html#dc227eb5720632a8290561b001aaa565c37aa546c58cdb9c8efabbbe513f8380">idle</a> ) <a name="l00448"></a>00448 { -<a name="l00449"></a>00449 kapp->beep (); +<a name="l00449"></a>00449 tdeApp->beep (); <a name="l00450"></a>00450 <span class="keywordflow">return</span>; <a name="l00451"></a>00451 } <a name="l00452"></a>00452 @@ -470,7 +470,7 @@ <a name="l00460"></a>00460 <span class="comment">//return, if application is not idle</span> <a name="l00461"></a>00461 <span class="keywordflow">if</span>( <a class="code" href="classKShowMailApp.html#0827ddf85177879f8966a2e13c50ad33">m_state</a> != <a class="code" href="namespaceTypes.html#dc227eb5720632a8290561b001aaa565c37aa546c58cdb9c8efabbbe513f8380">idle</a> ) <a name="l00462"></a>00462 { -<a name="l00463"></a>00463 kapp->beep (); +<a name="l00463"></a>00463 tdeApp->beep (); <a name="l00464"></a>00464 <span class="keywordflow">return</span>; <a name="l00465"></a>00465 } <a name="l00466"></a>00466 @@ -529,7 +529,7 @@ <a name="l00519"></a>00519 { <a name="l00520"></a>00520 <span class="keywordflow">if</span> (<a class="code" href="classKShowMailApp.html#0827ddf85177879f8966a2e13c50ad33">m_state</a> != <a class="code" href="namespaceTypes.html#dc227eb5720632a8290561b001aaa565c37aa546c58cdb9c8efabbbe513f8380">idle</a>) <a name="l00521"></a>00521 { -<a name="l00522"></a>00522 kapp->beep (); +<a name="l00522"></a>00522 tdeApp->beep (); <a name="l00523"></a>00523 <span class="keywordflow">return</span>; <a name="l00524"></a>00524 } <a name="l00525"></a>00525 <a class="code" href="classKShowMailApp.html#0827ddf85177879f8966a2e13c50ad33">m_state</a> = <a class="code" href="namespaceTypes.html#dc227eb5720632a8290561b001aaa5653cde4c681a768eef7df3659c849a34b6">configure</a>; @@ -776,7 +776,7 @@ <a name="l00766"></a>00766 <span class="comment">//just open the dialog, if the app is idle</span> <a name="l00767"></a>00767 <span class="keywordflow">if</span> (<a class="code" href="classKShowMailApp.html#0827ddf85177879f8966a2e13c50ad33">m_state</a> != <a class="code" href="namespaceTypes.html#dc227eb5720632a8290561b001aaa565c37aa546c58cdb9c8efabbbe513f8380">idle</a>) <a name="l00768"></a>00768 { -<a name="l00769"></a>00769 kapp->beep(); +<a name="l00769"></a>00769 tdeApp->beep(); <a name="l00770"></a>00770 <span class="keywordflow">return</span>; <a name="l00771"></a>00771 } <a name="l00772"></a>00772 diff --git a/doc/html/kshowmailview_8cpp-source.html b/doc/html/kshowmailview_8cpp-source.html index 9a371db..7a9b5b2 100644 --- a/doc/html/kshowmailview_8cpp-source.html +++ b/doc/html/kshowmailview_8cpp-source.html @@ -54,7 +54,7 @@ <a name="l00037"></a>00037 TQSplitter(Vertical, parent, name) <a name="l00038"></a>00038 { <a name="l00039"></a>00039 <span class="comment">//get application config object (kshowmailrc)</span> -<a name="l00040"></a>00040 <a class="code" href="classKshowmailView.html#232c0c7b5295a864e22bd5365044b21d">config</a> = TDEApplication::kApplication()->config(); +<a name="l00040"></a>00040 <a class="code" href="classKshowmailView.html#232c0c7b5295a864e22bd5365044b21d">config</a> = tdeApp->config(); <a name="l00041"></a>00041 <a name="l00042"></a>00042 <a class="code" href="classKshowmailView.html#ac2789d0c2b897f4a9589c21a8eae2eb">m_pixOk</a> = <span class="keyword">new</span> TQPixmap (::locate (<span class="stringliteral">"data"</span>, <span class="stringliteral">"kshowmail/pics/ok.png"</span>)); <a name="l00043"></a>00043 diff --git a/doc/html/serverdialog_8cpp-source.html b/doc/html/serverdialog_8cpp-source.html index 08c02ed..cfe9b99 100644 --- a/doc/html/serverdialog_8cpp-source.html +++ b/doc/html/serverdialog_8cpp-source.html @@ -179,7 +179,7 @@ <a name="l00162"></a>00162 } <a name="l00163"></a>00163 <a name="l00164"></a>00164 <span class="comment">//get application config object (kshowmailrc)</span> -<a name="l00165"></a>00165 TDEConfig* config = TDEApplication::kApplication()->config(); +<a name="l00165"></a>00165 TDEConfig* config = tdeApp->config(); <a name="l00166"></a>00166 <a name="l00167"></a>00167 config->setGroup( <a class="code" href="classServerDialog.html#690681b24cfd21ebdc4d5543bee5b4a3">txtAccount</a>->text() ); <a name="l00168"></a>00168 diff --git a/doc/html/showrecordelem_8cpp-source.html b/doc/html/showrecordelem_8cpp-source.html index 6e4329c..c47bd45 100644 --- a/doc/html/showrecordelem_8cpp-source.html +++ b/doc/html/showrecordelem_8cpp-source.html @@ -607,7 +607,7 @@ <a name="l00590"></a>00590 TQString tmailheader = <a class="code" href="classShowRecordElem.html#dd5d842c1abdd13fa03ac4a3f2f11150">header</a>(); <a name="l00591"></a>00591 <a name="l00592"></a>00592 <span class="comment">//create and open the window</span> -<a name="l00593"></a>00593 <a class="code" href="classShowHeaderDialog.html">ShowHeaderDialog</a> dlg( kapp->mainWidget(), account, tsubject, tmailheader ); +<a name="l00593"></a>00593 <a class="code" href="classShowHeaderDialog.html">ShowHeaderDialog</a> dlg( tdeApp->mainWidget(), account, tsubject, tmailheader ); <a name="l00594"></a>00594 <span class="keywordtype">int</span> ret = dlg.exec(); <a name="l00595"></a>00595 <a name="l00596"></a>00596 <span class="comment">//returns the matching value</span> diff --git a/doc/hu/index.docbook b/doc/hu/index.docbook index f259b55..74f5845 100644 --- a/doc/hu/index.docbook +++ b/doc/hu/index.docbook @@ -1,7 +1,7 @@ <?xml version="1.0" ?> <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd" [ <!ENTITY kshowmail '<application>Kshowmail</application>'> - <!ENTITY kapp "&kshowmail;"><!-- replace kshowmail here --> + <!ENTITY tdeApp "&kshowmail;"><!-- replace kshowmail here --> <!ENTITY % addindex "IGNORE"> <!ENTITY % Hungarian "INCLUDE"><!-- change language only here --> @@ -334,7 +334,7 @@ distribution. --> <title>Szerzôk és Licnec</title> <para> -&kapp; +&tdeApp; </para> <para> Program copyright 2000-2003 Eggert Ehmke <email>[email protected]</email> diff --git a/doc/it/index.docbook b/doc/it/index.docbook index c1a3798..cfd3805 100644 --- a/doc/it/index.docbook +++ b/doc/it/index.docbook @@ -1,7 +1,7 @@ <?xml version="1.0" ?> <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd" [ <!ENTITY kshowmail '<application>Kshowmail</application>'> - <!ENTITY kapp "&kshowmail;"><!-- replace kshowmail here --> + <!ENTITY tdeApp "&kshowmail;"><!-- replace kshowmail here --> <!ENTITY % addindex "IGNORE"> <!ENTITY % Italian "INCLUDE"><!-- change language only here --> @@ -366,7 +366,7 @@ distribution. --> <title>Riconoscimenti e Licenza</title> <para> -&kapp; +&tdeApp; </para> <para> Copyright del programma 2000-2003 Eggert Ehmke <email>[email protected]</email> diff --git a/doc/ru/index.docbook b/doc/ru/index.docbook index 1dd253a..c5f5549 100644 --- a/doc/ru/index.docbook +++ b/doc/ru/index.docbook @@ -1,7 +1,7 @@ <?xml version="1.0" ?> <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd" [ <!ENTITY kshowmail '<application>Kshowmail</application>'> - <!ENTITY kapp "&kshowmail;"><!-- replace kshowmail here --> + <!ENTITY tdeApp "&kshowmail;"><!-- replace kshowmail here --> <!ENTITY % addindex "IGNORE"> <!ENTITY % Russian "INCLUDE"><!-- change language only here --> @@ -359,7 +359,7 @@ distribution. --> <title>Авторы и лицензия</title> <para> -&kapp; +&tdeApp; </para> <para> Program copyright 2000-2003 Eggert Ehmke <email>[email protected]</email> diff --git a/doc/sv/index.docbook b/doc/sv/index.docbook index bbca455..ebde308 100644 --- a/doc/sv/index.docbook +++ b/doc/sv/index.docbook @@ -1,7 +1,7 @@ <?xml version="1.0" ?> <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd" [ <!ENTITY kshowmail '<application>Kshowmail</application>'> - <!ENTITY kapp "&kshowmail;"><!-- replace kshowmail here --> + <!ENTITY tdeApp "&kshowmail;"><!-- replace kshowmail here --> <!ENTITY % addindex "IGNORE"> <!ENTITY % Swedish "INCLUDE"><!-- change language only here --> @@ -236,7 +236,7 @@ distribution. --> <title>Tack till och licens</title> <para> -&kapp; +&tdeApp; </para> <para> Programmet copyright 2000-2003 Eggert Ehmke <email>[email protected]</email> diff --git a/kshowmail/configelem.cpp b/kshowmail/configelem.cpp index 9ac5f0f..1302b1c 100644 --- a/kshowmail/configelem.cpp +++ b/kshowmail/configelem.cpp @@ -119,7 +119,7 @@ ConfigElem::~ConfigElem() void ConfigElem::saveOptions( TQDomDocument& doc, TQDomElement& parent ) { //get application config - TDEConfig* config = TDEApplication::kApplication()->config(); + TDEConfig* config = tdeApp->config(); //save the active state config->setGroup( getAccountName() ); @@ -304,7 +304,7 @@ bool ConfigElem::assertPassword( bool force ) setPassword( password ); //save password in file or TDEWallet - TDEConfig* config = TDEApplication::kApplication()->config(); + TDEConfig* config = tdeApp->config(); config->setGroup( getAccountName() ); if( PasswordStorage == CONFIG_VALUE_ACCOUNT_PASSWORD_SAVE_FILE ) @@ -633,7 +633,7 @@ void ConfigElem::slotBodyDownloaded( TDEIO::Job * job ) emit sigMessageWindowOpened(); //create and open the window - ShowMailDialog dlg( kapp->mainWidget(), m_strAccount, appConfig->allowHTML(), tsender, tdate, tsize, tsubject, tmailbody ); + ShowMailDialog dlg( tdeApp->mainWidget(), m_strAccount, appConfig->allowHTML(), tsender, tdate, tsize, tsubject, tmailbody ); int ret = dlg.exec(); //emit signal to notify the closing of a window diff --git a/kshowmail/configlist.cpp b/kshowmail/configlist.cpp index 184bb48..ba18607 100644 --- a/kshowmail/configlist.cpp +++ b/kshowmail/configlist.cpp @@ -168,7 +168,7 @@ bool ConfigList::setItem (const char* item) void ConfigList::beep () { if (m_bBeep) - kapp->beep (); + tdeApp->beep (); } void ConfigList::playSound () @@ -739,7 +739,7 @@ void ConfigList::showSelectedHeaders( ) void ConfigList::refreshSetup( TDEListView* view ) { //get application config object (kshowmailrc) - config = TDEApplication::kApplication()->config(); + config = tdeApp->config(); //read actions group config->setGroup( CONFIG_GROUP_ACTIONS ); diff --git a/kshowmail/filteritem.cpp b/kshowmail/filteritem.cpp index 70a2954..c443586 100644 --- a/kshowmail/filteritem.cpp +++ b/kshowmail/filteritem.cpp @@ -14,7 +14,7 @@ FilterItem::FilterItem( uint filterNr ) { //get the application config object - config = TDEApplication::kApplication()->config(); + config = tdeApp->config(); //save number filterNumber = filterNr; diff --git a/kshowmail/filteritemcriteria.cpp b/kshowmail/filteritemcriteria.cpp index 6d8684d..3a29518 100644 --- a/kshowmail/filteritemcriteria.cpp +++ b/kshowmail/filteritemcriteria.cpp @@ -14,7 +14,7 @@ FilterItemCriteria::FilterItemCriteria( uint FilterNr, uint CritNr ) { //get the application config object - config = TDEApplication::kApplication()->config(); + config = tdeApp->config(); //save numbers FilterNumber = FilterNr; diff --git a/kshowmail/filterlog.cpp b/kshowmail/filterlog.cpp index 38484cb..58f20e4 100644 --- a/kshowmail/filterlog.cpp +++ b/kshowmail/filterlog.cpp @@ -14,7 +14,7 @@ FilterLog::FilterLog() { //get the application config object - config = TDEApplication::kApplication()->config(); + config = tdeApp->config(); //load the setup loadSetup(); diff --git a/kshowmail/headerfilter.cpp b/kshowmail/headerfilter.cpp index 8d0c51d..d0069d7 100644 --- a/kshowmail/headerfilter.cpp +++ b/kshowmail/headerfilter.cpp @@ -14,7 +14,7 @@ HeaderFilter::HeaderFilter() { //get the application config object - config = TDEApplication::kApplication()->config(); + config = tdeApp->config(); //the filter list shall delete all filters if it will be deleted itself filters.setAutoDelete( true ); diff --git a/kshowmail/kcmconfigs/accountsetupitem.cpp b/kshowmail/kcmconfigs/accountsetupitem.cpp index e073cf0..ef13945 100644 --- a/kshowmail/kcmconfigs/accountsetupitem.cpp +++ b/kshowmail/kcmconfigs/accountsetupitem.cpp @@ -48,7 +48,7 @@ void AccountSetupItem::init( ) _transferSecurity = DEFAULT_ACCOUNT_SECTRANSFER; //get application config object (kshowmailrc) - config = TDEApplication::kApplication()->config(); + config = tdeApp->config(); } void AccountSetupItem::setAccountName( const TQString & name ) diff --git a/kshowmail/kcmconfigs/configaccounts.cpp b/kshowmail/kcmconfigs/configaccounts.cpp index 47f7f11..f48e36d 100644 --- a/kshowmail/kcmconfigs/configaccounts.cpp +++ b/kshowmail/kcmconfigs/configaccounts.cpp @@ -60,7 +60,7 @@ ConfigAccounts::ConfigAccounts( TQWidget * parent, const char * name, const TQSt //get application config object (kshowmailrc) - config = TDEApplication::kApplication()->config(); + config = tdeApp->config(); //load configured values load(); diff --git a/kshowmail/kcmconfigs/configactions.cpp b/kshowmail/kcmconfigs/configactions.cpp index 4b41314..44fe58c 100644 --- a/kshowmail/kcmconfigs/configactions.cpp +++ b/kshowmail/kcmconfigs/configactions.cpp @@ -113,7 +113,7 @@ ConfigActions::ConfigActions( TQWidget * parent, const char * name, const TQStri //get application config object (kshowmailrc) - config = TDEApplication::kApplication()->config(); + config = tdeApp->config(); //load configured values load(); diff --git a/kshowmail/kcmconfigs/configdisplay.cpp b/kshowmail/kcmconfigs/configdisplay.cpp index abcd1d6..2faaad8 100644 --- a/kshowmail/kcmconfigs/configdisplay.cpp +++ b/kshowmail/kcmconfigs/configdisplay.cpp @@ -127,7 +127,7 @@ ConfigDisplay::ConfigDisplay( TQWidget * parent, const char * name, const TQStri //get application config object (kshowmailrc) - config = TDEApplication::kApplication()->config(); + config = tdeApp->config(); //load configurated values load(); diff --git a/kshowmail/kcmconfigs/configfilter.cpp b/kshowmail/kcmconfigs/configfilter.cpp index 1384d0d..1f32990 100644 --- a/kshowmail/kcmconfigs/configfilter.cpp +++ b/kshowmail/kcmconfigs/configfilter.cpp @@ -160,7 +160,7 @@ ConfigFilter::ConfigFilter( TQWidget * parent, const char * name, const TQString slotFilterActiveToggled( DEFAULT_FILTER_ACTIVE ); //get application config object (kshowmailrc) - config = TDEApplication::kApplication()->config(); + config = tdeApp->config(); //init counter for filter item numbering. This variable contains the last assigned number of a filter setup item. //Because it is initialized with zero, the first filter number is 1. diff --git a/kshowmail/kcmconfigs/configgeneral.cpp b/kshowmail/kcmconfigs/configgeneral.cpp index b96d0a0..a5c1d38 100644 --- a/kshowmail/kcmconfigs/configgeneral.cpp +++ b/kshowmail/kcmconfigs/configgeneral.cpp @@ -111,7 +111,7 @@ ConfigGeneral::ConfigGeneral( TQWidget * parent, const char * name, const TQStri //get application config object (kshowmailrc) - config = TDEApplication::kApplication()->config(); + config = tdeApp->config(); //load configurated values load(); diff --git a/kshowmail/kcmconfigs/configlog.cpp b/kshowmail/kcmconfigs/configlog.cpp index 54bf579..65ffec2 100644 --- a/kshowmail/kcmconfigs/configlog.cpp +++ b/kshowmail/kcmconfigs/configlog.cpp @@ -97,7 +97,7 @@ ConfigLog::ConfigLog( TQWidget * parent, const char * name, const TQStringList & spbMovDays->setHidden( true ); //get application config object (kshowmailrc) - config = TDEApplication::kApplication()->config(); + config = tdeApp->config(); //load configured values load(); diff --git a/kshowmail/kcmconfigs/configspamcheck.cpp b/kshowmail/kcmconfigs/configspamcheck.cpp index 7d23719..61df959 100644 --- a/kshowmail/kcmconfigs/configspamcheck.cpp +++ b/kshowmail/kcmconfigs/configspamcheck.cpp @@ -86,7 +86,7 @@ ConfigSpamcheck::ConfigSpamcheck(TQWidget * parent, const char * name, const TQS gboxAction->setEnabled( isSpamAssassinRunning() ); //get application config object (kshowmailrc) - config = TDEApplication::kApplication()->config(); + config = tdeApp->config(); //load configured values load(); diff --git a/kshowmail/kcmconfigs/filtersetupitem.cpp b/kshowmail/kcmconfigs/filtersetupitem.cpp index d964296..30f17c7 100644 --- a/kshowmail/kcmconfigs/filtersetupitem.cpp +++ b/kshowmail/kcmconfigs/filtersetupitem.cpp @@ -36,7 +36,7 @@ FilterSetupItem::~FilterSetupItem() void FilterSetupItem::init( ) { //get application config object (kshowmailrc) - config = TDEApplication::kApplication()->config(); + config = tdeApp->config(); //set default values setName( i18n( DEFAULT_FILTER_NAME ) ); diff --git a/kshowmail/kcmconfigs/senderlistdialog.cpp b/kshowmail/kcmconfigs/senderlistdialog.cpp index 1e21f40..c23fb70 100644 --- a/kshowmail/kcmconfigs/senderlistdialog.cpp +++ b/kshowmail/kcmconfigs/senderlistdialog.cpp @@ -18,7 +18,7 @@ SenderListDialog::SenderListDialog(TQWidget *parent, ListType list, const char * this->list = list; //get application config object (kshowmailrc) - config = TDEApplication::kApplication()->config(); + config = tdeApp->config(); //set caption if( list == White ) diff --git a/kshowmail/kfeedback.cpp b/kshowmail/kfeedback.cpp index 2041413..0807980 100644 --- a/kshowmail/kfeedback.cpp +++ b/kshowmail/kfeedback.cpp @@ -163,7 +163,7 @@ KFeedbackForm::sendMail() if ( aboutData ) subject = aboutData->programName() + "-" + aboutData->version(); else - subject = kapp->name(); + subject = tdeApp->name(); subject += " user feedback"; @@ -198,7 +198,7 @@ KFeedbackForm::sendMail() // Actually send mail // - kapp->invokeMailer( mail ); + tdeApp->invokeMailer( mail ); emit mailSent(); } diff --git a/kshowmail/kshowmail.cpp b/kshowmail/kshowmail.cpp index ce59f69..c197c0a 100644 --- a/kshowmail/kshowmail.cpp +++ b/kshowmail/kshowmail.cpp @@ -249,7 +249,7 @@ void KShowMailApp::slotSetupAccount() //just open the dialog, if the app is idle if (m_state != idle) { - kapp->beep(); + tdeApp->beep(); return; } @@ -311,7 +311,7 @@ void KShowMailApp::slotRefresh() //return, if the app is not idle if ( m_state != idle ) { - kapp->beep(); + tdeApp->beep(); initNextRefresh(); return; } @@ -338,7 +338,7 @@ void KShowMailApp::slotStop () { if (m_state == idle) { - kapp->beep (); + tdeApp->beep (); return; } kdDebug() << "KShowMailApp::slotStop" << endl; @@ -400,7 +400,7 @@ void KShowMailApp::slotDelete() //just delete, if no operation is running if( m_state != idle ) { - kapp->beep(); + tdeApp->beep(); return; } @@ -440,7 +440,7 @@ void KShowMailApp::slotShowHeader () //only show headers, if the app is idle if( m_state != idle ) { - kapp->beep (); + tdeApp->beep (); return; } @@ -454,7 +454,7 @@ void KShowMailApp::slotShowMessage () //return, if application is not idle if( m_state != idle ) { - kapp->beep (); + tdeApp->beep (); return; } @@ -737,7 +737,7 @@ void KShowMailApp::slotSetup( ) //just open the dialog, if the app is idle if (m_state != idle) { - kapp->beep(); + tdeApp->beep(); return; } @@ -811,7 +811,7 @@ void KShowMailApp::slotAddToWhitelist( ) TQStringList newEntries = m_ConfigList.getSelectedSenders(); //get previous whitelist from config - TDEConfig* config = TDEApplication::kApplication()->config(); + TDEConfig* config = tdeApp->config(); config->setGroup( CONFIG_GROUP_FILTER ); TQStringList whiteList = config->readListEntry( CONFIG_ENTRY_FILTER_WHITELIST ); @@ -838,7 +838,7 @@ void KShowMailApp::slotAddToBlacklist( ) TQStringList newEntries = m_ConfigList.getSelectedSenders(); //get previous blacklist from config - TDEConfig* config = TDEApplication::kApplication()->config(); + TDEConfig* config = tdeApp->config(); config->setGroup( CONFIG_GROUP_FILTER ); TQStringList blackList = config->readListEntry( CONFIG_ENTRY_FILTER_BLACKLIST ); diff --git a/kshowmail/kshowmailview.cpp b/kshowmail/kshowmailview.cpp index aba1934..f517359 100644 --- a/kshowmail/kshowmailview.cpp +++ b/kshowmail/kshowmailview.cpp @@ -40,7 +40,7 @@ KshowmailView::KshowmailView(TQWidget *parent, const char *name): setFocusPolicy( TQWidget::StrongFocus ); //get application config object (kshowmailrc) - config = TDEApplication::kApplication()->config(); + config = tdeApp->config(); //load active pic for the account list m_pixOk = new TQPixmap( ::locate( "data", "kshowmail/pics/ok.png" ) ); @@ -157,7 +157,7 @@ void KshowmailView::slotAccountClicked( TQListViewItem* pItem, const TQPoint&, i { //get application config object (kshowmailrc) - TDEConfig* config = TDEApplication::kApplication()->config(); + TDEConfig* config = tdeApp->config(); if( col == 0 ) { diff --git a/kshowmail/senderlistfilter.cpp b/kshowmail/senderlistfilter.cpp index 881a376..8449b5e 100644 --- a/kshowmail/senderlistfilter.cpp +++ b/kshowmail/senderlistfilter.cpp @@ -15,7 +15,7 @@ SenderListFilter::SenderListFilter() { //get the application config object - config = TDEApplication::kApplication()->config(); + config = tdeApp->config(); //load the setup load(); diff --git a/kshowmail/serverdialog.cpp b/kshowmail/serverdialog.cpp index 7adecd6..4dec202 100644 --- a/kshowmail/serverdialog.cpp +++ b/kshowmail/serverdialog.cpp @@ -202,7 +202,7 @@ void ServerDialog::slotOk( ) } //get application config object (kshowmailrc) - TDEConfig* config = TDEApplication::kApplication()->config(); + TDEConfig* config = tdeApp->config(); config->setGroup( txtAccount->text() ); diff --git a/kshowmail/showmaildialog.cpp b/kshowmail/showmaildialog.cpp index 1b57c7c..f081363 100644 --- a/kshowmail/showmaildialog.cpp +++ b/kshowmail/showmaildialog.cpp @@ -94,7 +94,7 @@ void ShowMailDialog::slotUser1( ) mail.setQuery( "?subject=" + KURL::encode_string( "Re: " + m_subject ) + "&body=" + KURL::encode_string( body ) ); //invoke mailer - kapp->invokeMailer( mail ); + tdeApp->invokeMailer( mail ); } diff --git a/kshowmail/showrecordelem.cpp b/kshowmail/showrecordelem.cpp index 19af8ae..3b12e68 100644 --- a/kshowmail/showrecordelem.cpp +++ b/kshowmail/showrecordelem.cpp @@ -583,7 +583,7 @@ int ShowRecordElem::showHeader( TQString& account ) TQString tmailheader = header(); //create and open the window - ShowHeaderDialog dlg( kapp->mainWidget(), account, tsubject, tmailheader ); + ShowHeaderDialog dlg( tdeApp->mainWidget(), account, tsubject, tmailheader ); int ret = dlg.exec(); //returns the matching value |