diff options
Diffstat (limited to 'languages/cpp/debugger/gdbcontroller.cpp')
-rw-r--r-- | languages/cpp/debugger/gdbcontroller.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/languages/cpp/debugger/gdbcontroller.cpp b/languages/cpp/debugger/gdbcontroller.cpp index 93424396..ffa86b2b 100644 --- a/languages/cpp/debugger/gdbcontroller.cpp +++ b/languages/cpp/debugger/gdbcontroller.cpp @@ -401,7 +401,7 @@ void GDBController::executeCmd() setStateOn(s_waitForWrite); TQString prettyCmd = currentCmd_->cmdToSend(); - prettyCmd.tqreplace( TQRegExp("set prompt \032.\n"), "" ); + prettyCmd.replace( TQRegExp("set prompt \032.\n"), "" ); prettyCmd = "(gdb) " + prettyCmd; if (currentCmd_->isUserCommand()) @@ -1349,7 +1349,7 @@ void GDBController::defaultErrorHandler(const GDBMI::ResultRecord& result) { TQString msg = result["msg"].literal(); - if (msg.tqcontains("No such process")) + if (msg.contains("No such process")) { setState(s_appNotStarted|s_programExited); emit dbgtqStatus (i18n("Process exited"), state_); @@ -1447,7 +1447,7 @@ void GDBController::slotDbgStdout(KProcess *, char *buf, int buflen) int i; bool got_any_command = false; // For each gdb reply. In MI mode, each reply is one string. - while((i = holdingZone_.tqfind('\n')) != -1) + while((i = holdingZone_.find('\n')) != -1) { got_any_command = true; |