KExtHighscore Namespace Reference
Classes | |
| class | Manager |
| This class manages highscores and players entries (several players can share the same highscores list if the libkdegame library is built to support a common highscores file; NOTE that to correctly implement such feature we probably need a locking mechanism in KHighscore). More... | |
| class | ShowItem |
| class | ScoresList |
| class | HighscoresList |
| class | HighscoresWidget |
| class | HighscoresDialog |
| class | LastMultipleScoresList |
| class | TotalMultipleScoresList |
| class | ConfigDialog |
| class | AskNameDialog |
| class | RankItem |
| class | NameItem |
| class | DateItem |
| class | SuccessPercentageItem |
| class | ItemContainer |
| class | ItemArray |
| Manage a bunch of Item which are saved under the same group in KHighscores config file. More... | |
| class | ScoreInfos |
| class | ConfigGroup |
| class | PlayerInfos |
| class | ManagerPrivate |
| class | Item |
| This class defines how to convert and how to display a highscore element (such as the score, the date, . More... | |
| class | Score |
| This class contains data for a score. More... | |
| class | MultiplayerScores |
| This class is used to store and show scores for multiplayer games. More... | |
| class | PlayersCombo |
| class | AdditionalTab |
| class | StatisticsTab |
| class | HistogramTab |
Enumerations | |
| enum | ScoreType { Won = 0, Lost = -1, Draw = -2 } |
Functions | |
| uint | gameType () |
| void | setGameType (uint gameType) |
| bool | configure (QWidget *parent) |
| void | show (QWidget *parent, int rank) |
| void | submitScore (const Score &score, QWidget *widget) |
| void | show (QWidget *parent) |
| Score | lastScore () |
| Score | firstScore () |
| QDataStream & | operator<< (QDataStream &s, const Score &score) |
| QDataStream & | operator>> (QDataStream &s, Score &score) |
| QDataStream & | operator<< (QDataStream &s, const MultiplayerScores &score) |
| QDataStream & | operator>> (QDataStream &s, MultiplayerScores &score) |
Variables | |
| ManagerPrivate * | internal = 0 |
| const char * | HS_ID = "player id" |
| const char * | HS_REGISTERED_NAME = "registered name" |
| const char * | HS_KEY = "player key" |
| const char * | HS_WW_ENABLED = "ww hs enabled" |
| const char * | DUMMY_STRINGS [] |
| const char * | UNABLE_TO_CONTACT |
Enumeration Type Documentation
|
|
Possible score type.
Definition at line 169 of file kexthighscore_item.h. |
Function Documentation
|
|
Configure the highscores.
Definition at line 47 of file kexthighscore.cpp. |
|
|
Definition at line 98 of file kexthighscore.cpp. |
|
|
Get the current game type.
Definition at line 36 of file kexthighscore.cpp. |
|
|
Definition at line 90 of file kexthighscore.cpp. |
|
|
Set the current game type.
Definition at line 42 of file kexthighscore.cpp. |
|
|
Show the highscores lists.
Definition at line 84 of file kexthighscore.cpp. |
|
||||||||||||
|
Submit a score. See Manager for usage example.
Definition at line 64 of file kexthighscore.cpp. |
Variable Documentation
|
|
Initial value: {
I18N_NOOP("Undefined error."),
I18N_NOOP("Missing argument(s)."),
I18N_NOOP("Invalid argument(s)."),
I18N_NOOP("Unable to connect to MySQL server."),
I18N_NOOP("Unable to select database."),
I18N_NOOP("Error on database query."),
I18N_NOOP("Error on database insert."),
I18N_NOOP("Nickname already registered."),
I18N_NOOP("Nickname not registered."),
I18N_NOOP("Invalid key."),
I18N_NOOP("Invalid submit key."),
I18N_NOOP("Invalid level."),
}
Definition at line 583 of file kexthighscore_internal.cpp. |
|
|
Initial value:
I18N_NOOP("Unable to contact world-wide highscore server")
Definition at line 602 of file kexthighscore_internal.cpp. |

