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

Fix clazy warning

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