diff options
Diffstat (limited to 'src/opengl/qgl.h')
-rw-r--r-- | src/opengl/qgl.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/opengl/qgl.h b/src/opengl/qgl.h index 8c55cffbb3..63804cc28d 100644 --- a/src/opengl/qgl.h +++ b/src/opengl/qgl.h @@ -356,12 +356,12 @@ class Q_OPENGL_EXPORT QGLWidget : public QWidget Q_OBJECT Q_DECLARE_PRIVATE(QGLWidget) public: - explicit QGLWidget(QWidget* parent=0, - const QGLWidget* shareWidget = 0, Qt::WindowFlags f=0); - explicit QGLWidget(QGLContext *context, QWidget* parent=0, - const QGLWidget* shareWidget = 0, Qt::WindowFlags f=0); - explicit QGLWidget(const QGLFormat& format, QWidget* parent=0, - const QGLWidget* shareWidget = 0, Qt::WindowFlags f=0); + explicit QGLWidget(QWidget* parent=Q_NULLPTR, + const QGLWidget* shareWidget = Q_NULLPTR, Qt::WindowFlags f=Qt::WindowFlags()); + explicit QGLWidget(QGLContext *context, QWidget* parent=Q_NULLPTR, + const QGLWidget* shareWidget = Q_NULLPTR, Qt::WindowFlags f=Qt::WindowFlags()); + explicit QGLWidget(const QGLFormat& format, QWidget* parent=Q_NULLPTR, + const QGLWidget* shareWidget = Q_NULLPTR, Qt::WindowFlags f=Qt::WindowFlags()); ~QGLWidget(); void qglColor(const QColor& c) const; @@ -442,9 +442,9 @@ protected: QGLWidget(QGLWidgetPrivate &dd, const QGLFormat &format = QGLFormat(), - QWidget *parent = 0, - const QGLWidget* shareWidget = 0, - Qt::WindowFlags f = 0); + QWidget *parent = Q_NULLPTR, + const QGLWidget* shareWidget = Q_NULLPTR, + Qt::WindowFlags f = Qt::WindowFlags()); private: Q_DISABLE_COPY(QGLWidget) |