diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:51:01 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:51:01 -0600 |
commit | b9e542d0c805e9adee3a67e44532d5321032e21e (patch) | |
tree | e82d85b9035cc2ca322911e8a6e38a3bd8b1d431 /languages/cpp/setuphelper.cpp | |
parent | 7a392a04059bd904dab4c78910a6d34aa0b37798 (diff) | |
download | tdevelop-b9e542d0c805e9adee3a67e44532d5321032e21e.tar.gz tdevelop-b9e542d0c805e9adee3a67e44532d5321032e21e.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'languages/cpp/setuphelper.cpp')
-rw-r--r-- | languages/cpp/setuphelper.cpp | 12 |
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(); |