kstandardgameaction.cpp File Reference

#include "kstandardgameaction.h"
#include <klocale.h>
#include <kaction.h>
#include <kactioncollection.h>
#include <kstandardshortcut.h>
#include <ktoggleaction.h>
#include <kconfig.h>
#include <kdebug.h>
#include <kicon.h>
#include <krecentfilesaction.h>

Include dependency graph for kstandardgameaction.cpp:

Go to the source code of this file.

Classes

struct  KStandardGameActionInfo

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.
KAction * KStandardGameAction::end (const QObject *recvr, const char *slot, QObject *parent)
 End the current game, but do not quit the program.
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.
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::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.

Variables

const
KStandardGameActionInfo 
g_rgActionInfo []


Variable Documentation

const KStandardGameActionInfo g_rgActionInfo[]

Definition at line 46 of file kstandardgameaction.cpp.


Generated on Sun Mar 16 08:03:02 2008 for Libkdegames by  doxygen 1.5.3