summaryrefslogtreecommitdiffstats
path: root/src/webenginequick/api/qquickwebengineprofile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/webenginequick/api/qquickwebengineprofile.h')
-rw-r--r--src/webenginequick/api/qquickwebengineprofile.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/webenginequick/api/qquickwebengineprofile.h b/src/webenginequick/api/qquickwebengineprofile.h
index 8147f0432..393bba0ae 100644
--- a/src/webenginequick/api/qquickwebengineprofile.h
+++ b/src/webenginequick/api/qquickwebengineprofile.h
@@ -44,6 +44,7 @@
#include <QtCore/QObject>
#include <QtCore/QScopedPointer>
#include <QtCore/QString>
+#include <QtQml/qqmlregistration.h>
QT_BEGIN_NAMESPACE
@@ -78,6 +79,9 @@ class Q_WEBENGINE_EXPORT QQuickWebEngineProfile : public QObject {
NOTIFY useForGlobalCertificateVerificationChanged
FINAL REVISION(1,5))
Q_PROPERTY(QString downloadPath READ downloadPath WRITE setDownloadPath NOTIFY downloadPathChanged FINAL REVISION(1,5))
+ QML_NAMED_ELEMENT(WebEngineProfile)
+ QML_ADDED_IN_VERSION(1, 1)
+ QML_EXTRA_VERSION(2, 0)
public:
QQuickWebEngineProfile(QObject *parent = nullptr);