diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2012-04-02 08:48:47 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-10 22:48:00 +0200 |
commit | 592bb3ca5eab21246c3194e18b534defb0fb7022 (patch) | |
tree | c2a00da52d5fba48bef5eb958d7893440ec1ce57 | |
parent | 89387415b1fc305d82b81707f5d9c0ec85906620 (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>
-rw-r--r-- | src/opengl/qgl.h | 6 | ||||
-rw-r--r-- | src/opengl/qgl_p.h | 1 |
2 files changed, 2 insertions, 5 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(), diff --git a/src/opengl/qgl_p.h b/src/opengl/qgl_p.h index 86645fd5c1..fb503a31f1 100644 --- a/src/opengl/qgl_p.h +++ b/src/opengl/qgl_p.h @@ -402,7 +402,6 @@ private slots: } }; -// ### make QGLContext a QObject in 5.0 and remove the proxy stuff class Q_OPENGL_EXPORT QGLSignalProxy : public QObject { Q_OBJECT |