summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl.h
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2012-04-02 08:48:47 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-10 22:48:00 +0200
commit592bb3ca5eab21246c3194e18b534defb0fb7022 (patch)
treec2a00da52d5fba48bef5eb958d7893440ec1ce57 /src/opengl/qgl.h
parent89387415b1fc305d82b81707f5d9c0ec85906620 (diff)
Removed Qt 5 todo comments from qgl.h / qgl_p.h.
No point in changing QGLContext API when QOpenGLContext is meant to obsolete it. Task-number: QTBUG-25074 Change-Id: Ie21692c8c402ed9cd6af56bef0175c4e46c3d8a9 Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/opengl/qgl.h')
-rw-r--r--src/opengl/qgl.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/opengl/qgl.h b/src/opengl/qgl.h
index caa5b96cdc..6903d3278c 100644
--- a/src/opengl/qgl.h
+++ b/src/opengl/qgl.h
@@ -277,7 +277,6 @@ public:
QGLFormat requestedFormat() const;
void setFormat(const QGLFormat& format);
- // ### Qt 5: return bools + maybe remove virtuals
virtual void makeCurrent();
virtual void doneCurrent();
@@ -340,7 +339,7 @@ protected:
void setWindowCreated(bool on);
bool initialized() const;
void setInitialized(bool on);
- void generateFontDisplayLists(const QFont & fnt, int listBase); // ### Qt 5: remove
+ void generateFontDisplayLists(const QFont & fnt, int listBase);
uint colorIndex(const QColor& c) const;
void setValid(bool valid);
@@ -402,7 +401,6 @@ public:
bool isValid() const;
bool isSharing() const;
- // ### Qt 5: return bools
void makeCurrent();
void doneCurrent();
@@ -474,7 +472,7 @@ protected:
virtual void glInit();
virtual void glDraw();
- int fontDisplayListBase(const QFont & fnt, int listBase = 2000); // ### Qt 5: remove
+ int fontDisplayListBase(const QFont & fnt, int listBase = 2000);
QGLWidget(QGLWidgetPrivate &dd,
const QGLFormat &format = QGLFormat(),