KExtHighscore::ItemContainer Class Reference

#include <kexthighscore_internal.h>

Collaboration diagram for KExtHighscore::ItemContainer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ItemContainer ()
 ~ItemContainer ()
void setItem (Item *item)
const Itemitem () const
Itemitem ()
void setName (const QString &name)
QString name () const
void setGroup (const QString &group)
bool isStored () const
void setSubGroup (const QString &subGroup)
bool canHaveSubGroup () const
QVariant read (uint i) const
QString pretty (uint i) const
void write (uint i, const QVariant &value) const
uint increment (uint i) const

Static Public Attributes

static const char ANONYMOUS [] = "_"
static const char ANONYMOUS_LABEL [] = I18N_NOOP("anonymous")

Detailed Description

Definition at line 85 of file kexthighscore_internal.h.


Constructor & Destructor Documentation

KExtHighscore::ItemContainer::ItemContainer  ) 
 

Definition at line 50 of file kexthighscore_internal.cpp.

KExtHighscore::ItemContainer::~ItemContainer  ) 
 

Definition at line 54 of file kexthighscore_internal.cpp.


Member Function Documentation

bool KExtHighscore::ItemContainer::canHaveSubGroup  )  const [inline]
 

Definition at line 102 of file kexthighscore_internal.h.

uint KExtHighscore::ItemContainer::increment uint  i  )  const
 

Definition at line 97 of file kexthighscore_internal.cpp.

References read(), and write().

Referenced by KExtHighscore::PlayerInfos::submitScore().

Here is the call graph for this function:

bool KExtHighscore::ItemContainer::isStored  )  const [inline]
 

Definition at line 99 of file kexthighscore_internal.h.

Referenced by read(), and write().

Item* KExtHighscore::ItemContainer::item  )  [inline]
 

Definition at line 93 of file kexthighscore_internal.h.

const Item* KExtHighscore::ItemContainer::item  )  const [inline]
 

Definition at line 92 of file kexthighscore_internal.h.

Referenced by KExtHighscore::ItemArray::exportToText(), KExtHighscore::HistogramTab::HistogramTab(), setItem(), KExtHighscore::Manager::setPlayerItem(), and KExtHighscore::Manager::setScoreItem().

QString KExtHighscore::ItemContainer::name  )  const [inline]
 

Definition at line 96 of file kexthighscore_internal.h.

QString KExtHighscore::ItemContainer::pretty uint  i  )  const
 

Definition at line 83 of file kexthighscore_internal.cpp.

References KExtHighscore::Item::pretty(), and read().

Referenced by KExtHighscore::PlayerInfos::comment(), KExtHighscore::ItemArray::exportToText(), KExtHighscore::HighscoresList::itemText(), and KExtHighscore::PlayerInfos::prettyName().

Here is the call graph for this function:

QVariant KExtHighscore::ItemContainer::read uint  i  )  const
 

Definition at line 71 of file kexthighscore_internal.cpp.

References KExtHighscore::Item::defaultValue(), KExtHighscore::ManagerPrivate::hsConfig(), KExtHighscore::internal, isStored(), KExtHighscore::Item::read(), KHighscore::readPropertyEntry(), and KHighscore::setHighscoreGroup().

Referenced by increment(), KExtHighscore::PlayerInfos::isNameUsed(), KExtHighscore::StatisticsTab::load(), KExtHighscore::PlayerInfos::name(), KExtHighscore::ScoreNameItem::pretty(), and pretty().

Here is the call graph for this function:

void KExtHighscore::ItemContainer::setGroup const QString &  group  )  [inline]
 

Definition at line 98 of file kexthighscore_internal.h.

void KExtHighscore::ItemContainer::setItem Item item  ) 
 

Definition at line 59 of file kexthighscore_internal.cpp.

References item().

Here is the call graph for this function:

void KExtHighscore::ItemContainer::setName const QString &  name  )  [inline]
 

Definition at line 95 of file kexthighscore_internal.h.

void KExtHighscore::ItemContainer::setSubGroup const QString &  subGroup  )  [inline]
 

Definition at line 101 of file kexthighscore_internal.h.

void KExtHighscore::ItemContainer::write uint  i,
const QVariant &  value
const
 

Definition at line 89 of file kexthighscore_internal.cpp.

References KExtHighscore::ManagerPrivate::hsConfig(), KExtHighscore::internal, KHighscore::isLocked(), isStored(), KHighscore::setHighscoreGroup(), and KHighscore::writeEntry().

Referenced by increment(), KExtHighscore::PlayerInfos::modifyName(), and KExtHighscore::PlayerInfos::modifySettings().

Here is the call graph for this function:


Member Data Documentation

const char KExtHighscore::ItemContainer::ANONYMOUS = "_" [static]
 

Definition at line 104 of file kexthighscore_internal.h.

Referenced by KExtHighscore::PlayerInfos::isAnonymous(), and KExtHighscore::Item::pretty().

const char KExtHighscore::ItemContainer::ANONYMOUS_LABEL = I18N_NOOP("anonymous") [static]
 

Definition at line 105 of file kexthighscore_internal.h.

Referenced by KExtHighscore::PlayerInfos::isNameUsed(), and KExtHighscore::Item::pretty().


The documentation for this class was generated from the following files:
Generated on Wed Aug 23 18:06:21 2006 for libkdegames by  doxygen 1.4.6