diff options
author | Nico Vertriest <nico.vertriest@digia.com> | 2015-05-19 15:03:12 +0200 |
---|---|---|
committer | Nico Vertriest <nico.vertriest@digia.com> | 2015-07-22 13:47:23 +0000 |
commit | e6ddae07e1e571a7a6e0c531b961dbddcd217643 (patch) | |
tree | 84c366f499a91152456cc8a85995d97ec6bc6e94 /src/opengl | |
parent | 9499cf33b7284d1a2626fecc1abde75e1dc52c23 (diff) |
Doc:added doc to undocumented functions
Task-number: QTBUG-36985
Change-Id: Ic358682b276d67ef804f727bcf14191718613469
Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'src/opengl')
-rw-r--r-- | src/opengl/qgl.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
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); |