summaryrefslogtreecommitdiffstats
path: root/languages/cpp/setuphelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/setuphelper.cpp')
-rw-r--r--languages/cpp/setuphelper.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/languages/cpp/setuphelper.cpp b/languages/cpp/setuphelper.cpp
index b75723c4..d91c508f 100644
--- a/languages/cpp/setuphelper.cpp
+++ b/languages/cpp/setuphelper.cpp
@@ -25,10 +25,10 @@ TQString getGccIncludePath(bool *ok)
{
*ok = true;
TQString processStdout;
- BlockingKProcess proc;
+ BlockingTDEProcess proc;
proc << "gcc" ;
proc << "-print-file-name=include" ;
- if ( !proc.start(KProcess::NotifyOnExit, KProcess::Stdout) ) {
+ if ( !proc.start(TDEProcess::NotifyOnExit, TDEProcess::Stdout) ) {
kdWarning(9007) << "Couldn't start gcc" << endl;
*ok = false;
return TQString();
@@ -54,11 +54,11 @@ TQString getVerboseGccIncludePath(bool *ok)
fwrite(fileText, strlen(fileText), 1, tempFile.fstream() );
tempFile.close();
- BlockingKProcess proc;
+ BlockingTDEProcess proc;
proc.setUseShell(true);
proc.setWorkingDirectory(pathInfo.dir(true).path());
proc << "gcc -v " + pathInfo.fileName() + " 2>&1";
- if ( !proc.start(KProcess::NotifyOnExit, KProcess::Stdout) ) {
+ if ( !proc.start(TDEProcess::NotifyOnExit, TDEProcess::Stdout) ) {
kdWarning(9007) << "Couldn't start gcc" << endl;
*ok = false;
return TQString();
@@ -71,13 +71,13 @@ TQStringList getGccMacros(bool *ok)
{
*ok = true;
TQString processStdout;
- BlockingKProcess proc;
+ BlockingTDEProcess proc;
proc << "gcc";
proc << "-E";
proc << "-dM";
proc << "-ansi" ;
proc << "-";
- if ( !proc.start(KProcess::NotifyOnExit, KProcess::Stdout) ) {
+ if ( !proc.start(TDEProcess::NotifyOnExit, TDEProcess::Stdout) ) {
kdWarning(9007) << "Couldn't start gcc" << endl;
*ok = false;
return TQStringList();