|
|
|
@ -35,7 +35,7 @@
|
|
|
|
|
<a name="l00018"></a>00018 <span class="comment">//KDE-Header</span>
|
|
|
|
|
<a name="l00019"></a>00019 <span class="preprocessor">#include <tdecmdlineargs.h></span>
|
|
|
|
|
<a name="l00020"></a>00020 <span class="preprocessor">#include <tdeaboutdata.h></span>
|
|
|
|
|
<a name="l00021"></a>00021 <span class="preprocessor">#include <kuniqueapplication.h></span>
|
|
|
|
|
<a name="l00021"></a>00021 <span class="preprocessor">#include <tdeuniqueapplication.h></span>
|
|
|
|
|
<a name="l00022"></a>00022 <span class="preprocessor">#include <tdelocale.h></span>
|
|
|
|
|
<a name="l00023"></a>00023 <span class="preprocessor">#include <kdebug.h></span>
|
|
|
|
|
<a name="l00024"></a>00024
|
|
|
|
@ -103,15 +103,15 @@
|
|
|
|
|
<a name="l00086"></a>00086 kdDebug () << <span class="stringliteral">"KShowmail running in normal mode"</span> << endl;
|
|
|
|
|
<a name="l00087"></a>00087
|
|
|
|
|
<a name="l00088"></a>00088 <span class="comment">//add special command line options for unique KDE applications</span>
|
|
|
|
|
<a name="l00089"></a>00089 KUniqueApplication::addCmdLineOptions();
|
|
|
|
|
<a name="l00089"></a>00089 TDEUniqueApplication::addCmdLineOptions();
|
|
|
|
|
<a name="l00090"></a>00090
|
|
|
|
|
<a name="l00091"></a>00091 <span class="comment">//test whether the new application to start is unique</span>
|
|
|
|
|
<a name="l00092"></a>00092 <span class="keywordflow">if</span> (KUniqueApplication::start())
|
|
|
|
|
<a name="l00092"></a>00092 <span class="keywordflow">if</span> (TDEUniqueApplication::start())
|
|
|
|
|
<a name="l00093"></a>00093 {
|
|
|
|
|
<a name="l00094"></a>00094 <span class="comment">//yes, wa can start a unique kshowmail instance</span>
|
|
|
|
|
<a name="l00095"></a>00095
|
|
|
|
|
<a name="l00096"></a>00096 <span class="comment">//create a new unique appliction</span>
|
|
|
|
|
<a name="l00097"></a>00097 <span class="comment">//UniqueApp is a inherited class of KUniqueApplication</span>
|
|
|
|
|
<a name="l00097"></a>00097 <span class="comment">//UniqueApp is a inherited class of TDEUniqueApplication</span>
|
|
|
|
|
<a name="l00098"></a>00098 <span class="comment">//see uniqueapp.h</span>
|
|
|
|
|
<a name="l00099"></a>00099 <a class="code" href="classUniqueApp.html">UniqueApp</a>* app = <span class="keyword">new</span> <a class="code" href="classUniqueApp.html">UniqueApp</a> ();
|
|
|
|
|
<a name="l00100"></a>00100
|
|
|
|
|