diff options
Diffstat (limited to 'examples/opengl/pbuffers/glwidget.h')
-rw-r--r-- | examples/opengl/pbuffers/glwidget.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/opengl/pbuffers/glwidget.h b/examples/opengl/pbuffers/glwidget.h index c4d71c0b76..1d23b7772a 100644 --- a/examples/opengl/pbuffers/glwidget.h +++ b/examples/opengl/pbuffers/glwidget.h @@ -57,11 +57,11 @@ public: ~GLWidget(); protected: - void initializeGL(); - void paintGL(); - void resizeGL(int width, int height); - void mousePressEvent(QMouseEvent *) { setAnimationPaused(true); } - void mouseReleaseEvent(QMouseEvent *) { setAnimationPaused(false); } + void initializeGL() Q_DECL_OVERRIDE; + void paintGL() Q_DECL_OVERRIDE; + void resizeGL(int width, int height) Q_DECL_OVERRIDE; + void mousePressEvent(QMouseEvent *) Q_DECL_OVERRIDE { setAnimationPaused(true); } + void mouseReleaseEvent(QMouseEvent *) Q_DECL_OVERRIDE { setAnimationPaused(false); } private: void initializeGeometry(); |