From a85dc7d9133c3cf4c94a2ef37db4f53a3d0e4c91 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Fri, 4 Aug 2017 13:12:32 +0200 Subject: Profile window fixes --- src/webengine/webengineprofile.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/webengine/webengineprofile.h') diff --git a/src/webengine/webengineprofile.h b/src/webengine/webengineprofile.h index e225462..f457f53 100644 --- a/src/webengine/webengineprofile.h +++ b/src/webengine/webengineprofile.h @@ -29,16 +29,18 @@ class WebEngineProfile : public QWebEngineProfile { Q_OBJECT public: + explicit WebEngineProfile(QObject *parent = Q_NULLPTR); explicit WebEngineProfile(const QString &name, QObject *parent = Q_NULLPTR); ~WebEngineProfile(); QString name() const; + QUrl homepage() const; - QUrl newtab() const; + void setHomepage(const QUrl &url); - // TODO: remove - ProfileView *dialog(); + QUrl newtab() const; + void setNewtab(const QUrl &url); signals: -- cgit v1.2.1