diff options
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index 7371759..a5709e9 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -5,6 +5,7 @@ #include <QToolBar>
#include <QLineEdit>
#include <QWebEngineView>
+#include <QWebEngineProfile>
#include <QUrl>
#include "widgets/webviewtabbar.h"
@@ -34,9 +35,15 @@ private slots: void handleUrlUpdated(const QUrl &url);
void handleTitleUpdated(const QString &title);
+ void createProfileDialog();
+
private:
Browser *browserInstance;
+ QWebEngineProfile *profile;
+
+ // ui
Ui::MainWindow *ui;
+ QMenu *browserMenu, *profileMenu;
QToolBar *navigationToolBar, *tabToolBar;
WebViewTabBar *tabBar;
QLineEdit *urlLineEdit;
|