aboutsummaryrefslogtreecommitdiff
path: root/src/webengine/webengineprofile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/webengine/webengineprofile.h')
-rw-r--r--src/webengine/webengineprofile.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/webengine/webengineprofile.h b/src/webengine/webengineprofile.h
index 4b36940..9a7be22 100644
--- a/src/webengine/webengineprofile.h
+++ b/src/webengine/webengineprofile.h
@@ -22,7 +22,7 @@
#define WEBENGINEPROFILE_H
#include <QWebEngineProfile>
-#include "forms/profiledialog.h"
+#include "forms/profileview.h"
class WebEngineProfile : public QWebEngineProfile
{
@@ -33,7 +33,9 @@ public:
~WebEngineProfile();
- ProfileDialog *dialog();
+ QString name() const;
+
+ ProfileView *dialog();
signals:
@@ -41,7 +43,8 @@ public slots:
void saveProfile();
private:
- ProfileDialog *m_profileDialog = nullptr;
+ QString m_name;
+ ProfileView *m_profileDialog = nullptr;
};
#endif // WEBENGINEPROFILE_H