Commit 8ac230ef authored by Laurent Montel's avatar Laurent Montel 😁

Fix clazy warning

parent c4cf99ff
...@@ -267,9 +267,9 @@ signals: ...@@ -267,9 +267,9 @@ signals:
void boardSizeChanged(int); void boardSizeChanged(int);
/** This signal is emitted when a player resigns. */ /** This signal is emitted when a player resigns. */
void resigned(const Player &); void resigned(const Kigo::Player &);
void passMovePlayed(const Player &); void passMovePlayed(const Kigo::Player &);
/** /**
* This signal is emitted when both players played a pass move * This signal is emitted when both players played a pass move
* after another. It is also send when pass moves are gone * after another. It is also send when pass moves are gone
...@@ -277,7 +277,7 @@ signals: ...@@ -277,7 +277,7 @@ signals:
void consecutivePassMovesPlayed(int); void consecutivePassMovesPlayed(int);
/** This signal is emitted when the current player changes. */ /** This signal is emitted when the current player changes. */
void currentPlayerChanged(const Player &); void currentPlayerChanged(const Kigo::Player &);
/** /**
* This signal is emitted when the game starts or ends a * This signal is emitted when the game starts or ends a
......
...@@ -42,7 +42,7 @@ public: ...@@ -42,7 +42,7 @@ public:
/** /**
* Standard Constructor. Sets up the loaded user interface. * Standard Constructor. Sets up the loaded user interface.
*/ */
explicit GeneralConfig(QWidget *parent = 0); explicit GeneralConfig(QWidget *parent = nullptr);
private slots: private slots:
void updateEngineCommand(); void updateEngineCommand();
......
...@@ -46,7 +46,7 @@ public: ...@@ -46,7 +46,7 @@ public:
* @param parent The (optional) parent widget * @param parent The (optional) parent widget
* @see GameScene * @see GameScene
*/ */
explicit GameView(GameScene *scene, QWidget *parent = 0); explicit GameView(GameScene *scene, QWidget *parent = nullptr);
private slots: private slots:
void changeCursor(const QPixmap &cursorPixmap); void changeCursor(const QPixmap &cursorPixmap);
......
...@@ -48,7 +48,7 @@ class MainWindow : public KXmlGuiWindow ...@@ -48,7 +48,7 @@ class MainWindow : public KXmlGuiWindow
Q_OBJECT Q_OBJECT
public: public:
explicit MainWindow(const QString &fileName = QLatin1String(""), QWidget *parent = 0); explicit MainWindow(const QString &fileName = QLatin1String(""), QWidget *parent = nullptr);
private slots: private slots:
void newGame(); ///< Configure new game void newGame(); ///< Configure new game
......
...@@ -36,7 +36,7 @@ class ErrorWidget : public QWidget, private Ui::ErrorWidget ...@@ -36,7 +36,7 @@ class ErrorWidget : public QWidget, private Ui::ErrorWidget
Q_OBJECT Q_OBJECT
public: public:
explicit ErrorWidget(QWidget *parent = 0); explicit ErrorWidget(QWidget *parent = nullptr);
signals: signals:
void configureClicked(); void configureClicked();
......
...@@ -39,7 +39,7 @@ class GameWidget : public QWidget, private Ui::GameWidget ...@@ -39,7 +39,7 @@ class GameWidget : public QWidget, private Ui::GameWidget
Q_OBJECT Q_OBJECT
public: public:
explicit GameWidget(Game *game, QWidget *parent = 0); explicit GameWidget(Game *game, QWidget *parent = nullptr);
signals: signals:
void finishClicked(); void finishClicked();
......
...@@ -38,7 +38,7 @@ class SetupWidget : public QWidget, private Ui::SetupWidget ...@@ -38,7 +38,7 @@ class SetupWidget : public QWidget, private Ui::SetupWidget
Q_OBJECT Q_OBJECT
public: public:
explicit SetupWidget(Game *game, QWidget *parent = 0); explicit SetupWidget(Game *game, QWidget *parent = nullptr);
~SetupWidget(); ~SetupWidget();
signals: signals:
......
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