Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Kigo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Games
Kigo
Commits
8ac230ef
Commit
8ac230ef
authored
May 25, 2020
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix clazy warning
parent
c4cf99ff
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
9 deletions
+9
-9
src/game/game.h
src/game/game.h
+3
-3
src/gui/config/generalconfig.h
src/gui/config/generalconfig.h
+1
-1
src/gui/graphicsview/gameview.h
src/gui/graphicsview/gameview.h
+1
-1
src/gui/mainwindow.h
src/gui/mainwindow.h
+1
-1
src/gui/widgets/errorwidget.h
src/gui/widgets/errorwidget.h
+1
-1
src/gui/widgets/gamewidget.h
src/gui/widgets/gamewidget.h
+1
-1
src/gui/widgets/setupwidget.h
src/gui/widgets/setupwidget.h
+1
-1
No files found.
src/game/game.h
View file @
8ac230ef
...
...
@@ -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
...
...
src/gui/config/generalconfig.h
View file @
8ac230ef
...
...
@@ -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
();
...
...
src/gui/graphicsview/gameview.h
View file @
8ac230ef
...
...
@@ -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
);
...
...
src/gui/mainwindow.h
View file @
8ac230ef
...
...
@@ -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
...
...
src/gui/widgets/errorwidget.h
View file @
8ac230ef
...
...
@@ -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
();
...
...
src/gui/widgets/gamewidget.h
View file @
8ac230ef
...
...
@@ -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
();
...
...
src/gui/widgets/setupwidget.h
View file @
8ac230ef
...
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment