From e6ddae07e1e571a7a6e0c531b961dbddcd217643 Mon Sep 17 00:00:00 2001 From: Nico Vertriest Date: Tue, 19 May 2015 15:03:12 +0200 Subject: Doc:added doc to undocumented functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-36985 Change-Id: Ic358682b276d67ef804f727bcf14191718613469 Reviewed-by: Topi Reiniƶ --- src/opengl/qgl.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/opengl') diff --git a/src/opengl/qgl.cpp b/src/opengl/qgl.cpp index 0cb4ccd416..eae9a4c228 100644 --- a/src/opengl/qgl.cpp +++ b/src/opengl/qgl.cpp @@ -2168,6 +2168,9 @@ QGLContext::QGLContext(QOpenGLContext *context) d->setupSharing(); } +/*! + Returns the OpenGL context handle. +*/ QOpenGLContext *QGLContext::contextHandle() const { Q_D(const QGLContext); @@ -2175,7 +2178,7 @@ QOpenGLContext *QGLContext::contextHandle() const } /*! - Returns a OpenGL context for the window context specified by the \a context + Returns an OpenGL context for the window context specified by the \a context parameter. */ QGLContext *QGLContext::fromOpenGLContext(QOpenGLContext *context) @@ -4354,6 +4357,9 @@ void QGLWidget::resizeOverlayGL(int, int) { } +/*! + Handles the event \a e passed as a parameter. +*/ bool QGLWidget::event(QEvent *e) { Q_D(QGLWidget); -- cgit v1.2.3