From 1b1e327cb73491c17972a33a07c3c9beafe7f938 Mon Sep 17 00:00:00 2001 From: aqua Date: Sun, 18 Sep 2022 09:57:29 +0300 Subject: Add Navigation and Tab toolbars --- src/tabbar/tabbar.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/tabbar/tabbar.h') diff --git a/src/tabbar/tabbar.h b/src/tabbar/tabbar.h index 793e2acf..db2e6d1c 100644 --- a/src/tabbar/tabbar.h +++ b/src/tabbar/tabbar.h @@ -23,6 +23,7 @@ public: explicit TabBar(QWidget *parent = nullptr); int addTab(RekonqView *view); + RekonqView *removeTab(int index); [[nodiscard]] RekonqView *view(int index) { return m_views.at(index); } /* void setTabHighlighted(int index, bool b); @@ -35,10 +36,6 @@ public: setCurrentIndex(index); } -signals: - void currentChanged(RekonqView *view); - void removeView(RekonqView *); - protected: [[nodiscard]] QSize tabSizeHint(int index) const override; /* -- cgit v1.2.1