summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/dbgtoolbar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/debugger/dbgtoolbar.cpp')
-rw-r--r--languages/cpp/debugger/dbgtoolbar.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/languages/cpp/debugger/dbgtoolbar.cpp b/languages/cpp/debugger/dbgtoolbar.cpp
index 58cea851..9a3f4e02 100644
--- a/languages/cpp/debugger/dbgtoolbar.cpp
+++ b/languages/cpp/debugger/dbgtoolbar.cpp
@@ -68,7 +68,7 @@ namespace GDBDebugger
class DbgMoveHandle : public TQFrame
{
public:
- DbgMoveHandle(DbgToolBar *tqparent=0, const char * name=0, WFlags f=0);
+ DbgMoveHandle(DbgToolBar *parent=0, const char * name=0, WFlags f=0);
virtual ~DbgMoveHandle();
virtual void mousePressEvent(TQMouseEvent *e);
@@ -83,9 +83,9 @@ private:
// **************************************************************************
-DbgMoveHandle::DbgMoveHandle(DbgToolBar *tqparent, const char * name, WFlags f)
- : TQFrame(tqparent, name, f),
- toolBar_(tqparent),
+DbgMoveHandle::DbgMoveHandle(DbgToolBar *parent, const char * name, WFlags f)
+ : TQFrame(parent, name, f),
+ toolBar_(parent),
offset_(TQPoint(0,0)),
moving_(false)
{
@@ -111,9 +111,9 @@ void DbgMoveHandle::mousePressEvent(TQMouseEvent *e)
KPopupMenu *menu = new KPopupMenu(this);
menu->insertTitle(i18n("Debug Toolbar"));
menu->insertItem(i18n("Dock to Panel"),
- tqparent(), TQT_SLOT(slotDock()));
+ parent(), TQT_SLOT(slotDock()));
menu->insertItem(i18n("Dock to Panel && Iconify KDevelop"),
- tqparent(), TQT_SLOT(slotIconifyAndDock()));
+ parent(), TQT_SLOT(slotIconifyAndDock()));
menu->popup(e->globalPos());
} else {
moving_ = true;
@@ -159,7 +159,7 @@ class DbgButton : public TQPushButton
{
public:
DbgButton(const TQPixmap &pixmap, const TQString &text,
- DbgToolBar *tqparent, const char *name=0);
+ DbgToolBar *parent, const char *name=0);
virtual ~DbgButton() {};
void drawButtonLabel(TQPainter *painter);
TQSize tqsizeHint() const;
@@ -171,8 +171,8 @@ private:
// **************************************************************************
DbgButton::DbgButton(const TQPixmap& pixmap, const TQString& text,
- DbgToolBar* tqparent, const char* name)
- : TQPushButton(tqparent, name),
+ DbgToolBar* parent, const char* name)
+ : TQPushButton(parent, name),
pixmap_(pixmap)
{
setText(text);
@@ -217,8 +217,8 @@ TQSize DbgButton::tqsizeHint() const
// **************************************************************************
// **************************************************************************
-DbgDocker::DbgDocker(TQWidget* tqparent, DbgToolBar* toolBar, const TQPixmap& pixmap) :
- KSystemTray(tqparent, "DbgDocker"),
+DbgDocker::DbgDocker(TQWidget* parent, DbgToolBar* toolBar, const TQPixmap& pixmap) :
+ KSystemTray(parent, "DbgDocker"),
toolBar_(toolBar)
{
setPixmap(pixmap);
@@ -258,7 +258,7 @@ void DbgDocker::mousePressEvent(TQMouseEvent *e)
// **************************************************************************
DbgToolBar::DbgToolBar(DebuggerPart* part,
- TQWidget* tqparent, const char* name)
+ TQWidget* parent, const char* name)
: TQFrame(0, name),
part_(part),
activeWindow_(0),
@@ -268,10 +268,10 @@ DbgToolBar::DbgToolBar(DebuggerPart* part,
appIsActive_(false),
docked_(false),
docker_(0),
- dockWindow_(new KSystemTray(tqparent))
+ dockWindow_(new KSystemTray(parent))
{
winModule_ = new KWinModule(TQT_TQOBJECT(this));
- docker_ = new DbgDocker(tqparent, this, BarIcon("dbgnext"));
+ docker_ = new DbgDocker(parent, this, BarIcon("dbgnext"));
connect(docker_, TQT_SIGNAL(clicked()), part_, TQT_SLOT(slotStepOver()));
// Must have noFocus set so that we can see what window was active.