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) |
Public Member Functions inherited from TDEConfigSkeleton::ItemInt | |
| ItemInt (const TQString &group, const TQString &key, int &reference, int defaultValue=0) | |
| void | readConfig (TDEConfig *config) |
| void | setProperty (const TQVariant &p) |
| TQVariant | property () const |
| TQVariant | minValue () const |
| TQVariant | maxValue () const |
| void | setMinValue (int) |
| void | setMaxValue (int) |
Detailed Description
Class for handling enums.
Definition at line 498 of file tdeconfigskeleton.h.
Constructor & Destructor Documentation
◆ ItemEnum()
| TDEConfigSkeleton::ItemEnum::ItemEnum | ( | const TQString & | group, |
| const TQString & | key, | ||
| int & | reference, | ||
| const TQValueList< Choice > & | choices, | ||
| int | defaultValue = 0 |
||
| ) |
Definition at line 281 of file tdeconfigskeleton.cpp.
Member Function Documentation
◆ choices()
| TQValueList< TDEConfigSkeleton::ItemEnum::Choice > TDEConfigSkeleton::ItemEnum::choices | ( | ) | const |
Definition at line 332 of file tdeconfigskeleton.cpp.
◆ readConfig()
|
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.
◆ writeConfig()
|
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:
Trinity API Reference
Public Member Functions inherited from