Doc: Placed Qt OpenGL class convention in code block.

-QDoc tried to autolink where it should not.
-The syntax looks much better in a code block than in a paragraph.

Change-Id: I21d08cbb1537186d09b52898d7b70a5c0794256c
Task-number: QTBUG-35019
Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
This commit is contained in:
Jerome Pasion 2014-08-05 11:53:22 +02:00
parent 4124cd159e
commit 77b40ab79b

View File

@ -98,8 +98,10 @@ void QAbstractOpenGLFunctionsPrivate::removeFunctionsBackend(QOpenGLContext *con
Qt now provides a family of classes which all inherit from
QAbstractOpenGLFunctions which expose every core OpenGL function by way of a
corresponding member function. There is a class for every valid combination
of OpenGL version and profile. Each class follows the naming convention
QOpenGLFunctions_<MAJOR VERSION>_<MINOR VERSION>[_PROFILE].
of OpenGL version and profile. Each class follows the naming convention:
\badcode
QOpenGLFunctions_<MAJOR VERSION>_<MINOR VERSION>[_PROFILE]
\endcode
For OpenGL versions 1.0 through to 3.0 there are no profiles, leading to the
classes: