From 40e6fe780150161bb608f5df356bfe4f00861be5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Wed, 14 Oct 2020 12:20:38 +0200 Subject: doc: Update and flesh out native interface docs The namespace and overviews are in the qtdoc repository. Docs for individual interfaces should live with their platform. Change-Id: Iba5fd7e9ebc4f1f634ec9dc3ec125ce88a1312ba Reviewed-by: Paul Wicking --- src/gui/kernel/qopenglcontext.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/gui/kernel/qopenglcontext.cpp') diff --git a/src/gui/kernel/qopenglcontext.cpp b/src/gui/kernel/qopenglcontext.cpp index 490d082fd4..6cc2d65a35 100644 --- a/src/gui/kernel/qopenglcontext.cpp +++ b/src/gui/kernel/qopenglcontext.cpp @@ -347,12 +347,14 @@ void QOpenGLContextPrivate::_q_screenDestroyed(QObject *object) } /*! - \fn template NativeInterface *QOpenGLContext::nativeInterface() const + \fn template QNativeInterface *QOpenGLContext::nativeInterface() const - Returns a native interface of type \c NativeInterface for the context. + Returns a native interface of the given type for the context. This function provides access to platform specific functionality - of QOpenGLContext, as defined in the QNativeInterface namespace. + of QOpenGLContext, as defined in the QNativeInterface namespace: + + \annotatedlist native-interfaces-qopenglcontext If the requested interface is not available a \nullptr is returned. */ -- cgit v1.2.3