summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/dbgtoolbar.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit32b67ac0690de411b26b1d5e715b188c27442248 (patch)
tree43167816a3df6b3a877d71c9a7963ed270dcc8c9 /languages/cpp/debugger/dbgtoolbar.cpp
parent330c33ab6f97b279737bf9527c9add7bb1475450 (diff)
downloadtdevelop-32b67ac0690de411b26b1d5e715b188c27442248.tar.gz
tdevelop-32b67ac0690de411b26b1d5e715b188c27442248.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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.