libkdegames/highscore
#include <kexthighscore_internal.h>
Public Types | |
enum | QueryType { Submit, Register, Change, Players, Scores } |
Public Member Functions | |
ManagerPrivate (uint nbGameTypes, Manager &manager) | |
~ManagerPrivate () | |
void | checkFirst () |
void | exportHighscores (QTextStream &) |
uint | gameType () const |
KHighscore & | hsConfig () |
void | init (uint maxNbentries) |
bool | isWWHSAvailable () const |
bool | modifySettings (const QString &newName, const QString &comment, bool WWEnabled, QWidget *widget) |
uint | nbGameTypes () const |
PlayerInfos & | playerInfos () |
KUrl | queryUrl (QueryType type, const QString &newName=QLatin1String("")) const |
Score | readScore (uint i) const |
ScoreInfos & | scoreInfos () |
void | setGameType (uint type) |
int | submitLocal (const Score &score) |
int | submitScore (const Score &score, QWidget *widget, bool askIfAnonymous) |
Public Attributes | |
Manager & | manager |
KUrl | serverURL |
bool | showDrawGames |
Manager::ShowMode | showMode |
bool | showStatistics |
bool | trackDrawGames |
bool | trackLostGames |
QString | version |
Detailed Description
Definition at line 227 of file kexthighscore_internal.h.
Member Enumeration Documentation
Enumerator | |
---|---|
Submit | |
Register | |
Change | |
Players | |
Scores |
Definition at line 249 of file kexthighscore_internal.h.
Constructor & Destructor Documentation
KExtHighscore::ManagerPrivate::ManagerPrivate | ( | uint | nbGameTypes, |
Manager & | manager | ||
) |
Definition at line 522 of file kexthighscore_internal.cpp.
KExtHighscore::ManagerPrivate::~ManagerPrivate | ( | ) |
Definition at line 536 of file kexthighscore_internal.cpp.
Member Function Documentation
void KExtHighscore::ManagerPrivate::checkFirst | ( | ) |
Definition at line 780 of file kexthighscore_internal.cpp.
void KExtHighscore::ManagerPrivate::exportHighscores | ( | QTextStream & | s | ) |
Definition at line 853 of file kexthighscore_internal.cpp.
|
inline |
Definition at line 243 of file kexthighscore_internal.h.
|
inline |
Definition at line 248 of file kexthighscore_internal.h.
void KExtHighscore::ManagerPrivate::init | ( | uint | maxNbentries | ) |
Definition at line 529 of file kexthighscore_internal.cpp.
|
inline |
Definition at line 245 of file kexthighscore_internal.h.
bool KExtHighscore::ManagerPrivate::modifySettings | ( | const QString & | newName, |
const QString & | comment, | ||
bool | WWEnabled, | ||
QWidget * | widget | ||
) |
Definition at line 695 of file kexthighscore_internal.cpp.
|
inline |
Definition at line 244 of file kexthighscore_internal.h.
|
inline |
Definition at line 247 of file kexthighscore_internal.h.
KUrl KExtHighscore::ManagerPrivate::queryUrl | ( | QueryType | type, |
const QString & | newName = QLatin1String("") |
||
) | const |
Definition at line 543 of file kexthighscore_internal.cpp.
Score KExtHighscore::ManagerPrivate::readScore | ( | uint | i | ) | const |
Definition at line 679 of file kexthighscore_internal.cpp.
|
inline |
Definition at line 246 of file kexthighscore_internal.h.
void KExtHighscore::ManagerPrivate::setGameType | ( | uint | type | ) |
Definition at line 746 of file kexthighscore_internal.cpp.
int KExtHighscore::ManagerPrivate::submitLocal | ( | const Score & | score | ) |
Definition at line 825 of file kexthighscore_internal.cpp.
int KExtHighscore::ManagerPrivate::submitScore | ( | const Score & | score, |
QWidget * | widget, | ||
bool | askIfAnonymous | ||
) |
Definition at line 785 of file kexthighscore_internal.cpp.
Member Data Documentation
Manager& KExtHighscore::ManagerPrivate::manager |
Definition at line 254 of file kexthighscore_internal.h.
KUrl KExtHighscore::ManagerPrivate::serverURL |
Definition at line 255 of file kexthighscore_internal.h.
bool KExtHighscore::ManagerPrivate::showDrawGames |
Definition at line 257 of file kexthighscore_internal.h.
Manager::ShowMode KExtHighscore::ManagerPrivate::showMode |
Definition at line 258 of file kexthighscore_internal.h.
bool KExtHighscore::ManagerPrivate::showStatistics |
Definition at line 257 of file kexthighscore_internal.h.
bool KExtHighscore::ManagerPrivate::trackDrawGames |
Definition at line 257 of file kexthighscore_internal.h.
bool KExtHighscore::ManagerPrivate::trackLostGames |
Definition at line 257 of file kexthighscore_internal.h.
QString KExtHighscore::ManagerPrivate::version |
Definition at line 256 of file kexthighscore_internal.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:18:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.