diff --git a/src/tabbar.h b/src/tabbar.h index d29db33..808daca 100644 --- a/src/tabbar.h +++ b/src/tabbar.h @@ -52,6 +52,10 @@ public: QStringList getTabUrls() const; QStringList getTabZimIds() const; + // The "+" (new tab) button is implemented as a tab (that is always placed at the end). + // This function returns the count of real tabs. + int realTabCount() const; + protected: void mousePressEvent(QMouseEvent *event); void paintEvent(QPaintEvent *); @@ -79,10 +83,6 @@ private: QStackedWidget* mp_stackedWidget; QScopedPointer m_fullScreenWindow; - // The "+" (new tab) button is implemented as a tab (that is always placed at the end). - // This function returns the count of real tabs. - int realTabCount() const; - private slots: void onTabMoved(int from, int to); void onCurrentChanged(int index);