diff options
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 ); |