aboutsummaryrefslogtreecommitdiff
path: root/src/webengine/webengineprofile.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-12-08 14:22:19 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-12-08 14:22:19 +0100
commit4e3c479a0f279926e0bd9a359a0ee57b334e976e (patch)
tree068f1da93a4ff6dcce251f5152df16bf77be53a8 /src/webengine/webengineprofile.h
parentlibconfig test (diff)
downloadsmolbote-4e3c479a0f279926e0bd9a359a0ee57b334e976e.tar.xz
Replaced tinytoml with libconfig
Diffstat (limited to 'src/webengine/webengineprofile.h')
-rw-r--r--src/webengine/webengineprofile.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/webengine/webengineprofile.h b/src/webengine/webengineprofile.h
index f457f53..c054349 100644
--- a/src/webengine/webengineprofile.h
+++ b/src/webengine/webengineprofile.h
@@ -23,14 +23,13 @@
#include <QWebEngineProfile>
#include <QUrl>
-#include "forms/profileview.h"
class WebEngineProfile : public QWebEngineProfile
{
Q_OBJECT
public:
- explicit WebEngineProfile(QObject *parent = Q_NULLPTR);
- explicit WebEngineProfile(const QString &name, QObject *parent = Q_NULLPTR);
+ explicit WebEngineProfile(QObject *parent = nullptr);
+ explicit WebEngineProfile(const QString &name, const QString &path, QObject *parent = nullptr);
~WebEngineProfile();
@@ -49,9 +48,9 @@ public slots:
private:
QString m_name;
+ bool shouldSaveProfile = false;
QUrl m_homepage = QUrl("about:blank");
QUrl m_newtab = QUrl("about:blank");
- ProfileView *m_profileDialog = nullptr;
};
#endif // WEBENGINEPROFILE_H