libkdegames/highscore
#include <kexthighscore_internal.h>
Public Member Functions | |
PlayerInfos () | |
QString | comment () const |
void | createHistoItems (const QVector< uint > &scores, bool bound) |
const QVector< uint > & | histogram () const |
QString | histoName (int i) const |
int | histoSize () const |
uint | id () const |
bool | isAnonymous () const |
bool | isNameUsed (const QString &name) const |
bool | isNewPlayer () const |
bool | isOldLocalPlayer () const |
bool | isWWEnabled () const |
QString | key () const |
void | modifyName (const QString &newName) const |
void | modifySettings (const QString &newName, const QString &comment, bool WWEnabled, const QString &newKey) const |
QString | name () const |
uint | nbEntries () const |
uint | oldLocalId () const |
QString | prettyName () const |
QString | prettyName (uint id) const |
QString | registeredName () const |
void | removeKey () |
void | submitScore (const Score &) const |
Public Member Functions inherited from KExtHighscore::ItemArray | |
ItemArray () | |
virtual | ~ItemArray () |
void | addItem (const QString &name, Item *, bool stored=true, bool canHaveSubGroup=false) |
void | exportToText (QTextStream &) const |
int | findIndex (const QString &name) const |
const ItemContainer * | item (const QString &name) const |
ItemContainer * | item (const QString &name) |
void | read (uint k, Score &data) const |
void | setGroup (const QString &group) |
void | setItem (const QString &name, Item *) |
void | setSubGroup (const QString &subGroup) |
void | write (uint k, const Score &data, uint maxNbLines) const |
Public Member Functions inherited from QVector< ItemContainer * > | |
QVector () | |
QVector (int size) | |
QVector (const QVector< T > &other) | |
QVector (std::initializer_list< T > args) | |
QVector (int size, const T &value) | |
~QVector () | |
void | append (const T &value) |
const T & | at (int i) const |
const_reference | back () const |
reference | back () |
iterator | begin () |
const_iterator | begin () const |
int | capacity () const |
void | clear () |
const_iterator | constBegin () const |
const T * | constData () const |
const_iterator | constEnd () const |
bool | contains (const T &value) const |
int | count (const T &value) const |
int | count () const |
T * | data () |
const T * | data () const |
bool | empty () const |
iterator | end () |
const_iterator | end () const |
bool | endsWith (const T &value) const |
iterator | erase (iterator begin, iterator end) |
iterator | erase (iterator pos) |
QVector< T > & | fill (const T &value, int size) |
T & | first () |
const T & | first () const |
T & | front () |
const_reference | front () const |
int | indexOf (const T &value, int from) const |
void | insert (int i, const T &value) |
void | insert (int i, int count, const T &value) |
iterator | insert (iterator before, int count, const T &value) |
iterator | insert (iterator before, const T &value) |
bool | isEmpty () const |
T & | last () |
const T & | last () const |
int | lastIndexOf (const T &value, int from) const |
QVector< T > | mid (int pos, int length) const |
bool | operator!= (const QVector< T > &other) const |
QVector< T > | operator+ (const QVector< T > &other) const |
QVector< T > & | operator+= (const QVector< T > &other) |
QVector< T > & | operator+= (const T &value) |
QVector< T > & | operator<< (const T &value) |
QVector< T > & | operator<< (const QVector< T > &other) |
QVector< T > & | operator= (const QVector< T > &other) |
bool | operator== (const QVector< T > &other) const |
T & | operator[] (int i) |
const T & | operator[] (int i) const |
void | pop_back () |
void | pop_front () |
void | prepend (const T &value) |
void | push_back (const T &value) |
void | push_front (const T &value) |
void | remove (int i) |
void | remove (int i, int count) |
void | replace (int i, const T &value) |
void | reserve (int size) |
void | resize (int size) |
int | size () const |
void | squeeze () |
bool | startsWith (const T &value) const |
void | swap (QVector< T > &other) |
QList< T > | toList () const |
std::vector< T > | toStdVector () const |
T | value (int i) const |
T | value (int i, const T &defaultValue) const |
Additional Inherited Members | |
Static Public Member Functions inherited from QVector< ItemContainer * > | |
QVector< T > | fromList (const QList< T > &list) |
QVector< T > | fromStdVector (const std::vector< T > &vector) |
Public Attributes inherited from QVector< ItemContainer * > | |
typedef | const_pointer |
typedef | const_reference |
typedef | ConstIterator |
typedef | difference_type |
typedef | Iterator |
typedef | pointer |
typedef | reference |
typedef | size_type |
typedef | value_type |
Detailed Description
Definition at line 188 of file kexthighscore_internal.h.
Constructor & Destructor Documentation
KExtHighscore::PlayerInfos::PlayerInfos | ( | ) |
Definition at line 263 of file kexthighscore_internal.cpp.
Member Function Documentation
|
inline |
Definition at line 201 of file kexthighscore_internal.h.
void KExtHighscore::PlayerInfos::createHistoItems | ( | const QVector< uint > & | scores, |
bool | bound | ||
) |
Definition at line 352 of file kexthighscore_internal.cpp.
|
inline |
Definition at line 210 of file kexthighscore_internal.h.
QString KExtHighscore::PlayerInfos::histoName | ( | int | i | ) | const |
Definition at line 385 of file kexthighscore_internal.cpp.
int KExtHighscore::PlayerInfos::histoSize | ( | ) | const |
Definition at line 394 of file kexthighscore_internal.cpp.
|
inline |
Definition at line 204 of file kexthighscore_internal.h.
bool KExtHighscore::PlayerInfos::isAnonymous | ( | ) | const |
Definition at line 361 of file kexthighscore_internal.cpp.
bool KExtHighscore::PlayerInfos::isNameUsed | ( | const QString & | name | ) | const |
Definition at line 467 of file kexthighscore_internal.cpp.
|
inline |
Definition at line 193 of file kexthighscore_internal.h.
|
inline |
Definition at line 194 of file kexthighscore_internal.h.
bool KExtHighscore::PlayerInfos::isWWEnabled | ( | ) | const |
Definition at line 379 of file kexthighscore_internal.cpp.
QString KExtHighscore::PlayerInfos::key | ( | ) | const |
Definition at line 373 of file kexthighscore_internal.cpp.
void KExtHighscore::PlayerInfos::modifyName | ( | const QString & | newName | ) | const |
Definition at line 476 of file kexthighscore_internal.cpp.
void KExtHighscore::PlayerInfos::modifySettings | ( | const QString & | newName, |
const QString & | comment, | ||
bool | WWEnabled, | ||
const QString & | newKey | ||
) | const |
Definition at line 481 of file kexthighscore_internal.cpp.
|
inline |
Definition at line 196 of file kexthighscore_internal.h.
|
virtual |
Implements KExtHighscore::ItemArray.
Definition at line 366 of file kexthighscore_internal.cpp.
|
inline |
Definition at line 205 of file kexthighscore_internal.h.
|
inline |
Definition at line 198 of file kexthighscore_internal.h.
|
inline |
Definition at line 199 of file kexthighscore_internal.h.
QString KExtHighscore::PlayerInfos::registeredName | ( | ) | const |
Definition at line 493 of file kexthighscore_internal.cpp.
void KExtHighscore::PlayerInfos::removeKey | ( | ) |
Definition at line 499 of file kexthighscore_internal.cpp.
void KExtHighscore::PlayerInfos::submitScore | ( | const Score & | score | ) | const |
Definition at line 399 of file kexthighscore_internal.cpp.
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.