diff options
Diffstat (limited to 'twin-styles/riscos/Button.cpp')
-rw-r--r-- | twin-styles/riscos/Button.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/twin-styles/riscos/Button.cpp b/twin-styles/riscos/Button.cpp index f1f150d1..4d11e0c7 100644 --- a/twin-styles/riscos/Button.cpp +++ b/twin-styles/riscos/Button.cpp @@ -31,7 +31,7 @@ Button::Button(TQWidget *parent, const TQString& tip, const ButtonState realizeButtons) : TQWidget(parent, "Button", 0), realizeButtons_(realizeButtons), - lastButton_(Qt::NoButton), + lastButton_(TQt::NoButton), alignment_(Left), down_ (false), active_ (false) @@ -72,7 +72,7 @@ void Button::mousePressEvent(TQMouseEvent *e) repaint(); TQMouseEvent me(e->type(), e->pos(), e->globalPos(), - (e->button()&realizeButtons_) ? Qt::LeftButton : Qt::NoButton, + (e->button()&realizeButtons_) ? TQt::LeftButton : TQt::NoButton, e->state()); TQWidget::mousePressEvent(&me); } @@ -83,7 +83,7 @@ void Button::mouseReleaseEvent(TQMouseEvent *e) lastButton_ = e->button(); repaint(); TQMouseEvent me(e->type(), e->pos(), e->globalPos(), - (e->button()&realizeButtons_) ? Qt::LeftButton : Qt::NoButton, + (e->button()&realizeButtons_) ? TQt::LeftButton : TQt::NoButton, e->state()); TQWidget::mouseReleaseEvent(&me); } |