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

OHighscore Class Reference

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

List of all members.

Public Member Functions

 OHighscore (int, int)
 ~OHighscore ()
void insertData (QString, int, int)
QString getName ()

Public Attributes

bool isNewhighscore
QList< t_playerDataplayerData

Private Member Functions

void getList ()
void checkIfItIsANewhighscore (int)

Private Attributes

int lowest
int pLevel


Constructor & Destructor Documentation

OHighscore::OHighscore int  ,
int 
 

Definition at line 31 of file ohighscoredlg.cpp.

References checkIfItIsANewhighscore(), getList(), playerData, pLevel, and TRUE.

OHighscore::~OHighscore  ) 
 

Definition at line 39 of file ohighscoredlg.cpp.


Member Function Documentation

void OHighscore::checkIfItIsANewhighscore int   )  [private]
 

Definition at line 89 of file ohighscoredlg.cpp.

References isNewhighscore, and lowest.

Referenced by OHighscore().

void OHighscore::getList  )  [private]
 

Definition at line 43 of file ohighscoredlg.cpp.

References i, t_playerData::level, lowest, QString::number(), playerData, t_playerData::points, Config::readEntry(), Config::readNumEntry(), Config::setGroup(), t_playerData::sName, and tr.

Referenced by OHighscore().

QString OHighscore::getName  ) 
 

Definition at line 138 of file ohighscoredlg.cpp.

References d, name, and tr.

Referenced by QTetrix::gameOver().

void OHighscore::insertData QString  ,
int  ,
int 
 

Definition at line 97 of file ohighscoredlg.cpp.

References t_playerData::level, QString::number(), playerData, t_playerData::points, Config::setGroup(), t_playerData::sName, and Config::writeEntry().

Referenced by QTetrix::gameOver().


Member Data Documentation

bool OHighscore::isNewhighscore
 

Definition at line 42 of file ohighscoredlg.h.

Referenced by checkIfItIsANewhighscore(), and QTetrix::gameOver().

int OHighscore::lowest [private]
 

Definition at line 60 of file ohighscoredlg.h.

Referenced by checkIfItIsANewhighscore(), and getList().

QList<t_playerData> OHighscore::playerData
 

Definition at line 49 of file ohighscoredlg.h.

Referenced by OHighscoreDialog::createHighscoreListView(), getList(), insertData(), and OHighscore().

int OHighscore::pLevel [private]
 

Definition at line 65 of file ohighscoredlg.h.

Referenced by OHighscore().


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