From 5c194e6e7059ddcc96b0e0166ce6157c35fc183e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:45:12 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- twin-styles/riscos/Button.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'twin-styles/riscos/Button.cpp') diff --git a/twin-styles/riscos/Button.cpp b/twin-styles/riscos/Button.cpp index 7bf4f477..3588c1dd 100644 --- a/twin-styles/riscos/Button.cpp +++ b/twin-styles/riscos/Button.cpp @@ -48,19 +48,19 @@ Button::~Button() // Empty. } -void Button::tqsetAlignment(Alignment a) +void Button::setAlignment(Alignment a) { alignment_ = a; - tqrepaint(); + repaint(); } void Button::setActive(bool b) { active_ = b; - tqrepaint(); + repaint(); } -Button::Alignment Button::tqalignment() const +Button::Alignment Button::alignment() const { return alignment_; } @@ -69,7 +69,7 @@ void Button::mousePressEvent(TQMouseEvent *e) { down_ = true; lastButton_ = e->button(); - tqrepaint(); + repaint(); TQMouseEvent me(e->type(), e->pos(), e->globalPos(), (e->button()&realizeButtons_) ? Qt::LeftButton : Qt::NoButton, @@ -81,7 +81,7 @@ void Button::mouseReleaseEvent(TQMouseEvent *e) { down_ = false; lastButton_ = e->button(); - tqrepaint(); + repaint(); TQMouseEvent me(e->type(), e->pos(), e->globalPos(), (e->button()&realizeButtons_) ? Qt::LeftButton : Qt::NoButton, e->state()); @@ -133,7 +133,7 @@ void Button::setPixmap(const TQPixmap &p) iPixmap_.setMask(*p.mask()); } } - tqrepaint(); + repaint(); } void Button::paintEvent(TQPaintEvent *) -- cgit v1.2.1