diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 11:54:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-16 23:40:13 +0900 |
commit | c8c5e11f05f023849896d09cf06917e9a2c016ca (patch) | |
tree | a62f00b0249b967528e115e2123b56d40633c17a /lib/kofficeui/KoTabBar.cpp | |
parent | c9973bfbf1091ef91f30b5ab456015676123aa47 (diff) | |
download | koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.tar.gz koffice-c8c5e11f05f023849896d09cf06917e9a2c016ca.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e)
Diffstat (limited to 'lib/kofficeui/KoTabBar.cpp')
-rw-r--r-- | lib/kofficeui/KoTabBar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kofficeui/KoTabBar.cpp b/lib/kofficeui/KoTabBar.cpp index c751e4e81..319f2baf1 100644 --- a/lib/kofficeui/KoTabBar.cpp +++ b/lib/kofficeui/KoTabBar.cpp @@ -768,7 +768,7 @@ void KoTabBar::mousePressEvent( TQMouseEvent* ev ) scrollForward(); } - if( ev->button() == Qt::RightButton ) + if( ev->button() == TQt::RightButton ) if( !d->readOnly ) emit contextMenu( ev->globalPos() ); } @@ -779,7 +779,7 @@ void KoTabBar::mouseReleaseEvent( TQMouseEvent* ev ) d->autoScroll = false; - if ( ev->button() == Qt::LeftButton && d->targetTab != 0 ) + if ( ev->button() == TQt::LeftButton && d->targetTab != 0 ) { emit tabMoved( d->activeTab-1, d->targetTab-1 ); d->targetTab = 0; |