Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CardGame Class Reference

#include </home/clem/local/src/opie/noncore/games/solitaire/cardgame.h>

Inheritance diagram for CardGame:

Inheritance graph
[legend]
Collaboration diagram for CardGame:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CardGame (int numOfJokers=0, int numOfDecks=1)
virtual ~CardGame ()
virtual void newGame ()
virtual void mousePress (QPoint p)
virtual void mouseRelease (QPoint p)
virtual void mouseMove (QPoint p)

Constructor & Destructor Documentation

CardGame::CardGame int  numOfJokers = 0,
int  numOfDecks = 1
[inline]
 

Definition at line 34 of file cardgame.h.

virtual CardGame::~CardGame  )  [inline, virtual]
 

Definition at line 35 of file cardgame.h.


Member Function Documentation

virtual void CardGame::mouseMove QPoint  p  )  [inline, virtual]
 

Definition at line 39 of file cardgame.h.

virtual void CardGame::mousePress QPoint  p  )  [inline, virtual]
 

Reimplemented in ChicaneCardGame, FreecellCardGame, HarpCardGame, PatienceCardGame, and TeeclubCardGame.

Definition at line 37 of file cardgame.h.

Referenced by CanvasCardGame::contentsMousePressEvent().

virtual void CardGame::mouseRelease QPoint  p  )  [inline, virtual]
 

Reimplemented in ChicaneCardGame, FreecellCardGame, HarpCardGame, PatienceCardGame, and TeeclubCardGame.

Definition at line 38 of file cardgame.h.

void CardGame::newGame  )  [virtual]
 

Definition at line 23 of file cardgame.cpp.

References CardDeck::createDeck(), CardDeck::deal(), and CardDeck::shuffle().

Referenced by CanvasCardWindow::initChicane(), CanvasCardWindow::initFreecell(), CanvasCardWindow::initHarp(), CanvasCardWindow::initPatience(), CanvasCardWindow::initTeeclub(), and PatienceCardGame::readConfig().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:28:00 2005 for OPIE by  doxygen 1.4.2