diff options
Diffstat (limited to 'src/widgets/webviewtabbar.h')
-rw-r--r-- | src/widgets/webviewtabbar.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/widgets/webviewtabbar.h b/src/widgets/webviewtabbar.h index 9029bf5..91e55d0 100644 --- a/src/widgets/webviewtabbar.h +++ b/src/widgets/webviewtabbar.h @@ -32,20 +32,21 @@ public: WebViewTabBar(QWidget *parent = 0); ~WebViewTabBar(); - int addTab(QWebEngineProfile *profile, const QUrl &url); void setProfile(QWebEngineProfile *profile); - WebView *currentView(); signals: void currentTabChanged(WebView *view); +public slots: + int addTab(QWebEngineProfile *profile, const QUrl &url); + void removeTab(int index); + protected: QSize tabSizeHint(int index) const; private slots: void handleCurrentChanged(int index); - void handleTabClose(int index); void updateTabText(WebView *view, const QString &text); void updateVectorArrangement(int from, int to); |