diff options
Diffstat (limited to 'src/opengl/qglpixelbuffer.h')
-rw-r--r-- | src/opengl/qglpixelbuffer.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/opengl/qglpixelbuffer.h b/src/opengl/qglpixelbuffer.h index bd30ca2663..f5d7929c35 100644 --- a/src/opengl/qglpixelbuffer.h +++ b/src/opengl/qglpixelbuffer.h @@ -53,9 +53,9 @@ class Q_OPENGL_EXPORT QGLPixelBuffer : public QPaintDevice Q_DECLARE_PRIVATE(QGLPixelBuffer) public: QGLPixelBuffer(const QSize &size, const QGLFormat &format = QGLFormat::defaultFormat(), - QGLWidget *shareWidget = Q_NULLPTR); + QGLWidget *shareWidget = nullptr); QGLPixelBuffer(int width, int height, const QGLFormat &format = QGLFormat::defaultFormat(), - QGLWidget *shareWidget = Q_NULLPTR); + QGLWidget *shareWidget = nullptr); virtual ~QGLPixelBuffer(); bool isValid() const; @@ -81,14 +81,14 @@ public: Qt::HANDLE handle() const; QImage toImage() const; - QPaintEngine *paintEngine() const Q_DECL_OVERRIDE; + QPaintEngine *paintEngine() const override; QGLFormat format() const; static bool hasOpenGLPbuffers(); protected: - int metric(PaintDeviceMetric metric) const Q_DECL_OVERRIDE; - int devType() const Q_DECL_OVERRIDE { return QInternal::Pbuffer; } + int metric(PaintDeviceMetric metric) const override; + int devType() const override { return QInternal::Pbuffer; } private: Q_DISABLE_COPY(QGLPixelBuffer) |