diff options
Diffstat (limited to 'languages/ruby/debugger/rdbcontroller.cpp')
-rw-r--r-- | languages/ruby/debugger/rdbcontroller.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/languages/ruby/debugger/rdbcontroller.cpp b/languages/ruby/debugger/rdbcontroller.cpp index 25fcd6a4..278d0ff2 100644 --- a/languages/ruby/debugger/rdbcontroller.cpp +++ b/languages/ruby/debugger/rdbcontroller.cpp @@ -714,19 +714,19 @@ void RDBController::slotStart(const TQString& ruby_interpreter, const TQString& return; } - dbgProcess_ = new KProcess; + dbgProcess_ = new TDEProcess; - connect( dbgProcess_, TQT_SIGNAL(receivedStdout(KProcess *, char *, int)), - this, TQT_SLOT(slotDbgStdout(KProcess *, char *, int)) ); + connect( dbgProcess_, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)), + this, TQT_SLOT(slotDbgStdout(TDEProcess *, char *, int)) ); - connect( dbgProcess_, TQT_SIGNAL(receivedStderr(KProcess *, char *, int)), - this, TQT_SLOT(slotDbgStderr(KProcess *, char *, int)) ); + connect( dbgProcess_, TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int)), + this, TQT_SLOT(slotDbgStderr(TDEProcess *, char *, int)) ); - connect( dbgProcess_, TQT_SIGNAL(wroteStdin(KProcess *)), - this, TQT_SLOT(slotDbgWroteStdin(KProcess *)) ); + connect( dbgProcess_, TQT_SIGNAL(wroteStdin(TDEProcess *)), + this, TQT_SLOT(slotDbgWroteStdin(TDEProcess *)) ); - connect( dbgProcess_, TQT_SIGNAL(processExited(KProcess*)), - this, TQT_SLOT(slotDbgProcessExited(KProcess*)) ); + connect( dbgProcess_, TQT_SIGNAL(processExited(TDEProcess*)), + this, TQT_SLOT(slotDbgProcessExited(TDEProcess*)) ); rubyInterpreter_ = ruby_interpreter; characterCoding_ = character_coding; @@ -752,8 +752,8 @@ void RDBController::slotStart(const TQString& ruby_interpreter, const TQString& + " -r " + debuggee_path + " " + application + " " + run_arguments ).latin1() ); - if (!dbgProcess_->start( KProcess::NotifyOnExit, - KProcess::Communication(KProcess::All)) ) + if (!dbgProcess_->start( TDEProcess::NotifyOnExit, + TDEProcess::Communication(TDEProcess::All)) ) { kdDebug(9012) << "Couldn't start ruby debugger" << endl; } @@ -1154,7 +1154,7 @@ void RDBController::slotFetchGlobals(bool fetch) // ************************************************************************** // Data from the ruby program's stdout gets processed here. -void RDBController::slotDbgStdout(KProcess *, char *buf, int buflen) +void RDBController::slotDbgStdout(TDEProcess *, char *buf, int buflen) { TQCString msg(buf, buflen+1); emit ttyStdout(msg); @@ -1163,7 +1163,7 @@ void RDBController::slotDbgStdout(KProcess *, char *buf, int buflen) // ************************************************************************** // Data from the ruby program's stderr gets processed here. -void RDBController::slotDbgStderr(KProcess *, char *buf, int buflen) +void RDBController::slotDbgStderr(TDEProcess *, char *buf, int buflen) { TQCString msg(buf, buflen+1); emit ttyStderr(msg); @@ -1171,7 +1171,7 @@ void RDBController::slotDbgStderr(KProcess *, char *buf, int buflen) // ************************************************************************** -void RDBController::slotDbgWroteStdin(KProcess *) +void RDBController::slotDbgWroteStdin(TDEProcess *) { // setStateOff(s_waitForWrite); // if (!stateIsOn(s_silent)) @@ -1279,7 +1279,7 @@ void RDBController::slotReadFromSocket(int socket) // ************************************************************************** -void RDBController::slotDbgProcessExited(KProcess*) +void RDBController::slotDbgProcessExited(TDEProcess*) { destroyCmds(); state_ = s_appNotStarted|s_programExited|(state_&(s_shuttingDown)); |