KExtHighscore::RankItem Class Reference
Inheritance diagram for KExtHighscore::RankItem:

Detailed Description
Definition at line 45 of file kexthighscore_internal.h.
Public Member Functions | |
RankItem () | |
QVariant | read (uint rank, const QVariant &) const |
QString | pretty (uint rank, const QVariant &) const |
Member Function Documentation
QVariant KExtHighscore::RankItem::read | ( | uint | rank, | |
const QVariant & | ||||
) | const [inline, virtual] |
- Returns:
- the converted value (by default the value is left unchanged).
Most of the time you don't need to reimplement this method.
- Parameters:
-
i the element index ("rank" for score / "id" for player) value the value to convert
Reimplemented from KExtHighscore::Item.
Definition at line 51 of file kexthighscore_internal.h.
QString KExtHighscore::RankItem::pretty | ( | uint | rank, | |
const QVariant & | ||||
) | const [inline, virtual] |
- Returns:
- the string to be displayed.
You may need to reimplement this method for special formatting (different from the standard ones).
- Parameters:
-
i the element index ("rank" for score / "id" for player) value the value to convert
Reimplemented from KExtHighscore::Item.
Definition at line 52 of file kexthighscore_internal.h.
The documentation for this class was generated from the following file: