From 84a93ab8a47c8e4546ae658b5400623cdccfe237 Mon Sep 17 00:00:00 2001 From: Andrea Diamantini Date: Mon, 16 Mar 2009 15:45:45 +0100 Subject: updated rekonq site fixed tab actions.. really near rekonq 0.0.4! Perhaps this night!! --- src/tabbar.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/tabbar.h') diff --git a/src/tabbar.h b/src/tabbar.h index 0692fcd6..0dbdd004 100644 --- a/src/tabbar.h +++ b/src/tabbar.h @@ -36,6 +36,11 @@ class TabBar : public KTabBar { Q_OBJECT + +public: + TabBar(QWidget *parent = 0); + ~TabBar(); + signals: void newTab(); void cloneTab(int index); @@ -45,10 +50,6 @@ signals: void reloadAllTabs(); void tabMoveRequested(int fromIndex, int toIndex); -public: - TabBar(QWidget *parent = 0); - ~TabBar(); - protected: void mousePressEvent(QMouseEvent* event); void mouseMoveEvent(QMouseEvent* event); @@ -69,6 +70,7 @@ private: QPoint m_dragStartPos; int m_dragCurrentIndex; + int m_actualIndex; // the index in which we are seeing a Context menu }; #endif -- cgit v1.2.1