aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow/subwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow/subwindow.h')
-rw-r--r--src/mainwindow/subwindow.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mainwindow/subwindow.h b/src/mainwindow/subwindow.h
index e6d7177..1283481 100644
--- a/src/mainwindow/subwindow.h
+++ b/src/mainwindow/subwindow.h
@@ -26,18 +26,17 @@ public:
WebView *currentView();
WebView *view(int index) const;
+ int tabCount() const;
void setProfile(WebProfile *profile);
WebProfile *profile() const;
- QJsonObject session() const;
-
signals:
void currentViewChanged(WebView *view);
void showStatusMessage(const QString &message, int timeout = 0);
public slots:
- int addTab(const QUrl &url = QUrl());
+ int addTab(const QUrl &url = QUrl(), WebProfile *profile = nullptr);
void setCurrentTab(int index);
private: