• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

libkdegames/highscore

KExtHighscore::RankItem

KExtHighscore::RankItem Class Reference

#include <kexthighscore_internal.h>

Inheritance diagram for KExtHighscore::RankItem:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 49 of file kexthighscore_internal.h.


Public Member Functions

QString pretty (uint i, const QVariant &value) const
 RankItem ()
QVariant read (uint i, const QVariant &value) const

Constructor & Destructor Documentation

KExtHighscore::RankItem::RankItem (  )  [inline]

Definition at line 52 of file kexthighscore_internal.h.


Member Function Documentation

QString KExtHighscore::RankItem::pretty ( uint  i,
const QVariant &  value 
) 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 56 of file kexthighscore_internal.h.

QVariant KExtHighscore::RankItem::read ( uint  i,
const QVariant &  value 
) 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 55 of file kexthighscore_internal.h.


The documentation for this class was generated from the following file:
  • kexthighscore_internal.h

libkdegames/highscore

Skip menu "libkdegames/highscore"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • kblackbox
  • kgoldrunner
  • kmahjongg
  • ksquares
  • libkdegames
  •   highscore
  •   kgame
  •   kggzgames
  •   kggzmod
  •   kggznet
  • libkmahjongg
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal