summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/gdbcommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/debugger/gdbcommand.cpp')
-rw-r--r--languages/cpp/debugger/gdbcommand.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/languages/cpp/debugger/gdbcommand.cpp b/languages/cpp/debugger/gdbcommand.cpp
index de5aeb9d..bf8d5bc4 100644
--- a/languages/cpp/debugger/gdbcommand.cpp
+++ b/languages/cpp/debugger/gdbcommand.cpp
@@ -20,17 +20,17 @@
namespace GDBDebugger
{
-GDBCommand::GDBCommand(const QString &command)
+GDBCommand::GDBCommand(const TQString &command)
: command_(command), run(false), handler_this(0)
{
}
-QString GDBCommand::cmdToSend()
+TQString GDBCommand::cmdToSend()
{
return initialString() + "\n";
}
-QString GDBCommand::initialString() const
+TQString GDBCommand::initialString() const
{
return command_;
}
@@ -52,12 +52,12 @@ GDBCommand::invokeHandler(const GDBMI::ResultRecord& r)
}
}
-void GDBCommand::newOutput(const QString& line)
+void GDBCommand::newOutput(const TQString& line)
{
lines.push_back(line);
}
-const QValueVector<QString>& GDBCommand::allStreamOutput() const
+const TQValueVector<TQString>& GDBCommand::allStreamOutput() const
{
return lines;
}
@@ -82,7 +82,7 @@ void GDBCommand::setRun(bool run)
}
-UserCommand::UserCommand(const QString& s)
+UserCommand::UserCommand(const TQString& s)
: GDBCommand(s)
{
}
@@ -94,7 +94,7 @@ bool UserCommand::isUserCommand() const
ModifyBreakpointCommand::ModifyBreakpointCommand(
- const QString& command, const Breakpoint* bp)
+ const TQString& command, const Breakpoint* bp)
: GDBCommand(command.local8Bit()),
bp_(bp)
{}
@@ -104,7 +104,7 @@ ModifyBreakpointCommand::cmdToSend()
{
if (bp_->dbgId() > 0)
{
- QString s(initialString());
+ TQString s(initialString());
s = s.arg(bp_->dbgId()) + "\n";
return s.local8Bit();
}