summaryrefslogtreecommitdiff
path: root/src/tabbar.h
diff options
context:
space:
mode:
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