aboutsummaryrefslogtreecommitdiff
path: root/src/webengine/webengineprofile.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-07-02 14:36:54 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2017-07-02 14:36:54 +0200
commitf47e32c5d0451308d5f0ff99e31397bd8ce53f73 (patch)
tree33c5ee229529878fc399c159993e2a8538f9d06c /src/webengine/webengineprofile.h
parentConfiguration defaults file (diff)
downloadsmolbote-f47e32c5d0451308d5f0ff99e31397bd8ce53f73.tar.xz
Added homepage button
Diffstat (limited to 'src/webengine/webengineprofile.h')
-rw-r--r--src/webengine/webengineprofile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webengine/webengineprofile.h b/src/webengine/webengineprofile.h
index f13b266..8ddf329 100644
--- a/src/webengine/webengineprofile.h
+++ b/src/webengine/webengineprofile.h
@@ -22,6 +22,7 @@
#define WEBENGINEPROFILE_H
#include <QWebEngineProfile>
+#include <QUrl>
#include "forms/profileview.h"
class WebEngineProfile : public QWebEngineProfile
@@ -37,6 +38,8 @@ public:
ProfileView *dialog();
+ QUrl homepage() const;
+
signals:
public slots:
@@ -44,6 +47,7 @@ public slots:
private:
QString m_name;
+ QUrl m_homepage;
ProfileView *m_profileDialog = nullptr;
};