KExtHighscore::RankItem Class Reference
Inheritance diagram for KExtHighscore::RankItem:
[legend]Collaboration diagram for KExtHighscore::RankItem:
[legend]List of all members.
|
Public Member Functions |
| RankItem () |
QVariant | read (uint rank, const QVariant &) const |
QString | pretty (uint rank, const QVariant &) const |
Detailed Description
Definition at line 45 of file kexthighscore_internal.h.
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:
This file is part of the documentation for libkdegames Library Version 3.4.2.