Commit 83410714 authored by Andrius Štikonas's avatar Andrius Štikonas

Q_DECL_OVERRIDE -> override.

parent 627259ef
......@@ -72,12 +72,12 @@ protected:
* This method is called automatically by Qt once.
void initializeGL() Q_DECL_OVERRIDE;
void initializeGL() override;
* Called by Qt when the size of the GL view changes.
void resizeGL(int w, int h) Q_DECL_OVERRIDE;
void resizeGL(int w, int h) override;
* This method actually renders the scene. It is called automatically by Qt
......@@ -86,15 +86,15 @@ protected:
* Do not call this method directly!
void paintGL() Q_DECL_OVERRIDE;
void paintGL() override;
* Handle mouse events. In these implementations, game->handleMouseEvent
* is called with event type, button, X co-ordinate and Y co-ordinate in
* OpenGL convention (zero at bottom of window).
void mousePressEvent (QMouseEvent* e) Q_DECL_OVERRIDE;
void mouseReleaseEvent (QMouseEvent* e) Q_DECL_OVERRIDE;
void mousePressEvent (QMouseEvent* e) override;
void mouseReleaseEvent (QMouseEvent* e) override;
* Check for an OpenGL error. Dump any error to stdout
......@@ -81,7 +81,7 @@ protected:
* been saved. This is as with a real Rubik Cube, which stays how it is
* when you stop playing with it.
bool queryClose() Q_DECL_OVERRIDE;
bool queryClose() override;
protected slots:
void optionsConfigureKeys();
......@@ -96,7 +96,7 @@ protected slots:
void patternSelected ();
void movesSelected ();
void saveNewToolbarConfig() Q_DECL_OVERRIDE;
void saveNewToolbarConfig() override;
Game * game; // The game object.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment