kdecore Library API Documentation

KConfigSkeleton::ItemEnum Class Reference

Class for handling enums. More...

#include <kconfigskeleton.h>

Inheritance diagram for KConfigSkeleton::ItemEnum:

KConfigSkeleton::ItemInt List of all members.

Public Methods

void readConfig (KConfig *config)
void writeConfig (KConfig *config)

Detailed Description

Class for handling enums.

Definition at line 494 of file kconfigskeleton.h.


Member Function Documentation

void KConfigSkeleton::ItemEnum::readConfig KConfig   config [virtual]
 

This function is called by KConfigSkeleton to read the value for this setting from a config file.

value.

Reimplemented from KConfigSkeleton::ItemInt.

Definition at line 289 of file kconfigskeleton.cpp.

References QValueList< Choice >::begin(), KConfigSkeleton::config(), QValueList< Choice >::end(), KConfigBase::hasKey(), QString::lower(), KConfigBase::readEntry(), KConfigBase::readNumEntry(), and KConfigBase::setGroup().

void KConfigSkeleton::ItemEnum::writeConfig KConfig   config [virtual]
 

This function is called by KConfigSkeleton to write the value of this setting to a config file.

Implements KConfigSkeletonItem.

Definition at line 318 of file kconfigskeleton.cpp.

References KConfigSkeleton::config(), QValueList< Choice >::count(), KConfigBase::hasDefault(), KConfigSkeletonItem::name(), KConfigBase::revertToDefault(), KConfigBase::setGroup(), and KConfigBase::writeEntry().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdecore Library Version 3.2.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Feb 4 12:33:55 2004 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2003