summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/gui/kernel/qclipboard/tst_qclipboard.cpp4
-rw-r--r--tests/auto/gui/qopengl/tst_qopengl.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/gui/kernel/qclipboard/tst_qclipboard.cpp b/tests/auto/gui/kernel/qclipboard/tst_qclipboard.cpp
index 0df949acba..790b53ff9f 100644
--- a/tests/auto/gui/kernel/qclipboard/tst_qclipboard.cpp
+++ b/tests/auto/gui/kernel/qclipboard/tst_qclipboard.cpp
@@ -446,8 +446,8 @@ void tst_QClipboard::clearBeforeSetText()
# ifdef Q_OS_WIN
-using QWindowsMime = QPlatformInterface::Private::QWindowsMime;
-using QWindowsApplication = QPlatformInterface::Private::QWindowsApplication;
+using QWindowsMime = QNativeInterface::Private::QWindowsMime;
+using QWindowsApplication = QNativeInterface::Private::QWindowsApplication;
class TestMime : public QWindowsMime
{
diff --git a/tests/auto/gui/qopengl/tst_qopengl.cpp b/tests/auto/gui/qopengl/tst_qopengl.cpp
index 5e244a4ae9..903b617ae8 100644
--- a/tests/auto/gui/qopengl/tst_qopengl.cpp
+++ b/tests/auto/gui/qopengl/tst_qopengl.cpp
@@ -1472,7 +1472,7 @@ void tst_QOpenGL::defaultSurfaceFormat()
QCOMPARE(context->format(), fmt);
}
-using namespace QPlatformInterface;
+using namespace QNativeInterface;
#ifdef USE_GLX
void tst_QOpenGL::glxContextWrap()
@@ -1490,7 +1490,7 @@ void tst_QOpenGL::glxContextWrap()
QOpenGLContext *ctx0 = new QOpenGLContext;
ctx0->setFormat(window->format());
QVERIFY(ctx0->create());
- auto *glxContextIf = ctx0->platformInterface<QGLXContext>();
+ auto *glxContextIf = ctx0->nativeInterface<QGLXContext>();
QVERIFY(glxContextIf);
GLXContext context = glxContextIf->nativeContext();
QVERIFY(context);
@@ -1524,7 +1524,7 @@ void tst_QOpenGL::wglContextWrap()
window->show();
QVERIFY(QTest::qWaitForWindowExposed(window.data()));
- auto *wglContext = ctx->platformInterface<QWGLContext>();
+ auto *wglContext = ctx->nativeInterface<QWGLContext>();
QVERIFY(wglContext);
QVERIFY(wglContext->nativeContext());