summaryrefslogtreecommitdiffstats
path: root/twin-styles/smooth-blend
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:58:54 +0900
commit185ed081e216488c0e5dc3e64219cbaac6a5b471 (patch)
tree959c25b171b9eb8783ef7c1159eee67b21ca7e17 /twin-styles/smooth-blend
parentb371ec89eb49b1a15fb97fef46c0ab1e88af9b01 (diff)
downloadtdeartwork-185ed081e216488c0e5dc3e64219cbaac6a5b471.tar.gz
tdeartwork-185ed081e216488c0e5dc3e64219cbaac6a5b471.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 96f53316c2d7b72477825b53206998efc9bfd315)
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);