#include <kardsgtinterface.h>
Public Member Functions | |
KardsGTInterface (QString fileName="", QWidget *parent=0) | |
virtual | ~KardsGTInterface () |
Protected Slots | |
void | changeName () |
void | closeOpenGame () |
void | helpAbout () |
void | helpAboutQT () |
void | helpHandbook () |
void | loadGame () |
void | newGame () |
void | saveGame () |
void | settingsConfigureKardsGT () |
void | setupGame () |
void | turnOnCrazyEights () |
void | turnOnCribbage () |
void | turnOnEuchre () |
void | turnOnHearts () |
void | turnOnOldMaid () |
void | turnOnSpades () |
void | turnOnWar () |
KardsGTInterface::KardsGTInterface | ( | QString | fileName = "" , |
|
QWidget * | parent = 0 | |||
) |
This is the default widget constructor.
fileName | is the name of the game file we want to load. | |
parent | is the parent of the widget. |
KardsGTInterface::~KardsGTInterface | ( | ) | [virtual] |
This is the default widget destructor.
void KardsGTInterface::changeName | ( | ) | [protected, slot] |
This slot opens a dialogue for the user to change their name.
void KardsGTInterface::closeOpenGame | ( | ) | [protected, slot] |
This slot closes the current open game.
void KardsGTInterface::helpAbout | ( | ) | [protected, slot] |
This slot opens the about information for the programme.
void KardsGTInterface::helpAboutQT | ( | ) | [protected, slot] |
This slot displays the about information for the QT system.
void KardsGTInterface::helpHandbook | ( | ) | [protected, slot] |
This slot opens the QAssistantClient and displays the handbook for KardsGT.
void KardsGTInterface::loadGame | ( | ) | [protected, slot] |
This slot opens a dialogue requesting the user to enter a filename for the programme to load.
void KardsGTInterface::newGame | ( | ) | [protected, slot] |
This slot re-starts the current game running.
void KardsGTInterface::saveGame | ( | ) | [protected, slot] |
This slot saves the game running.
void KardsGTInterface::settingsConfigureKardsGT | ( | ) | [protected, slot] |
This slot opens a dialogue for the user to change the the programme settings.
void KardsGTInterface::setupGame | ( | ) | [protected, slot] |
This slot sets up the game set in m_gamePlayed, and activates the game.
KardsGTError | if we fail to create the game. |
void KardsGTInterface::turnOnCrazyEights | ( | ) | [protected, slot] |
This slot starts the Crazy Eights game.
void KardsGTInterface::turnOnCribbage | ( | ) | [protected, slot] |
This slot starts the Cribbage game.
void KardsGTInterface::turnOnEuchre | ( | ) | [protected, slot] |
This slot starts the Euchre game.
void KardsGTInterface::turnOnHearts | ( | ) | [protected, slot] |
This slot starts the Hearts game.
void KardsGTInterface::turnOnOldMaid | ( | ) | [protected, slot] |
This slot starts the Old Maid game.
void KardsGTInterface::turnOnSpades | ( | ) | [protected, slot] |
This slot starts the Spades game.
void KardsGTInterface::turnOnWar | ( | ) | [protected, slot] |
This slot starts the War game.