summaryrefslogtreecommitdiff
path: root/src/tabbar.h
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-03-16 15:45:45 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-03-16 15:45:45 +0100
commit84a93ab8a47c8e4546ae658b5400623cdccfe237 (patch)
treea320e2ba559bc5a4696e882cbc9e11796a4e1ab5 /src/tabbar.h
parentAdded some warning (diff)
downloadrekonq-84a93ab8a47c8e4546ae658b5400623cdccfe237.tar.xz
updated rekonq site
fixed tab actions.. really near rekonq 0.0.4! Perhaps this night!!
Diffstat (limited to 'src/tabbar.h')
-rw-r--r--src/tabbar.h10
1 files changed, 6 insertions, 4 deletions
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