diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-06 11:29:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-07 09:57:47 +0900 |
commit | 96f53316c2d7b72477825b53206998efc9bfd315 (patch) | |
tree | bccae9b5638d64deb8a0bdf749bf9a1597021fdb /twin-styles/smooth-blend | |
parent | f0e925909a8e02822e322d87db8d4af43284d298 (diff) | |
download | tdeartwork-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')
-rw-r--r-- | twin-styles/smooth-blend/client/smoothblend.cpp | 14 |
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); |