diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:14:26 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:14:26 -0600 |
commit | 9d9fe02a944fe0719c2475739411727a729251ad (patch) | |
tree | 5b05f738dd8631ae2c2e2ed46f4a7785fad410f7 /src/common/global/process.cpp | |
parent | ad1fc5fc8eadb9b63e8767e57ac41cbac84f7eb7 (diff) | |
download | piklab-9d9fe02a944fe0719c2475739411727a729251ad.tar.gz piklab-9d9fe02a944fe0719c2475739411727a729251ad.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/common/global/process.cpp')
-rw-r--r-- | src/common/global/process.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/global/process.cpp b/src/common/global/process.cpp index ed63f86..238d336 100644 --- a/src/common/global/process.cpp +++ b/src/common/global/process.cpp @@ -146,13 +146,13 @@ bool Process::Base::isFilteredLine(const TQString &line) //---------------------------------------------------------------------------- void Process::StringOutput::receivedStdout(KProcess*, char *data, int len) { - _stdout += TQString::tqfromLatin1(data, len); + _stdout += TQString::fromLatin1(data, len); emit stdoutDataReceived(); } void Process::StringOutput::receivedStderr(KProcess*, char *data, int len) { - _stderr += TQString::tqfromLatin1(data, len); + _stderr += TQString::fromLatin1(data, len); emit stderrDataReceived(); } @@ -164,7 +164,7 @@ void Process::LineBase::receivedStdout(KProcess*, char *data, int len) if ( data[i]=='\n' ) { if ( !isFilteredLine(_stdout) ) addStdoutLine(_stdout); _stdout = TQString(); - } else _stdout += TQString::tqfromLatin1(data + i, 1); + } else _stdout += TQString::fromLatin1(data + i, 1); } if ( !_process->isRunning() && !isFilteredLine(_stdout) ) addStdoutLine(_stdout); emit stdoutDataReceived(); @@ -177,7 +177,7 @@ void Process::LineBase::receivedStderr(KProcess*, char *data, int len) if ( data[i]=='\n' ) { if ( !isFilteredLine(_stderr) ) addStderrLine(_stderr); _stderr = TQString(); - } else _stderr += TQString::tqfromLatin1(data + i, 1); + } else _stderr += TQString::fromLatin1(data + i, 1); } if ( !_process->isRunning() && !isFilteredLine(_stderr) ) addStderrLine(_stderr); emit stderrDataReceived(); |