summaryrefslogtreecommitdiffstats
path: root/examples/opengl/doc/src/cube.qdoc
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2020-03-18 19:56:40 +0100
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2020-03-20 22:27:29 +0100
commitbd75c87e0e76b328827a2aad1077f89e50e36d9d (patch)
tree6581e30e0531b9a95744956fe9f46bb3a64966f1 /examples/opengl/doc/src/cube.qdoc
parent580e9eedf783ccbdcb67baa3d1a9dcdd53922f86 (diff)
Doc: replace deprecated references to QGLWidget
Remove references to the deprecated QGLWidget and replace it with QOpenGLWidget. Change-Id: Ia31df42ab61c25e9ce46f4491267d2c64910f55c Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'examples/opengl/doc/src/cube.qdoc')
-rw-r--r--examples/opengl/doc/src/cube.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/opengl/doc/src/cube.qdoc b/examples/opengl/doc/src/cube.qdoc
index 1fdfe0c6ec..d58b8d8020 100644
--- a/examples/opengl/doc/src/cube.qdoc
+++ b/examples/opengl/doc/src/cube.qdoc
@@ -47,7 +47,7 @@
The example consist of two classes:
\list
- \li \c MainWidget extends QGLWidget and contains OpenGL ES 2.0
+ \li \c MainWidget extends QOpenGLWidget and contains OpenGL ES 2.0
initialization and drawing and mouse and timer event handling
\li \c GeometryEngine handles polygon geometries. Transfers polygon geometry
to vertex buffer objects and draws geometries from vertex buffer objects.
@@ -92,7 +92,7 @@
\section1 Loading Textures from Qt Resource Files
- \c QGLWidget interface implements methods for loading textures from QImage to GL
+ \c QOpenGLWidget interface implements methods for loading textures from QImage to GL
texture memory. We still need to use OpenGL provided functions for specifying
the GL texture unit and configuring texture filtering options.