diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 15:23:42 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-05 21:40:56 +0900 |
commit | ae61cb4cbaba4cdc7cf639a616b87d1d312a9248 (patch) | |
tree | 744bc9ffaea4b14c57ae5bdfb8c78cc182110583 /krusader/paneltabbar.cpp | |
parent | 49c4751bb0b051a361baed5c9edfd20853d11650 (diff) | |
download | krusader-ae61cb4c.tar.gz krusader-ae61cb4c.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8ff71fdacbedef540bdf67410ab6e8ddd5a52ff0)
Diffstat (limited to 'krusader/paneltabbar.cpp')
-rw-r--r-- | krusader/paneltabbar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/krusader/paneltabbar.cpp b/krusader/paneltabbar.cpp index 0578e1b..75ba7c3 100644 --- a/krusader/paneltabbar.cpp +++ b/krusader/paneltabbar.cpp @@ -55,17 +55,17 @@ void PanelTabBar::mousePressEvent( TQMouseEvent* e ) { setCurrentTab( clickedTab ); emit changePanel(dynamic_cast<PanelTab*>(clickedTab)->panel); - if ( e->button() == Qt::RightButton ) { + if ( e->button() == TQt::RightButton ) { // show the popup menu _panelActionMenu->popup( e->globalPos() ); } else - if ( e->button() == Qt::LeftButton ) { // we need to change tabs + if ( e->button() == TQt::LeftButton ) { // we need to change tabs // first, find the correct panel to load int id = currentTab(); ListPanel *listpanel = dynamic_cast<PanelTab*>(tab(id))->panel; emit changePanel(listpanel); } else - if (e->button() == Qt::MidButton) { // close the current tab + if (e->button() == TQt::MidButton) { // close the current tab emit closeCurrentTab(); } TQTabBar::mousePressEvent(e); |