summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/framestackwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/debugger/framestackwidget.cpp')
-rw-r--r--languages/cpp/debugger/framestackwidget.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/languages/cpp/debugger/framestackwidget.cpp b/languages/cpp/debugger/framestackwidget.cpp
index 2b8ae5a6..d7f50778 100644
--- a/languages/cpp/debugger/framestackwidget.cpp
+++ b/languages/cpp/debugger/framestackwidget.cpp
@@ -111,7 +111,7 @@ void FramestackWidget::slotSelectionChanged(TQListViewItem *thisItem)
if (frame->threadNo() != -1)
controller_->addCommand(
new GDBCommand(TQString("-thread-select %1")
- .tqarg(frame->threadNo()).ascii()));
+ .arg(frame->threadNo()).ascii()));
viewedThread_ = findThread(frame->threadNo());
getBacktrace(frame->frameNo(), frame->frameNo() + frameChunk_);
@@ -208,7 +208,7 @@ void FramestackWidget::getBacktrace(int min_frame, int max_frame)
maxFrame_ = max_frame;
controller_->addCommand(
- new GDBCommand(TQString("-stack-info-depth %1").tqarg(max_frame+1),
+ new GDBCommand(TQString("-stack-info-depth %1").arg(max_frame+1),
this,
&FramestackWidget::handleStackDepth));
}
@@ -224,7 +224,7 @@ void FramestackWidget::handleStackDepth(const GDBMI::ResultRecord& r)
//add the following command to the front, so noone switches threads in between
controller_->addCommandToFront(
new GDBCommand(TQString("-stack-list-frames %1 %2")
- .tqarg(minFrame_).tqarg(maxFrame_),
+ .arg(minFrame_).arg(maxFrame_),
this, &FramestackWidget::parseGDBBacktraceList));
}
@@ -236,7 +236,7 @@ void FramestackWidget::getBacktraceForThread(int threadNo)
// Switch to the target thread.
controller_->addCommand(
new GDBCommand(TQString("-thread-select %1")
- .tqarg(threadNo).ascii()));
+ .arg(threadNo).ascii()));
viewedThread_ = findThread(threadNo);
}
@@ -248,7 +248,7 @@ void FramestackWidget::getBacktraceForThread(int threadNo)
// Switch back to the original thread.
controller_->addCommand(
new GDBCommand(TQString("-thread-select %1")
- .tqarg(currentThread).ascii()));
+ .arg(currentThread).ascii()));
}
}
@@ -274,13 +274,13 @@ void FramestackWidget::handleThreadList(const GDBMI::ResultRecord& r)
TQString id = ids.results[i]->value->literal();
controller_->addCommand(
- new GDBCommand(TQString("-thread-select %1").tqarg(id).ascii(),
+ new GDBCommand(TQString("-thread-select %1").arg(id).ascii(),
this, &FramestackWidget::handleThread));
}
controller_->addCommand(
new GDBCommand(TQString("-thread-select %1")
- .tqarg(controller_->currentThread()).ascii()));
+ .arg(controller_->currentThread()).ascii()));
}
// Get backtrace for the current thread. We need to do this
@@ -558,7 +558,7 @@ ThreadStackItem::ThreadStackItem(FramestackWidget *parent, unsigned threadNo)
: TQListViewItem(parent),
threadNo_(threadNo)
{
- setText(0, i18n("Thread %1").tqarg(threadNo_));
+ setText(0, i18n("Thread %1").arg(threadNo_));
setExpandable(true);
}