diff options
author | Michele Calgaro <[email protected]> | 2023-11-06 11:29:31 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-07 09:58:54 +0900 |
commit | 185ed081e216488c0e5dc3e64219cbaac6a5b471 (patch) | |
tree | 959c25b171b9eb8783ef7c1159eee67b21ca7e17 /twin-styles/kde1 | |
parent | b371ec89eb49b1a15fb97fef46c0ab1e88af9b01 (diff) | |
download | tdeartwork-185ed081e216488c0e5dc3e64219cbaac6a5b471.tar.gz tdeartwork-185ed081e216488c0e5dc3e64219cbaac6a5b471.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 96f53316c2d7b72477825b53206998efc9bfd315)
Diffstat (limited to 'twin-styles/kde1')
-rw-r--r-- | twin-styles/kde1/kde1client.cpp | 4 | ||||
-rw-r--r-- | twin-styles/kde1/kde1client.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/twin-styles/kde1/kde1client.cpp b/twin-styles/kde1/kde1client.cpp index 1eff9939..5e569d42 100644 --- a/twin-styles/kde1/kde1client.cpp +++ b/twin-styles/kde1/kde1client.cpp @@ -495,7 +495,7 @@ void StdClient::paintEvent( TQPaintEvent* ) void StdClient::mouseDoubleClickEvent( TQMouseEvent * e ) { - if ( e->button() == Qt::LeftButton && titlebar->geometry().contains( e->pos() ) ) + if ( e->button() == TQt::LeftButton && titlebar->geometry().contains( e->pos() ) ) titlebarDblClickOperation(); } @@ -666,7 +666,7 @@ void StdToolClient::paintEvent( TQPaintEvent* ) void StdToolClient::mouseDoubleClickEvent( TQMouseEvent * e ) { - if ( e->button() == Qt::LeftButton && titlebar->geometry().contains( e->pos() ) ) + if ( e->button() == TQt::LeftButton && titlebar->geometry().contains( e->pos() ) ) titlebarDblClickOperation(); } diff --git a/twin-styles/kde1/kde1client.h b/twin-styles/kde1/kde1client.h index 56eb2ac5..407c3993 100644 --- a/twin-styles/kde1/kde1client.h +++ b/twin-styles/kde1/kde1client.h @@ -122,13 +122,13 @@ protected: void mousePressEvent( TQMouseEvent* e ) { last_button = e->button(); - TQMouseEvent me ( e->type(), e->pos(), e->globalPos(), Qt::LeftButton, e->state() ); + TQMouseEvent me ( e->type(), e->pos(), e->globalPos(), TQt::LeftButton, e->state() ); TQToolButton::mousePressEvent( &me ); } void mouseReleaseEvent( TQMouseEvent* e ) { - TQMouseEvent me ( e->type(), e->pos(), e->globalPos(), Qt::LeftButton, e->state() ); + TQMouseEvent me ( e->type(), e->pos(), e->globalPos(), TQt::LeftButton, e->state() ); TQToolButton::mouseReleaseEvent( &me ); } |