summaryrefslogtreecommitdiff
path: root/src/tabbar.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-04-10 18:39:15 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-04-10 18:39:15 +0200
commita9d1667b345a53ebdf94318a7e71fe35d692f1f7 (patch)
tree4d2c12b7e8391afbc58f1588b978a8b2441b76e2 /src/tabbar.cpp
parentRemoved no more used m_tabShortcuts variable (diff)
downloadrekonq-a9d1667b345a53ebdf94318a7e71fe35d692f1f7.tar.xz
Ported to rekonq coding style
Changed *event method to KTabbar. Unuseful, but quite kool..
Diffstat (limited to 'src/tabbar.cpp')
-rw-r--r--src/tabbar.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/tabbar.cpp b/src/tabbar.cpp
index 65d9bba0..c7280f98 100644
--- a/src/tabbar.cpp
+++ b/src/tabbar.cpp
@@ -137,8 +137,10 @@ void TabBar::closeOtherTabs()
void TabBar::mousePressEvent(QMouseEvent *event)
{
if (event->button() == Qt::LeftButton)
+ {
m_dragStartPos = event->pos();
- QTabBar::mousePressEvent(event);
+ }
+ KTabBar::mousePressEvent(event);
}
@@ -158,7 +160,7 @@ void TabBar::mouseMoveEvent(QMouseEvent *event)
drag->setMimeData(mimeData);
drag->exec();
}
- QTabBar::mouseMoveEvent(event);
+ KTabBar::mouseMoveEvent(event);
}
@@ -171,7 +173,7 @@ void TabBar::dragEnterEvent(QDragEnterEvent *event)
{
event->acceptProposedAction();
}
- QTabBar::dragEnterEvent(event);
+ KTabBar::dragEnterEvent(event);
}
@@ -184,7 +186,7 @@ void TabBar::dropEvent(QDropEvent *event)
emit tabMoveRequested(fromIndex, toIndex);
event->acceptProposedAction();
}
- QTabBar::dropEvent(event);
+ KTabBar::dropEvent(event);
}