granatier
mainwindow.cpp
Go to the documentation of this file.
148 if (KMessageBox::warningYesNo(this, i18n("Are you sure you want to quit the current game?"), i18n("New game")) == KMessageBox::Yes)
182 settingsDialog->addPage(new GeneralSettings(settingsDialog), i18nc("General settings", "General"), "games-config-options");
186 settingsDialog->addPage(new KgThemeSelector(m_themeProvider, KgThemeSelector::DefaultBehavior, settingsDialog), i18n("Theme"), "games-config-theme");
188 settingsDialog->addPage(new ArenaSelector(settingsDialog, Settings::self(), &m_tempRandomArenaModeArenaList, ArenaSelector::DefaultBehavior), i18n("Arena"), "games-config-board");
190 settingsDialog->addPage(new PlayerSelector(m_playerSettings, PlayerSelector::DefaultBehavior, settingsDialog), i18n("Player"), "games-config-custom");
240 if(KMessageBox::warningYesNo(this, i18n("Are you sure you want to quit Granatier?"), i18nc("To quit Granatier", "Quit")) == KMessageBox::Yes)
void clear()
This class manages the drawing of each element of the Game instance.
Definition: gameview.h:32
void setupUi(QWidget *widget)
Definition: arenaselector.h:52
void discardUnsavedSettings()
Definition: playersettings.cpp:257
QGraphicsScene * scene() const
Definition: playerselector.h:28
void setBackgroundBrush(const QBrush &brush)
bool isEmpty() const
This class manages the game main loop : it regularly checks the key press events, computes the charac...
Definition: game.h:43
Definition: playersettings.h:27
QDateTime currentDateTime()
This class contains all the Game elements to be drawn on the screen by the GameView instance...
Definition: gamescene.h:50
static void setRandomArenaModeArenaList(const QStringList &v)
Set List of arenas, used in random mode.
Definition: settings.h:96
bool isActive() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.