diff options
Diffstat (limited to 'src/tabbar.h')
-rw-r--r-- | src/tabbar.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/tabbar.h b/src/tabbar.h index b505f78b..a467e96e 100644 --- a/src/tabbar.h +++ b/src/tabbar.h @@ -39,6 +39,7 @@ // Forward Declarations class KPassivePopup; +class TabHighlightEffect; /** @@ -54,6 +55,9 @@ public: explicit TabBar(QWidget *parent); virtual ~TabBar() {} + void setTabHighlighted(int index, bool highlighted); + QRect tabTextRect(int index); + signals: void cloneTab(int index); void closeTab(int index); @@ -74,7 +78,7 @@ protected: virtual void leaveEvent(QEvent *event); virtual void mousePressEvent(QMouseEvent *event); virtual void mouseReleaseEvent(QMouseEvent *event); - virtual void tabRemoved(int); + virtual void tabRemoved(int index); private slots: void cloneTab(); @@ -104,6 +108,7 @@ private: */ int m_currentTabPreviewIndex; bool m_isFirstTimeOnTab; + TabHighlightEffect *m_tabHighlightEffect; }; #endif |