summaryrefslogtreecommitdiffstats
path: root/src/common/global/process.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/global/process.cpp')
-rw-r--r--src/common/global/process.cpp8
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();