summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@digia.com>2014-07-30 18:35:06 +0200
committerPierre Rossi <pierre.rossi@gmail.com>2014-08-04 16:55:58 +0200
commit35d66ce48248f07759cbe2a17437198e8e1948ed (patch)
tree3fe3f58c867937885382417526ab8aec7e27df5d /tests
parenta19baad6297c5ff043f531e1bf664e7039d17fe1 (diff)
s/QWebEngine/QtWebEngine/g
and make it a namespace Change-Id: I15c1af8c7d0d8ab213cdf7945109263fe461d2ac Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/quick/qquickwebengineviewgraphics/tst_qquickwebengineviewgraphics.cpp2
-rw-r--r--tests/auto/quick/shared/qt_webengine_quicktest.h2
-rw-r--r--tests/quicktestbrowser/main.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/quick/qquickwebengineviewgraphics/tst_qquickwebengineviewgraphics.cpp b/tests/auto/quick/qquickwebengineviewgraphics/tst_qquickwebengineviewgraphics.cpp
index d64ab5d1..63e44e59 100644
--- a/tests/auto/quick/qquickwebengineviewgraphics/tst_qquickwebengineviewgraphics.cpp
+++ b/tests/auto/quick/qquickwebengineviewgraphics/tst_qquickwebengineviewgraphics.cpp
@@ -126,7 +126,7 @@ tst_QQuickWebEngineViewGraphics::~tst_QQuickWebEngineViewGraphics()
// It is only called once.
void tst_QQuickWebEngineViewGraphics::initTestCase()
{
- QWebEngine::initialize();
+ QtWebEngine::initialize();
}
void tst_QQuickWebEngineViewGraphics::init()
diff --git a/tests/auto/quick/shared/qt_webengine_quicktest.h b/tests/auto/quick/shared/qt_webengine_quicktest.h
index 275e40dd..2fd168e9 100644
--- a/tests/auto/quick/shared/qt_webengine_quicktest.h
+++ b/tests/auto/quick/shared/qt_webengine_quicktest.h
@@ -72,7 +72,7 @@ QT_BEGIN_NAMESPACE
qputenv("QTWEBENGINEPROCESS_PATH", QWP_PATH); \
if (!QCoreApplication::instance()) \
app = new Application(argc, argv); \
- QWebEngine::initialize(); \
+ QtWebEngine::initialize(); \
int i = quick_test_main(argc, argv, #name, QUICK_TEST_SOURCE_DIR); \
delete app; \
return i; \
diff --git a/tests/quicktestbrowser/main.cpp b/tests/quicktestbrowser/main.cpp
index 1e592f3e..d8fe01aa 100644
--- a/tests/quicktestbrowser/main.cpp
+++ b/tests/quicktestbrowser/main.cpp
@@ -53,7 +53,7 @@ int main(int argc, char **argv)
{
Application app(argc, argv);
- QWebEngine::initialize();
+ QtWebEngine::initialize();
ApplicationEngine appEngine;