summaryrefslogtreecommitdiffstats
path: root/doc/html/commandentry_8cpp-source.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/commandentry_8cpp-source.html')
-rw-r--r--doc/html/commandentry_8cpp-source.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/commandentry_8cpp-source.html b/doc/html/commandentry_8cpp-source.html
index 94ad5c7..b134513 100644
--- a/doc/html/commandentry_8cpp-source.html
+++ b/doc/html/commandentry_8cpp-source.html
@@ -35,10 +35,10 @@
<a name="l00018"></a>00018 <span class="preprocessor">#include &lt;stdio.h&gt;</span>
<a name="l00019"></a>00019 <span class="preprocessor">#include &lt;unistd.h&gt;</span>
<a name="l00020"></a>00020
-<a name="l00021"></a>00021 <span class="preprocessor">#include &lt;kapplication.h&gt;</span>
-<a name="l00022"></a>00022 <span class="preprocessor">#include &lt;kaction.h&gt;</span>
+<a name="l00021"></a>00021 <span class="preprocessor">#include &lt;tdeapplication.h&gt;</span>
+<a name="l00022"></a>00022 <span class="preprocessor">#include &lt;tdeaction.h&gt;</span>
<a name="l00023"></a>00023 <span class="preprocessor">#include &lt;kdebug.h&gt;</span>
-<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;qmessagebox.h&gt;</span>
+<a name="l00024"></a>00024 <span class="preprocessor">#include &lt;ntqmessagebox.h&gt;</span>
<a name="l00025"></a>00025
<a name="l00026"></a>00026 <span class="preprocessor">#include "commandentry.h"</span>
<a name="l00027"></a>00027 <span class="preprocessor">#include "editdialog.h"</span>
@@ -58,10 +58,10 @@
<a name="l00041"></a>00041 <span class="keywordflow">return</span> <a class="code" href="classCommandEntry.html#371ab20c14d238960b5e2054ac98a548">exec</a> (<a class="code" href="classCommandEntry.html#b2824de79b051470cd00b1d2b51a0ce1">m_path</a>, pelem, header, body);
<a name="l00042"></a>00042 }
<a name="l00043"></a>00043
-<a name="l00044"></a><a class="code" href="classCommandEntry.html#cd2d8c4b1d560d214e0dcbdabefe168f">00044</a> <span class="keywordtype">bool</span> <a class="code" href="classCommandEntry.html#371ab20c14d238960b5e2054ac98a548">CommandEntry::exec</a> (<span class="keyword">const</span> QString&amp; path, <a class="code" href="classConfigElem.html">ConfigElem</a>* pelem, <span class="keyword">const</span> <span class="keywordtype">char</span>* header, <span class="keyword">const</span> <span class="keywordtype">char</span>* body)
+<a name="l00044"></a><a class="code" href="classCommandEntry.html#cd2d8c4b1d560d214e0dcbdabefe168f">00044</a> <span class="keywordtype">bool</span> <a class="code" href="classCommandEntry.html#371ab20c14d238960b5e2054ac98a548">CommandEntry::exec</a> (<span class="keyword">const</span> TQString&amp; path, <a class="code" href="classConfigElem.html">ConfigElem</a>* pelem, <span class="keyword">const</span> <span class="keywordtype">char</span>* header, <span class="keyword">const</span> <span class="keywordtype">char</span>* body)
<a name="l00045"></a>00045 {
<a name="l00046"></a>00046 kdDebug () &lt;&lt; <span class="stringliteral">"CommandEntry::exec ("</span> &lt;&lt; path &lt;&lt; <span class="stringliteral">");"</span> &lt;&lt; endl;
-<a name="l00047"></a>00047 QString cmd = path;
+<a name="l00047"></a>00047 TQString cmd = path;
<a name="l00048"></a>00048 <span class="keywordtype">int</span> pos;
<a name="l00049"></a>00049 <span class="keywordflow">if</span> (pelem)
<a name="l00050"></a>00050 {
@@ -100,12 +100,12 @@
<a name="l00083"></a>00083 <span class="comment">//execute the command and wait for it to return</span>
<a name="l00084"></a>00084 FILE* output = popen (cmd, <span class="stringliteral">"r"</span>);
<a name="l00085"></a>00085 <span class="keywordtype">char</span> buffer [81];
-<a name="l00086"></a>00086 QString str;
+<a name="l00086"></a>00086 TQString str;
<a name="l00087"></a>00087 <span class="keywordflow">while</span> (fgets (buffer, 80, output))
<a name="l00088"></a>00088 {
<a name="l00089"></a>00089 str += buffer;
<a name="l00090"></a>00090 }
-<a name="l00091"></a>00091 KApplication::setOverrideCursor (Qt::arrowCursor);
+<a name="l00091"></a>00091 TDEApplication::setOverrideCursor (TQt::arrowCursor);
<a name="l00092"></a>00092 result = pclose (output);
<a name="l00093"></a>00093 <span class="keywordflow">if</span> (!str.isEmpty ())
<a name="l00094"></a>00094 {
@@ -132,7 +132,7 @@
<a name="l00115"></a>00115 dlg.exec ();
<a name="l00116"></a>00116 }
<a name="l00117"></a>00117 }
-<a name="l00118"></a>00118 KApplication::restoreOverrideCursor ();
+<a name="l00118"></a>00118 TDEApplication::restoreOverrideCursor ();
<a name="l00119"></a>00119 <span class="keywordflow">return</span> (result == 0);
<a name="l00120"></a>00120 }
<a name="l00121"></a>00121