mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-22 11:37:56 -04:00
Make Public TabBar::realTabCount()
Prepare for future change needing it externally
This commit is contained in:
parent
999f37fcb3
commit
88ed83dc7d
@ -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<FullScreenWindow> 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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user