#include <libkdegames_export.h>


Go to the source code of this file.
Namespaces | |
| namespace | KStandardGameAction |
Enumerations | |
| enum | KStandardGameAction::StandardGameAction { KStandardGameAction::New = 1, KStandardGameAction::Load, KStandardGameAction::LoadRecent, KStandardGameAction::Save, KStandardGameAction::SaveAs, KStandardGameAction::End, KStandardGameAction::Pause, KStandardGameAction::Highscores, KStandardGameAction::Statistics, KStandardGameAction::Print, KStandardGameAction::Quit, KStandardGameAction::Repeat, KStandardGameAction::Undo, KStandardGameAction::Redo, KStandardGameAction::Roll, KStandardGameAction::EndTurn, KStandardGameAction::Carddecks, KStandardGameAction::ChooseGameType, KStandardGameAction::ConfigureHighscores, KStandardGameAction::ClearHighscores, KStandardGameAction::ClearStatistics, KStandardGameAction::Restart, KStandardGameAction::Hint, KStandardGameAction::Demo, KStandardGameAction::Solve, KStandardGameAction::ActionNone } |
| The standard menubar and toolbar actions. More... | |
Functions | |
| KAction * | KStandardGameAction::create (StandardGameAction id, const QObject *recvr, const char *slot, QObject *parent) |
| Creates an action corresponding to the KStandardAction::StandardAction enum. | |
| const char * | KStandardGameAction::name (StandardGameAction id) |
| This will return the internal name of a given standard action. | |
| KAction * | KStandardGameAction::gameNew (const QObject *recvr, const char *slot, QObject *parent) |
| Start a new game. | |
| KAction * | KStandardGameAction::load (const QObject *recvr, const char *slot, QObject *parent) |
| Load a previousely saved game. | |
| KRecentFilesAction * | KStandardGameAction::loadRecent (const QObject *recvr, const char *slot, QObject *parent) |
| Load a recently loaded game. | |
| KAction * | KStandardGameAction::save (const QObject *recvr, const char *slot, QObject *parent) |
| Save the current game. | |
| KAction * | KStandardGameAction::saveAs (const QObject *recvr, const char *slot, QObject *parent) |
| Save the current game under a different filename. | |
| KToggleAction * | KStandardGameAction::pause (const QObject *recvr, const char *slot, QObject *parent) |
| Pause the game. | |
| KAction * | KStandardGameAction::highscores (const QObject *recvr, const char *slot, QObject *parent) |
| Show the highscores. | |
| KDEGAMES_EXPORT KAction * | KStandardGameAction::clearHighscores (const QObject *recvr, const char *slot, QObject *parent) |
| Clear highscores. | |
| KAction * | KStandardGameAction::statistics (const QObject *recvr, const char *slot, QObject *parent) |
| Show the statistics. | |
| KAction * | KStandardGameAction::clearStatistics (const QObject *recvr, const char *slot, QObject *parent) |
| Clear statistics. | |
| KAction * | KStandardGameAction::end (const QObject *recvr, const char *slot, QObject *parent) |
| End the current game, but do not quit the program. | |
| KAction * | KStandardGameAction::print (const QObject *recvr, const char *slot, QObject *parent) |
| Print current game. | |
| KAction * | KStandardGameAction::quit (const QObject *recvr, const char *slot, QObject *parent) |
| Quit the game. | |
| KAction * | KStandardGameAction::repeat (const QObject *recvr, const char *slot, QObject *parent) |
| Repeat the last move. | |
| KAction * | KStandardGameAction::undo (const QObject *recvr, const char *slot, QObject *parent) |
| Undo the last move. | |
| KAction * | KStandardGameAction::redo (const QObject *recvr, const char *slot, QObject *parent) |
| Redo the last move (which has been undone). | |
| KAction * | KStandardGameAction::roll (const QObject *recvr, const char *slot, QObject *parent) |
| Roll die or dice. | |
| KAction * | KStandardGameAction::endTurn (const QObject *recvr, const char *slot, QObject *parent) |
| End the current turn (not the game). | |
| KAction * | KStandardGameAction::carddecks (const QObject *recvr, const char *slot, QObject *parent) |
| Display configure carddecks dialog. | |
| KAction * | KStandardGameAction::configureHighscores (const QObject *recvr, const char *slot, QObject *parent) |
| Display configure highscores dialog. | |
| KAction * | KStandardGameAction::hint (const QObject *recvr, const char *slot, QObject *parent) |
| Give an advice/hint. | |
| KToggleAction * | KStandardGameAction::demo (const QObject *recvr, const char *slot, QObject *parent) |
| Show a demo. | |
| KAction * | KStandardGameAction::solve (const QObject *recvr, const char *slot, QObject *parent) |
| Solve the game. | |
| KSelectAction * | KStandardGameAction::chooseGameType (const QObject *recvr, const char *slot, QObject *parent) |
| Choose game type. | |
| KAction * | KStandardGameAction::restart (const QObject *recvr, const char *slot, QObject *parent) |
| Restart the game. | |
1.5.3