diff options
author | Martin Smith <msmith@trolltech.com> | 2009-05-25 09:57:30 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2009-05-25 09:57:30 (GMT) |
commit | e5615b9cf4c981bb8d0fec48eacd6c11c124a3b0 (patch) | |
tree | acb80ef416f487a326034df2253fa68a67e642e7 /src/opengl/qgl_x11.cpp | |
parent | 58f0112b11e42ece4c7fa3456ae46e8c86fa0bd6 (diff) | |
download | Qt-e5615b9cf4c981bb8d0fec48eacd6c11c124a3b0.zip Qt-e5615b9cf4c981bb8d0fec48eacd6c11c124a3b0.tar.gz Qt-e5615b9cf4c981bb8d0fec48eacd6c11c124a3b0.tar.bz2 |
qdoc: Added some missing qdoc comments.
Task-number: 252491
Diffstat (limited to 'src/opengl/qgl_x11.cpp')
-rw-r--r-- | src/opengl/qgl_x11.cpp | 30 |
1 files changed, 6 insertions, 24 deletions
diff --git a/src/opengl/qgl_x11.cpp b/src/opengl/qgl_x11.cpp index 28c34de..7ed7a23 100644 --- a/src/opengl/qgl_x11.cpp +++ b/src/opengl/qgl_x11.cpp @@ -443,19 +443,9 @@ bool QGLContext::chooseContext(const QGLContext* shareContext) return true; } - -/*! - \bold{X11 only:} This virtual function tries to find a - visual that matches the format, reducing the demands if the original - request cannot be met. - - The algorithm for reducing the demands of the format is quite - simple-minded, so override this method in your subclass if your - application has spcific requirements on visual selection. - - \sa chooseContext() -*/ - +/* + See qgl.cpp for qdoc comment. + */ void *QGLContext::chooseVisual() { Q_D(QGLContext); @@ -519,17 +509,9 @@ void *QGLContext::chooseVisual() return vis; } - -/*! - \internal - - \bold{X11 only:} This virtual function chooses a visual - that matches the OpenGL \link format() format\endlink. Reimplement this - function in a subclass if you need a custom visual. - - \sa chooseContext() -*/ - +/* + See qgl.cpp for qdoc comment. + */ void *QGLContext::tryVisual(const QGLFormat& f, int bufDepth) { Q_D(QGLContext); |