From dc6b8e72fed2586239e3514819238c520636c9d9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:54:04 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1157656 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kommander/editor/assistproc.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kommander/editor/assistproc.cpp') diff --git a/kommander/editor/assistproc.cpp b/kommander/editor/assistproc.cpp index 58ac4f78..f5f765d8 100644 --- a/kommander/editor/assistproc.cpp +++ b/kommander/editor/assistproc.cpp @@ -19,21 +19,21 @@ **********************************************************************/ #include "assistproc.h" -AssistProc::AssistProc( QObject *parent, const char *name, const QString &path ) - : QProcess( parent, name ) +AssistProc::AssistProc( TQObject *parent, const char *name, const TQString &path ) + : TQProcess( parent, name ) { assistantPath = path; - connect( this, SIGNAL(readyReadStdout()), this, SLOT(processOutput()) ); - connect( this, SIGNAL(readyReadStderr()), this, SLOT(processErrOutput()) ); + connect( this, TQT_SIGNAL(readyReadStdout()), this, TQT_SLOT(processOutput()) ); + connect( this, TQT_SIGNAL(readyReadStderr()), this, TQT_SLOT(processErrOutput()) ); } AssistProc::~AssistProc() { tryTerminate(); - QTimer::singleShot( 5000, this, SLOT(kill())); // If busy, kill in 5 sec... + TQTimer::singleShot( 5000, this, TQT_SLOT(kill())); // If busy, kill in 5 sec... } -bool AssistProc::run( const QString &path ) +bool AssistProc::run( const TQString &path ) { if ( !path.isEmpty() ) assistantPath = path; @@ -49,7 +49,7 @@ bool AssistProc::run( const QString &path ) return true; } -bool AssistProc::sendRequest( const QString &data ) +bool AssistProc::sendRequest( const TQString &data ) { if ( isRunning() ) { writeToStdin( data ); -- cgit v1.2.1