aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index ed54461..a1cbcc0 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -48,10 +48,15 @@ public:
void addTabbedDock(Qt::DockWidgetArea area, QDockWidget *widget);
public slots:
- void addNewTab(const QUrl &url = QUrl(""));
- void focusAddress();
+ void about();
+
+ void newTab(const QUrl &url = QUrl(""));
+ void newWindow(const QUrl &url = QUrl(""));
+
+ void profileAction();
+ void cookiesAction();
- void loadProfile(const QString name = "");
+ void setProfile(WebEngineProfile *profile);
void toggleFullscreen();
@@ -59,12 +64,7 @@ protected:
void closeEvent(QCloseEvent *event) override;
private slots:
- void about();
-
- void profileAction();
- void cookiesAction();
-
- void handleNewWindow(const QUrl &url = QUrl(""));
+ void focusAddress();
void handleTabChanged(WebView *view);
void handleUrlChanged();
void handleTitleUpdated(const QString &title);