summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/KoTabBar.cpp
diff options
context:
space:
mode:
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 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;