diff options
Diffstat (limited to 'kdpkg-install/process.cpp')
-rw-r--r-- | kdpkg-install/process.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kdpkg-install/process.cpp b/kdpkg-install/process.cpp index d89ef4a..a788a9f 100644 --- a/kdpkg-install/process.cpp +++ b/kdpkg-install/process.cpp @@ -5,11 +5,11 @@ Process::Process() { - _buffer = QString::null; + _buffer = TQString(); _process = new KProcess(); - connect(_process, SIGNAL(receivedStdout(KProcess*, char*, int)), - this, SLOT(slotProcessOutput(KProcess*, char*, int))); + connect(_process, TQT_SIGNAL(receivedStdout(KProcess*, char*, int)), + this, TQT_SLOT(slotProcessOutput(KProcess*, char*, int))); } @@ -17,11 +17,11 @@ { } - void Process::setCommand(QString command) + void Process::setCommand(TQString command) { // make clean _process->clearArguments(); - _buffer = QString::null; + _buffer = TQString(); *_process << "/bin/bash"; *_process << "-c"; @@ -37,7 +37,7 @@ _process->start(KProcess::DontCare, KProcess::Stdout); } - QString Process::getBuffer() + TQString Process::getBuffer() { return _buffer; } @@ -56,7 +56,7 @@ { if (process != _process) return; - _buffer.append(QString::fromLocal8Bit(buffer, len)); + _buffer.append(TQString::fromLocal8Bit(buffer, len)); } |