summaryrefslogtreecommitdiffstats
path: root/twin-styles/smooth-blend/client/smoothblend.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-06 11:29:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-07 09:57:47 +0900
commit96f53316c2d7b72477825b53206998efc9bfd315 (patch)
treebccae9b5638d64deb8a0bdf749bf9a1597021fdb /twin-styles/smooth-blend/client/smoothblend.cpp
parentf0e925909a8e02822e322d87db8d4af43284d298 (diff)
downloadtdeartwork-96f53316c2d7b72477825b53206998efc9bfd315.tar.gz
tdeartwork-96f53316c2d7b72477825b53206998efc9bfd315.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'twin-styles/smooth-blend/client/smoothblend.cpp')
-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);