Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Games
KSnakeDuel
Commits
543ecc28
Commit
543ecc28
authored
Jan 07, 2015
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kdelibs4support--
parent
d5fa914a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ktron.cpp
ktron.cpp
+3
-3
main.cpp
main.cpp
+1
-1
No files found.
ktron.cpp
View file @
543ecc28
...
...
@@ -35,9 +35,9 @@
#include <KScoreDialog>
#include <KgDifficulty>
#include <KShortcutsDialog>
#include <
K
StatusBar>
#include <
Q
StatusBar>
#include <KToggleAction>
#include <
K
Application>
#include <
Q
Application>
#define USE_UNSTABLE_LIBKDEGAMESPRIVATE_API
#include <libkdegamesprivate/kgamethemeselector.h>
...
...
@@ -137,7 +137,7 @@ KTron::KTron(QWidget *parent) : KXmlGuiWindow(parent, KDE_DEFAULT_WINDOWFLAGS) {
// New
KStandardGameAction
::
gameNew
(
m_tron
,
SLOT
(
newGame
()),
actionCollection
());
// Quit
KStandardGameAction
::
quit
(
ka
pp
,
SLOT
(
quit
()),
actionCollection
());
KStandardGameAction
::
quit
(
qA
pp
,
SLOT
(
quit
()),
actionCollection
());
// Settings
KStandardAction
::
preferences
(
this
,
SLOT
(
showSettings
()),
actionCollection
());
// Configure keys
...
...
main.cpp
View file @
543ecc28
...
...
@@ -20,7 +20,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*******************************************************************************/
#include <
K
Application>
#include <
Q
Application>
#include <KLocalizedString>
#include <KAboutData>
...
...
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