libkdegames/highscore
kexthighscore_internal.h
Go to the documentation of this file.
void setGroup(const QString &group)
Definition: kexthighscore_internal.cpp:171
void setSubGroup(const QString &subGroup)
Definition: kexthighscore_internal.cpp:179
bool isWWEnabled() const
Definition: kexthighscore_internal.cpp:379
void submitScore(const Score &) const
Definition: kexthighscore_internal.cpp:399
QString prettyName() const
Definition: kexthighscore_internal.h:198
QVariant read(uint i) const
Definition: kexthighscore_internal.cpp:75
bool isAnonymous() const
Definition: kexthighscore_internal.cpp:361
uint increment(uint i) const
Definition: kexthighscore_internal.cpp:101
KUrl queryUrl(QueryType type, const QString &newName=QLatin1String("")) const
Definition: kexthighscore_internal.cpp:543
uint nbGameTypes() const
Definition: kexthighscore_internal.h:244
This class manages highscores and players entries (several players can share the same highscores list...
Definition: kexthighscore.h:141
~ManagerPrivate()
Definition: kexthighscore_internal.cpp:536
void exportToText(QTextStream &) const
Definition: kexthighscore_internal.cpp:204
SuccessPercentageItem()
Definition: kexthighscore_internal.h:81
ConfigGroup(const QString &group=QLatin1String(""))
Definition: kexthighscore_internal.h:183
bool canHaveSubGroup() const
Definition: kexthighscore_internal.h:106
bool showDrawGames
Definition: kexthighscore_internal.h:257
uint nbEntries() const
Definition: kexthighscore_internal.cpp:248
void exportHighscores(QTextStream &)
Definition: kexthighscore_internal.cpp:853
ScoreInfos & scoreInfos()
Definition: kexthighscore_internal.h:246
uint gameType() const
Definition: kexthighscore_internal.h:243
int histoSize() const
Definition: kexthighscore_internal.cpp:394
void setName(const QString &name)
Definition: kexthighscore_internal.h:99
static const char ANONYMOUS_LABEL[]
Definition: kexthighscore_internal.h:109
QString registeredName() const
Definition: kexthighscore_internal.cpp:493
bool modifySettings(const QString &newName, const QString &comment, bool WWEnabled, QWidget *widget)
Definition: kexthighscore_internal.cpp:695
bool showStatistics
Definition: kexthighscore_internal.h:257
void addItem(const QString &name, Item *, bool stored=true, bool canHaveSubGroup=false)
Definition: kexthighscore_internal.cpp:151
QVariant read(uint i, const QVariant &value) const
Definition: kexthighscore_internal.h:55
bool isNull() const
Score readScore(uint i) const
Definition: kexthighscore_internal.cpp:679
T * data()
int submitScore(const Score &score, QWidget *widget, bool askIfAnonymous)
Definition: kexthighscore_internal.cpp:785
QString number(int n, int base)
bool isWWHSAvailable() const
Definition: kexthighscore_internal.h:245
This class defines how to convert and how to display a highscore element (such as the score...
Definition: kexthighscore_item.h:39
QString prettyName(uint id) const
Definition: kexthighscore_internal.h:199
ShowMode
Enumerate different conditions under which to show the high score dialog.
Definition: kexthighscore.h:215
QString histoName(int i) const
Definition: kexthighscore_internal.cpp:385
const QVector< uint > & histogram() const
Definition: kexthighscore_internal.h:210
ManagerPrivate(uint nbGameTypes, Manager &manager)
Definition: kexthighscore_internal.cpp:522
void setGameType(uint type)
Definition: kexthighscore_internal.cpp:746
QString pretty(uint i, const QVariant &value) const
Definition: kexthighscore_internal.h:56
static const char ANONYMOUS[]
Definition: kexthighscore_internal.h:108
void init(uint maxNbentries)
Definition: kexthighscore_internal.cpp:529
void checkFirst()
Definition: kexthighscore_internal.cpp:780
bool trackLostGames
Definition: kexthighscore_internal.h:257
void write(uint k, const Score &data, uint maxNbLines) const
Definition: kexthighscore_internal.cpp:195
PlayerInfos & playerInfos()
Definition: kexthighscore_internal.h:247
void createHistoItems(const QVector< uint > &scores, bool bound)
Definition: kexthighscore_internal.cpp:352
QString pretty(uint i) const
Definition: kexthighscore_internal.cpp:87
bool isOldLocalPlayer() const
Definition: kexthighscore_internal.h:194
void setGroup(const QString &group)
Definition: kexthighscore_internal.h:102
bool isNameUsed(const QString &name) const
Definition: kexthighscore_internal.cpp:467
bool isStored() const
Definition: kexthighscore_internal.h:103
ScoreInfos(uint maxNbEntries, const PlayerInfos &infos)
Definition: kexthighscore_internal.cpp:238
void modifySettings(const QString &newName, const QString &comment, bool WWEnabled, const QString &newKey) const
Definition: kexthighscore_internal.cpp:481
uint oldLocalId() const
Definition: kexthighscore_internal.h:205
void read(uint k, Score &data) const
Definition: kexthighscore_internal.cpp:187
virtual uint nbEntries() const =0
void write(uint i, const QVariant &value) const
Definition: kexthighscore_internal.cpp:93
uint maxNbEntries() const
Definition: kexthighscore_internal.h:173
bool trackDrawGames
Definition: kexthighscore_internal.h:257
Manager::ShowMode showMode
Definition: kexthighscore_internal.h:258
int findIndex(const QString &name) const
Definition: kexthighscore_internal.cpp:118
uint nbEntries() const
Definition: kexthighscore_internal.cpp:366
int submitLocal(const Score &score)
Definition: kexthighscore_internal.cpp:825
KHighscore & hsConfig()
Definition: kexthighscore_internal.h:248
void modifyName(const QString &newName) const
Definition: kexthighscore_internal.cpp:476
void setItem(Item *item)
Definition: kexthighscore_internal.cpp:63
void setPrettySpecial(Special special)
Set the special value for display.
Definition: kexthighscore_item.cpp:77
const ItemContainer * item(const QString &name) const
Definition: kexthighscore_internal.cpp:125
QString toString() const
void setItem(const QString &name, Item *)
Definition: kexthighscore_internal.cpp:141
~ItemContainer()
Definition: kexthighscore_internal.cpp:58
bool isNewPlayer() const
Definition: kexthighscore_internal.h:193
void setSubGroup(const QString &subGroup)
Definition: kexthighscore_internal.h:105
Manage a bunch of Item which are saved under the same group in KHighscores config file...
Definition: kexthighscore_internal.h:132
This file is part of the KDE documentation.
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
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.