diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /languages/cpp/debugger/gdbcommand.cpp | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'languages/cpp/debugger/gdbcommand.cpp')
-rw-r--r-- | languages/cpp/debugger/gdbcommand.cpp | 16 |
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(); } |