diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-07 19:27:43 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-08 09:53:00 +0900 |
| commit | b00a91b065f6efa0c1b88e7317fe49f6926cf0a6 (patch) | |
| tree | 63895f4fe78a75ca574006fdaba7a8b48d32649b /lib/compatibility/tdemdi/qextmdi/ktabwidget.cpp | |
| parent | 75cc1255aac342b128515b44fde9a332f1b2a197 (diff) | |
| download | tdewebdev-b00a91b065f6efa0c1b88e7317fe49f6926cf0a6.tar.gz tdewebdev-b00a91b065f6efa0c1b88e7317fe49f6926cf0a6.zip | |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 818c8f1cd1fd849f857201eb8911434c514d6c3e)
Diffstat (limited to 'lib/compatibility/tdemdi/qextmdi/ktabwidget.cpp')
| -rw-r--r-- | lib/compatibility/tdemdi/qextmdi/ktabwidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/compatibility/tdemdi/qextmdi/ktabwidget.cpp b/lib/compatibility/tdemdi/qextmdi/ktabwidget.cpp index 3b17a43a..139bdd76 100644 --- a/lib/compatibility/tdemdi/qextmdi/ktabwidget.cpp +++ b/lib/compatibility/tdemdi/qextmdi/ktabwidget.cpp @@ -316,7 +316,7 @@ void KTabWidget::dropEvent( TQDropEvent *e ) #ifndef TQT_NO_WHEELEVENT void KTabWidget::wheelEvent( TQWheelEvent *e ) { - if ( e->orientation() ==Qt::Horizontal ) + if ( e->orientation() ==TQt::Horizontal ) return; if ( isEmptyTabbarSpace( e->pos() ) ) @@ -344,7 +344,7 @@ void KTabWidget::wheelDelta( int delta ) void KTabWidget::mouseDoubleClickEvent( TQMouseEvent *e ) { - if( e->button() != Qt::LeftButton ) + if( e->button() != TQt::LeftButton ) return; if ( isEmptyTabbarSpace( e->pos() ) ) { @@ -356,12 +356,12 @@ void KTabWidget::mouseDoubleClickEvent( TQMouseEvent *e ) void KTabWidget::mousePressEvent( TQMouseEvent *e ) { - if ( e->button() == Qt::RightButton ) { + if ( e->button() == TQt::RightButton ) { if ( isEmptyTabbarSpace( e->pos() ) ) { emit( contextMenu( mapToGlobal( e->pos() ) ) ); return; } - } else if ( e->button() == Qt::MidButton ) { + } else if ( e->button() == TQt::MidButton ) { if ( isEmptyTabbarSpace( e->pos() ) ) { emit( mouseMiddleClick() ); return; |
