summaryrefslogtreecommitdiffstats
path: root/twin-styles/smooth-blend
diff options
context:
space:
mode:
Diffstat (limited to 'twin-styles/smooth-blend')
-rw-r--r--twin-styles/smooth-blend/client/smoothblend.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/twin-styles/smooth-blend/client/smoothblend.cpp b/twin-styles/smooth-blend/client/smoothblend.cpp
index 004a4264..b097a32b 100644
--- a/twin-styles/smooth-blend/client/smoothblend.cpp
+++ b/twin-styles/smooth-blend/client/smoothblend.cpp
@@ -168,7 +168,7 @@ smoothblendButton::smoothblendButton(smoothblendClient *parent, const char *name
type_(type),
size_(button_size),
deco_(0),
- lastmouse_(Qt::NoButton),
+ lastmouse_(TQt::NoButton),
hover_(false)
{
setBackgroundMode(NoBackground);
@@ -282,9 +282,9 @@ void smoothblendButton::mousePressEvent(TQMouseEvent* e) {
lastmouse_ = e->button();
// translate and pass on mouse event
- int button = Qt::LeftButton;
- if ((type_ != ButtonMax) && (e->button() != Qt::LeftButton)) {
- button = Qt::NoButton; // middle & right buttons inappropriate
+ int button = TQt::LeftButton;
+ if ((type_ != ButtonMax) && (e->button() != TQt::LeftButton)) {
+ button = TQt::NoButton; // middle & right buttons inappropriate
}
TQMouseEvent me(e->type(), e->pos(), e->globalPos(),
button, e->state());
@@ -300,9 +300,9 @@ void smoothblendButton::mouseReleaseEvent(TQMouseEvent* e) {
lastmouse_ = e->button();
// translate and pass on mouse event
- int button = Qt::LeftButton;
- if ((type_ != ButtonMax) && (e->button() != Qt::LeftButton)) {
- button = Qt::NoButton; // middle & right buttons inappropriate
+ int button = TQt::LeftButton;
+ if ((type_ != ButtonMax) && (e->button() != TQt::LeftButton)) {
+ button = TQt::NoButton; // middle & right buttons inappropriate
}
TQMouseEvent me(e->type(), e->pos(), e->globalPos(), button, e->state());
TQButton::mouseReleaseEvent(&me);