From 9c02dbb59ce57c68dc177d9294b980bf114a3e11 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 24 Jul 2013 15:59:03 -0500 Subject: Update to TDE R14 API --- doc/html/commandentry_8cpp-source.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'doc/html/commandentry_8cpp-source.html') 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 @@ 00018 #include <stdio.h> 00019 #include <unistd.h> 00020 -00021 #include <kapplication.h> -00022 #include <kaction.h> +00021 #include <tdeapplication.h> +00022 #include <tdeaction.h> 00023 #include <kdebug.h> -00024 #include <qmessagebox.h> +00024 #include <ntqmessagebox.h> 00025 00026 #include "commandentry.h" 00027 #include "editdialog.h" @@ -58,10 +58,10 @@ 00041 return exec (m_path, pelem, header, body); 00042 } 00043 -00044 bool CommandEntry::exec (const QString& path, ConfigElem* pelem, const char* header, const char* body) +00044 bool CommandEntry::exec (const TQString& path, ConfigElem* pelem, const char* header, const char* body) 00045 { 00046 kdDebug () << "CommandEntry::exec (" << path << ");" << endl; -00047 QString cmd = path; +00047 TQString cmd = path; 00048 int pos; 00049 if (pelem) 00050 { @@ -100,12 +100,12 @@ 00083 //execute the command and wait for it to return 00084 FILE* output = popen (cmd, "r"); 00085 char buffer [81]; -00086 QString str; +00086 TQString str; 00087 while (fgets (buffer, 80, output)) 00088 { 00089 str += buffer; 00090 } -00091 KApplication::setOverrideCursor (Qt::arrowCursor); +00091 TDEApplication::setOverrideCursor (TQt::arrowCursor); 00092 result = pclose (output); 00093 if (!str.isEmpty ()) 00094 { @@ -132,7 +132,7 @@ 00115 dlg.exec (); 00116 } 00117 } -00118 KApplication::restoreOverrideCursor (); +00118 TDEApplication::restoreOverrideCursor (); 00119 return (result == 0); 00120 } 00121 -- cgit v1.2.1