diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | e47aaa9b34ffc363d268aca989aab28fdfaf9821 (patch) | |
tree | 369b56d21949c574d30f71bdf24bf1e04f5e1877 /src/canvasitemparts.h | |
parent | e05894553004a47b1e2f276bedcf5963b57a3932 (diff) | |
download | ktechlab-e47aaa9b34ffc363d268aca989aab28fdfaf9821.tar.gz ktechlab-e47aaa9b34ffc363d268aca989aab28fdfaf9821.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/canvasitemparts.h')
-rw-r--r-- | src/canvasitemparts.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/canvasitemparts.h b/src/canvasitemparts.h index f2fee2b..513b508 100644 --- a/src/canvasitemparts.h +++ b/src/canvasitemparts.h @@ -33,7 +33,7 @@ class GuiPart : public TQObject, public TQCanvasRectangle * of calling TQCanvasRectangle::setSize. This allows GuiPart to know * when its size has been changed */ - GuiPart( CNItem *tqparent, const TQRect & r, TQCanvas * canvas ); + GuiPart( CNItem *parent, const TQRect & r, TQCanvas * canvas ); virtual ~GuiPart(); virtual TQRect recommendedRect() const { return m_originalRect; } @@ -61,7 +61,7 @@ class GuiPart : public TQObject, public TQCanvasRectangle TQRect drawRect(); int angleDegrees() const { return m_angleDegrees; } - CNItem *tqparent() const { return p_parent; } + CNItem *parent() const { return p_parent; } protected: /** @@ -97,7 +97,7 @@ class Text : public GuiPart Q_OBJECT TQ_OBJECT public: - Text( const TQString &text, CNItem *tqparent, const TQRect & r, TQCanvas * canvas, int flags = TQt::AlignHCenter | TQt::AlignVCenter ); + Text( const TQString &text, CNItem *parent, const TQRect & r, TQCanvas * canvas, int flags = TQt::AlignHCenter | TQt::AlignVCenter ); ~Text(); /** @@ -131,7 +131,7 @@ typedef TQMap<TQString, TQGuardedPtr<Text> > TextMap; class Widget : public GuiPart { public: - Widget( const TQString & id, CNItem *tqparent, const TQRect & r, TQCanvas * canvas ); + Widget( const TQString & id, CNItem *parent, const TQRect & r, TQCanvas * canvas ); ~Widget(); virtual int rtti() const; @@ -179,7 +179,7 @@ class Widget : public GuiPart class ToolButton : public TQToolButton { public: - ToolButton( TQWidget* tqparent ); + ToolButton( TQWidget* parent ); virtual void mousePressEvent( TQMouseEvent *e ) { TQToolButton::mousePressEvent(e); } virtual void mouseReleaseEvent( TQMouseEvent *e ) { TQToolButton::mouseReleaseEvent(e); } @@ -208,7 +208,7 @@ class Button : public Widget Q_OBJECT TQ_OBJECT public: - Button( const TQString & id, CNItem *tqparent, bool isToggle, const TQRect & r, TQCanvas * canvas ); + Button( const TQString & id, CNItem *parent, bool isToggle, const TQRect & r, TQCanvas * canvas ); ~Button(); virtual void mousePressEvent( TQMouseEvent *e ); @@ -243,7 +243,7 @@ class Button : public Widget class SliderWidget : public TQSlider { public: - SliderWidget( TQWidget* tqparent ); + SliderWidget( TQWidget* parent ); virtual void mousePressEvent( TQMouseEvent *e ) { TQSlider::mousePressEvent(e); } virtual void mouseReleaseEvent( TQMouseEvent *e ) { TQSlider::mouseReleaseEvent(e); } @@ -264,7 +264,7 @@ class Slider : public Widget Q_OBJECT TQ_OBJECT public: - Slider( const TQString & id, CNItem *tqparent, const TQRect & r, TQCanvas * canvas ); + Slider( const TQString & id, CNItem *parent, const TQRect & r, TQCanvas * canvas ); ~Slider(); virtual void mousePressEvent( TQMouseEvent *e ); |