libkdegames Library API Documentation

KExtHighscore::RankItem Class Reference

Inheritance diagram for KExtHighscore::RankItem:

Inheritance graph
[legend]
Collaboration diagram for KExtHighscore::RankItem:

Collaboration graph
[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:
KDE Logo
This file is part of the documentation for libkdegames Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Sep 12 05:18:13 2005 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003