summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@theqtcompany.com>2016-06-13 13:29:51 +0200
committerKai Koehne <kai.koehne@qt.io>2016-08-31 09:11:47 +0000
commit3cbe59e29a2702a2c184be10845b9bdd342c24d0 (patch)
treeef3b6555857028147b9b57948a15e18626e213da /tests
parent4f3425c0d17f5f53deba78ccf6d357c1c83529f0 (diff)
Add dialog requests to qml api
Introduce qml APIs to support custom dialogs: * http and proxy authentication * javascript dialogs * file pickers * color pickers * form validation messages [ChangeLog][QtWebEngine][QML] Added ability to provide custom dialogs for HTTP and proxy authentication, JavaScript alerts, file and color picking, and form validation messages. Task-number: QTBUG-51190 Change-Id: I559ca59264750feb36ba7d3dba0bf0647509306d Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/quick/publicapi/tst_publicapi.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/quick/publicapi/tst_publicapi.cpp b/tests/auto/quick/publicapi/tst_publicapi.cpp
index af69a25de..92a96273c 100644
--- a/tests/auto/quick/publicapi/tst_publicapi.cpp
+++ b/tests/auto/quick/publicapi/tst_publicapi.cpp
@@ -36,6 +36,7 @@
#include <QtWebEngine/QQuickWebEngineProfile>
#include <private/qquickwebengineview_p.h>
#include <private/qquickwebenginecertificateerror_p.h>
+#include <private/qquickwebenginedialogrequests_p.h>
#include <private/qquickwebenginedownloaditem_p.h>
#include <private/qquickwebenginehistory_p.h>
#include <private/qquickwebengineloadrequest_p.h>
@@ -65,6 +66,11 @@ static QList<const QMetaObject *> typesToCheck = QList<const QMetaObject *>()
<< &QQuickWebEngineSettings::staticMetaObject
<< &QQuickWebEngineFullScreenRequest::staticMetaObject
<< &QQuickWebEngineSingleton::staticMetaObject
+ << &QQuickWebEngineAuthenticationDialogRequest::staticMetaObject
+ << &QQuickWebEngineJavaScriptDialogRequest::staticMetaObject
+ << &QQuickWebEngineColorDialogRequest::staticMetaObject
+ << &QQuickWebEngineFileDialogRequest::staticMetaObject
+ << &QQuickWebEngineFormValidationMessageRequest::staticMetaObject
;
static QList<const char *> knownEnumNames = QList<const char *>();