summaryrefslogtreecommitdiffstats
path: root/lib/widgets/processlinemaker.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /lib/widgets/processlinemaker.cpp
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/widgets/processlinemaker.cpp')
-rw-r--r--lib/widgets/processlinemaker.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/widgets/processlinemaker.cpp b/lib/widgets/processlinemaker.cpp
index e4f7e08d..8fdbc5d2 100644
--- a/lib/widgets/processlinemaker.cpp
+++ b/lib/widgets/processlinemaker.cpp
@@ -28,11 +28,11 @@ ProcessLineMaker::ProcessLineMaker()
ProcessLineMaker::ProcessLineMaker( const KProcess* proc )
{
- connect(proc, SIGNAL(receivedStdout(KProcess*,char*,int)),
- this, SLOT(slotReceivedStdout(KProcess*,char*,int)) );
+ connect(proc, TQT_SIGNAL(receivedStdout(KProcess*,char*,int)),
+ this, TQT_SLOT(slotReceivedStdout(KProcess*,char*,int)) );
- connect(proc, SIGNAL(receivedStderr(KProcess*,char*,int)),
- this, SLOT(slotReceivedStderr(KProcess*,char*,int)) );
+ connect(proc, TQT_SIGNAL(receivedStderr(KProcess*,char*,int)),
+ this, TQT_SLOT(slotReceivedStderr(KProcess*,char*,int)) );
}
void ProcessLineMaker::slotReceivedStdout( const char *buffer )
@@ -40,7 +40,7 @@ void ProcessLineMaker::slotReceivedStdout( const char *buffer )
stdoutbuf += buffer;
int pos;
while ( (pos = stdoutbuf.find('\n')) != -1) {
- QCString line = stdoutbuf.left( pos );
+ TQCString line = stdoutbuf.left( pos );
emit receivedStdoutLine(line);
stdoutbuf.remove(0, pos+1);
}
@@ -61,7 +61,7 @@ void ProcessLineMaker::slotReceivedStderr( const char *buffer )
stderrbuf += buffer;
int pos;
while ( (pos = stderrbuf.find('\n')) != -1) {
- QCString line = stderrbuf.left( pos );
+ TQCString line = stderrbuf.left( pos );
emit receivedStderrLine(line);
stderrbuf.remove(0, pos+1);
}