From c8c5e11f05f023849896d09cf06917e9a2c016ca Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 5 Nov 2023 11:54:26 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e) --- lib/kofficeui/KoTabBar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/kofficeui/KoTabBar.cpp') 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; -- cgit v1.2.3