From 5669351bdf45acc8ca2e1334b9f53ebd2a541b6b Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Wed, 18 Nov 2020 13:58:40 +0100 Subject: Doc: Fix documentation warnings for Qt GUI - Remove obsolete dependencies and references. - Restore previously deleted snippet code referenced in richtext.qdoc. - Add widgets snippets path to exampledirs; some classes were moved from QtWidgets to QtGUI and related \snippet commands were broken. - Mark internal functions under QNativeInterface::Private as \internal. Task-number: QTBUG-86295 Change-Id: I9c165c860c7191dac65972d702698a1745bff77f Reviewed-by: Paul Wicking --- src/gui/platform/unix/qunixnativeinterface.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/gui/platform/unix/qunixnativeinterface.cpp') diff --git a/src/gui/platform/unix/qunixnativeinterface.cpp b/src/gui/platform/unix/qunixnativeinterface.cpp index 43184daa121..a182fce1822 100644 --- a/src/gui/platform/unix/qunixnativeinterface.cpp +++ b/src/gui/platform/unix/qunixnativeinterface.cpp @@ -72,11 +72,11 @@ using namespace QNativeInterface::Private; /*! \fn QOpenGLContext *QNativeInterface::QGLXContext::fromNative(GLXContext configBasedContext, QOpenGLContext *shareContext = nullptr) - \brief Adopts a GLXContext created from an FBConfig. + \brief Adopts a GLXContext \a configBasedContext created from an FBConfig. The context must be created from a framebuffer configuration, using the \c glXCreateNewContext function. - Ownership of the created QOpenGLContext is transferred to the caller. + Ownership of the created QOpenGLContext \a shareContext is transferred to the caller. */ /*! @@ -129,11 +129,12 @@ QOpenGLContext *QNativeInterface::QGLXContext::fromNative(GLXContext visualBased /*! \fn QOpenGLContext *QNativeInterface::QEGLContext::fromNative(EGLContext context, EGLDisplay display, QOpenGLContext *shareContext = nullptr) - \brief Adopts an EGLContext. + \brief Adopts an EGLContext \a context. The same \c EGLDisplay passed to \c eglCreateContext must be passed as the \a display argument. - Ownership of the created QOpenGLContext is transferred to the caller. + Ownership of the created QOpenGLContext \a shareContext is transferred + to the caller. */ /*! -- cgit v1.2.3