libkdegames/highscore
#include <kexthighscore_internal.h>

Public Member Functions | |
| 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) |
| virtual uint | nbEntries () const =0 |
| 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 |
Detailed Description
Manage a bunch of Item which are saved under the same group in KHighscores config file.
Definition at line 132 of file kexthighscore_internal.h.
Constructor & Destructor Documentation
| KExtHighscore::ItemArray::ItemArray | ( | ) |
Definition at line 109 of file kexthighscore_internal.cpp.
|
virtual |
Definition at line 113 of file kexthighscore_internal.cpp.
Member Function Documentation
| void KExtHighscore::ItemArray::addItem | ( | const QString & | name, |
| Item * | item, | ||
| bool | stored = true, |
||
| bool | canHaveSubGroup = false |
||
| ) |
Definition at line 151 of file kexthighscore_internal.cpp.
| void KExtHighscore::ItemArray::exportToText | ( | QTextStream & | s | ) | const |
Definition at line 204 of file kexthighscore_internal.cpp.
| int KExtHighscore::ItemArray::findIndex | ( | const QString & | name | ) | const |
Definition at line 118 of file kexthighscore_internal.cpp.
| const ItemContainer * KExtHighscore::ItemArray::item | ( | const QString & | name | ) | const |
Definition at line 125 of file kexthighscore_internal.cpp.
| ItemContainer * KExtHighscore::ItemArray::item | ( | const QString & | name | ) |
Definition at line 133 of file kexthighscore_internal.cpp.
|
pure virtual |
Implemented in KExtHighscore::PlayerInfos, and KExtHighscore::ScoreInfos.
| void KExtHighscore::ItemArray::read | ( | uint | k, |
| Score & | data | ||
| ) | const |
Definition at line 187 of file kexthighscore_internal.cpp.
| void KExtHighscore::ItemArray::setGroup | ( | const QString & | group | ) |
Definition at line 171 of file kexthighscore_internal.cpp.
| void KExtHighscore::ItemArray::setItem | ( | const QString & | name, |
| Item * | item | ||
| ) |
Definition at line 141 of file kexthighscore_internal.cpp.
| void KExtHighscore::ItemArray::setSubGroup | ( | const QString & | subGroup | ) |
Definition at line 179 of file kexthighscore_internal.cpp.
| void KExtHighscore::ItemArray::write | ( | uint | k, |
| const Score & | data, | ||
| uint | maxNbLines | ||
| ) | const |
Definition at line 195 of file kexthighscore_internal.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:44:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference