summaryrefslogtreecommitdiffstats
path: root/languages/ruby/debugger/framestackwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/ruby/debugger/framestackwidget.cpp')
-rw-r--r--languages/ruby/debugger/framestackwidget.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/languages/ruby/debugger/framestackwidget.cpp b/languages/ruby/debugger/framestackwidget.cpp
index c8083dc8..d98582c5 100644
--- a/languages/ruby/debugger/framestackwidget.cpp
+++ b/languages/ruby/debugger/framestackwidget.cpp
@@ -41,8 +41,8 @@
namespace RDBDebugger
{
-FramestackWidget::FramestackWidget(TQWidget *parent, const char *name, WFlags f)
- : TQListView(parent, name, f),
+FramestackWidget::FramestackWidget(TQWidget *tqparent, const char *name, WFlags f)
+ : TQListView(tqparent, name, f),
viewedThread_(0)
{
setRootIsDecorated(true);
@@ -119,7 +119,7 @@ void FramestackWidget::parseRDBThreadList(char *str)
ThreadStackItem* thread;
thread = new ThreadStackItem( this,
thread_re.cap(2).toInt(),
- TQString("%1 %2").arg(thread_re.cap(2)).arg(thread_re.cap(3)) );
+ TQString("%1 %2").tqarg(thread_re.cap(2)).tqarg(thread_re.cap(3)) );
// The thread with a '+' is always the viewedthread
if (thread_re.cap(1) == "+") {
viewedThread_ = thread;
@@ -136,11 +136,11 @@ void FramestackWidget::parseRDBThreadList(char *str)
void FramestackWidget::parseRDBBacktraceList(char *str)
{
- QRegExp frame_re("#(\\d+) ([^:]+):(\\d+)(:in `([^\\n]+)')?");
+ TQRegExp frame_re("#(\\d+) ([^:]+):(\\d+)(:in `([^\\n]+)')?");
int pos = frame_re.search(str);
while (pos != -1) {
- QString method(frame_re.cap(5));
+ TQString method(frame_re.cap(5));
if (method == "") {
method = "toplevel";
} else {
@@ -148,7 +148,7 @@ void FramestackWidget::parseRDBBacktraceList(char *str)
}
int frameNo = frame_re.cap(1).toInt();
- TQString frameName = TQString("T%1#%2 %3").arg(viewedThread_->threadNo()).arg(frame_re.cap(1)).arg(method);
+ TQString frameName = TQString("T%1#%2 %3").tqarg(viewedThread_->threadNo()).tqarg(frame_re.cap(1)).tqarg(method);
new FrameStackItem(viewedThread_, frameNo, TQString(frame_re.cap(0)), frameName);
// Tell the Variable Tree that this frame is active
@@ -211,10 +211,10 @@ FrameStackItem *FramestackWidget::findFrame(int frameNo, int threadNo)
// **************************************************************************
-FrameStackItem::FrameStackItem(ThreadStackItem *parent, int frameNo, const TQString &frameDesc, const TQString& frameName)
- : TQListViewItem(parent),
+FrameStackItem::FrameStackItem(ThreadStackItem *tqparent, int frameNo, const TQString &frameDesc, const TQString& frameName)
+ : TQListViewItem(tqparent),
frameNo_(frameNo),
- threadNo_(parent->threadNo()),
+ threadNo_(tqparent->threadNo()),
frameName_(frameName)
{
setText(0, frameDesc);
@@ -239,8 +239,8 @@ TQString FrameStackItem::key(int /*column*/, bool /*ascending*/) const
// **************************************************************************
// **************************************************************************
-ThreadStackItem::ThreadStackItem(FramestackWidget *parent, int threadNo, const TQString &threadDesc)
- : TQListViewItem(parent),
+ThreadStackItem::ThreadStackItem(FramestackWidget *tqparent, int threadNo, const TQString &threadDesc)
+ : TQListViewItem(tqparent),
threadNo_(threadNo)
{
setText(0, threadDesc);