summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/KoTabBar.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-05 11:54:26 +0900
committerMichele Calgaro <[email protected]>2023-11-16 23:37:57 +0900
commitef06f14f2475bd08d3ea2ceec54a7b2238f3554e (patch)
tree03df826633e4ba084d133ca977c4fc37c74f21ac /lib/kofficeui/KoTabBar.cpp
parent895081803a715ee89f4a90cfbf63d558ef2b2ebc (diff)
downloadkoffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.tar.gz
koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'lib/kofficeui/KoTabBar.cpp')
-rw-r--r--lib/kofficeui/KoTabBar.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/kofficeui/KoTabBar.cpp b/lib/kofficeui/KoTabBar.cpp
index c751e4e8..319f2baf 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;