summaryrefslogtreecommitdiffstats
path: root/languages/ruby/debugger/rdbcontroller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/ruby/debugger/rdbcontroller.cpp')
-rw-r--r--languages/ruby/debugger/rdbcontroller.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/languages/ruby/debugger/rdbcontroller.cpp b/languages/ruby/debugger/rdbcontroller.cpp
index 16ce7179..a9580249 100644
--- a/languages/ruby/debugger/rdbcontroller.cpp
+++ b/languages/ruby/debugger/rdbcontroller.cpp
@@ -43,7 +43,7 @@
#include <tdeglobal.h>
#include <tdelocale.h>
#include <tdemessagebox.h>
-#include <kprocess.h>
+#include <tdeprocess.h>
#include <tqdatetime.h>
#include <tqfileinfo.h>
@@ -130,8 +130,8 @@ RDBController::RDBController(VariableTree *varTree, FramestackWidget *frameStack
bind(masterSocket_, (const struct sockaddr*) &sockaddr, sizeof(sockaddr));
listen(masterSocket_, 1);
acceptNotifier_ = new TQSocketNotifier(masterSocket_, TQSocketNotifier::Read, this);
- TQObject::connect( acceptNotifier_, TQT_SIGNAL(activated(int)),
- this, TQT_SLOT(slotAcceptConnection(int)) );
+ TQObject::connect( acceptNotifier_, TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(slotAcceptConnection(int)) );
configure();
cmdList_.setAutoDelete(true);
@@ -693,11 +693,11 @@ void RDBController::slotStart(const TQString& ruby_interpreter, const TQString&
Q_ASSERT (!dbgProcess_ && !tty_);
// tty_ = new STTY(config_dbgTerminal_, "konsole");
- tty_ = new STTY(config_dbgTerminal_, Settings::terminalEmulatorName( *kapp->config() ));
+ tty_ = new STTY(config_dbgTerminal_, Settings::terminalEmulatorName( *tdeApp->config() ));
if (!config_dbgTerminal_)
{
- connect( tty_, TQT_SIGNAL(OutOutput(const char*)), TQT_SIGNAL(ttyStdout(const char*)) );
- connect( tty_, TQT_SIGNAL(ErrOutput(const char*)), TQT_SIGNAL(ttyStderr(const char*)) );
+ connect( tty_, TQ_SIGNAL(OutOutput(const char*)), TQ_SIGNAL(ttyStdout(const char*)) );
+ connect( tty_, TQ_SIGNAL(ErrOutput(const char*)), TQ_SIGNAL(ttyStderr(const char*)) );
}
TQString tty(tty_->getSlave());
@@ -716,17 +716,17 @@ void RDBController::slotStart(const TQString& ruby_interpreter, const TQString&
dbgProcess_ = new TDEProcess;
- connect( dbgProcess_, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
- this, TQT_SLOT(slotDbgStdout(TDEProcess *, char *, int)) );
+ connect( dbgProcess_, TQ_SIGNAL(receivedStdout(TDEProcess *, char *, int)),
+ this, TQ_SLOT(slotDbgStdout(TDEProcess *, char *, int)) );
- connect( dbgProcess_, TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int)),
- this, TQT_SLOT(slotDbgStderr(TDEProcess *, char *, int)) );
+ connect( dbgProcess_, TQ_SIGNAL(receivedStderr(TDEProcess *, char *, int)),
+ this, TQ_SLOT(slotDbgStderr(TDEProcess *, char *, int)) );
- connect( dbgProcess_, TQT_SIGNAL(wroteStdin(TDEProcess *)),
- this, TQT_SLOT(slotDbgWroteStdin(TDEProcess *)) );
+ connect( dbgProcess_, TQ_SIGNAL(wroteStdin(TDEProcess *)),
+ this, TQ_SLOT(slotDbgWroteStdin(TDEProcess *)) );
- connect( dbgProcess_, TQT_SIGNAL(processExited(TDEProcess*)),
- this, TQT_SLOT(slotDbgProcessExited(TDEProcess*)) );
+ connect( dbgProcess_, TQ_SIGNAL(processExited(TDEProcess*)),
+ this, TQ_SLOT(slotDbgProcessExited(TDEProcess*)) );
rubyInterpreter_ = ruby_interpreter;
characterCoding_ = character_coding;
@@ -797,7 +797,7 @@ void RDBController::slotStopDebugger()
start = TQTime::currentTime();
while (-1)
{
- kapp->processEvents(20);
+ tdeApp->processEvents(20);
now = TQTime::currentTime();
if (!stateIsOn(s_appBusy) || start.msecsTo( now ) > 2000)
break;
@@ -816,7 +816,7 @@ void RDBController::slotStopDebugger()
start = TQTime::currentTime();
while (-1)
{
- kapp->processEvents(20);
+ tdeApp->processEvents(20);
now = TQTime::currentTime();
if (stateIsOn(s_programExited) || start.msecsTo( now ) > 2000)
break;
@@ -1199,8 +1199,8 @@ void RDBController::slotAcceptConnection(int masterSocket)
}
socketNotifier_ = new TQSocketNotifier(socket_, TQSocketNotifier::Read, 0);
- TQObject::connect( socketNotifier_, TQT_SIGNAL(activated(int)),
- this, TQT_SLOT(slotReadFromSocket(int)) );
+ TQObject::connect( socketNotifier_, TQ_SIGNAL(activated(int)),
+ this, TQ_SLOT(slotReadFromSocket(int)) );
setStateOff(s_dbgNotStarted);
emit dbgStatus ("", state_);