summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qoffscreensurface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qoffscreensurface.cpp')
-rw-r--r--src/gui/kernel/qoffscreensurface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/kernel/qoffscreensurface.cpp b/src/gui/kernel/qoffscreensurface.cpp
index 9875911d30..3144bc6f8c 100644
--- a/src/gui/kernel/qoffscreensurface.cpp
+++ b/src/gui/kernel/qoffscreensurface.cpp
@@ -52,12 +52,12 @@ QT_BEGIN_NAMESPACE
/*!
- \fn T QOffScreenSurface::platformInterface<T>()
+ \fn template <typename NativeInterface> NativeInterface *QOffScreenSurface::nativeInterface()
- Returns a platform interface of type T for the surface.
+ Returns a native interface of type \c NativeInterface for the surface.
This function provides access to platform specific functionality
- of QOffScreenSurface, as defined in the QPlatformInterface namespace.
+ of QOffScreenSurface, as defined in the QNativeInterface namespace.
If the requested interface is not available a \nullptr is returned.
*/