summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformscreen_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qplatformscreen_p.h')
-rw-r--r--src/gui/kernel/qplatformscreen_p.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/kernel/qplatformscreen_p.h b/src/gui/kernel/qplatformscreen_p.h
index 2f09c1de37..340f637dd9 100644
--- a/src/gui/kernel/qplatformscreen_p.h
+++ b/src/gui/kernel/qplatformscreen_p.h
@@ -65,14 +65,14 @@ public:
QPointer<QScreen> screen;
};
-// ----------------- QPlatformInterface -----------------
+// ----------------- QNativeInterface -----------------
-namespace QPlatformInterface::Private {
+namespace QNativeInterface::Private {
#if QT_CONFIG(xcb)
struct Q_GUI_EXPORT QXcbScreen
{
- QT_DECLARE_PLATFORM_INTERFACE(QXcbScreen)
+ QT_DECLARE_NATIVE_INTERFACE(QXcbScreen)
virtual int virtualDesktopNumber() const = 0;
};
#endif
@@ -80,7 +80,7 @@ struct Q_GUI_EXPORT QXcbScreen
#if QT_CONFIG(vsp2)
struct Q_GUI_EXPORT QVsp2Screen
{
- QT_DECLARE_PLATFORM_INTERFACE(QVsp2Screen)
+ QT_DECLARE_NATIVE_INTERFACE(QVsp2Screen)
virtual int addLayer(int dmabufFd, const QSize &size, const QPoint &position, uint drmPixelFormat, uint bytesPerLine) = 0;
virtual void setLayerBuffer(int id, int dmabufFd) = 0;
virtual void setLayerPosition(int id, const QPoint &position) = 0;
@@ -90,7 +90,7 @@ struct Q_GUI_EXPORT QVsp2Screen
};
#endif
-} // QPlatformInterface::Private
+} // QNativeInterface::Private
QT_END_NAMESPACE