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

BuzzWord Class Reference

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

List of all members.

Public Slots

void newGame ()
void clicked (int row, int column)

Public Member Functions

 BuzzWord (QWidget *parent=0, const char *name=0, WFlags fl=0)

Static Public Member Functions

static QString appName ()

Private Member Functions

void drawGrid ()
void bingo ()
QString getWord ()

Private Attributes

QMenuBar * menu
QPopupMenu * game
QGrid * grid
int gridVal
int map [4][4]
bool gameOver


Constructor & Destructor Documentation

BuzzWord::BuzzWord QWidget *  parent = 0,
const char *  name = 0,
WFlags  fl = 0
 

Definition at line 70 of file buzzword.cpp.

References game, gameOver, grid, gridVal, Key_N, newGame(), NULL, and tr.


Member Function Documentation

static QString BuzzWord::appName  )  [inline, static]
 

Definition at line 68 of file buzzword.h.

References QString::fromLatin1().

void BuzzWord::bingo  )  [private]
 

Definition at line 169 of file buzzword.cpp.

References gameOver, and tr.

Referenced by clicked().

void BuzzWord::clicked int  row,
int  column
[slot]
 

Definition at line 122 of file buzzword.cpp.

References bingo(), gameOver, gridVal, and map.

Referenced by drawGrid().

void BuzzWord::drawGrid  )  [private]
 

Definition at line 85 of file buzzword.cpp.

References QValueList< T >::at(), QTextStream::atEnd(), clicked(), f, grid, gridVal, IO_ReadOnly, l, map, QFile::open(), pos, QPEApplication::qpeDir(), QTextStream::readLine(), QValueList< T >::remove(), QStringList::split(), and t.

Referenced by newGame().

QString BuzzWord::getWord  )  [private]
 

void BuzzWord::newGame  )  [slot]
 

Definition at line 175 of file buzzword.cpp.

References drawGrid(), gameOver, and grid.

Referenced by BuzzWord().


Member Data Documentation

QPopupMenu* BuzzWord::game [private]
 

Definition at line 76 of file buzzword.h.

Referenced by BuzzWord().

bool BuzzWord::gameOver [private]
 

Definition at line 81 of file buzzword.h.

Referenced by bingo(), BuzzWord(), clicked(), and newGame().

QGrid* BuzzWord::grid [private]
 

Definition at line 77 of file buzzword.h.

Referenced by BuzzWord(), drawGrid(), and newGame().

int BuzzWord::gridVal [private]
 

Definition at line 79 of file buzzword.h.

Referenced by BuzzWord(), clicked(), and drawGrid().

int BuzzWord::map[4][4] [private]
 

Definition at line 80 of file buzzword.h.

Referenced by clicked(), and drawGrid().

QMenuBar* BuzzWord::menu [private]
 

Definition at line 75 of file buzzword.h.


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