TDEConfigSkeleton::ItemEnum Class Reference
#include <tdeconfigskeleton.h>
Inheritance diagram for TDEConfigSkeleton::ItemEnum:

Public Member Functions | |
ItemEnum (const TQString &group, const TQString &key, int &reference, const TQValueList< Choice > &choices, int defaultValue=0) | |
TQValueList< Choice > | choices () const |
void | readConfig (TDEConfig *config) |
void | writeConfig (TDEConfig *config) |
![]() | |
ItemInt (const TQString &group, const TQString &key, int &reference, int defaultValue=0) | |
void | setProperty (const TQVariant &p) |
TQVariant | property () const |
TQVariant | minValue () const |
TQVariant | maxValue () const |
void | setMinValue (int) |
void | setMaxValue (int) |
![]() | |
TDEConfigSkeletonGenericItem (const TQString &group, const TQString &key, T &reference, T defaultValue) | |
void | setValue (const T &v) |
T & | value () |
const T & | value () const |
virtual void | setDefaultValue (const T &v) |
virtual void | setDefault () |
virtual void | writeConfig (TDEConfig *config) |
void | readDefault (TDEConfig *config) |
void | swapDefault () |
![]() | |
TDEConfigSkeletonItem (const TQString &group, const TQString &key) | |
virtual | ~TDEConfigSkeletonItem () |
void | setGroup (const TQString &group) |
TQString | group () const |
void | setKey (const TQString &key) |
TQString | key () const |
void | setName (const TQString &name) |
TQString | name () const |
void | setLabel (const TQString &l) |
TQString | label () const |
void | setWhatsThis (const TQString &w) |
TQString | whatsThis () const |
virtual void | readDefault (TDEConfig *)=0 |
virtual void | setDefault ()=0 |
virtual void | swapDefault ()=0 |
bool | isImmutable () const |
Additional Inherited Members | |
![]() | |
typedef TQValueList < TDEConfigSkeletonItem * > | List |
typedef TQDict < TDEConfigSkeletonItem > | Dict |
typedef TQDictIterator < TDEConfigSkeletonItem > | DictIterator |
![]() | |
void | readImmutability (TDEConfig *config) |
![]() | |
T & | mReference |
T | mDefault |
T | mLoadedValue |
Detailed Description
Class for handling enums.
Definition at line 498 of file tdeconfigskeleton.h.
Member Function Documentation
|
virtual |
This function is called by TDEConfigSkeleton to read the value for this setting from a config file.
value.
Reimplemented from TDEConfigSkeleton::ItemInt.
Definition at line 289 of file tdeconfigskeleton.cpp.
|
virtual |
This function is called by TDEConfigSkeleton to write the value of this setting to a config file.
Implements TDEConfigSkeletonItem.
Definition at line 318 of file tdeconfigskeleton.cpp.
The documentation for this class was generated from the following files: