KConfigSkeletonItem Class Reference
Class for storing a preferences setting. More...
#include <kconfigskeleton.h>
Collaboration diagram for KConfigSkeletonItem:

| Public Types | |
| typedef QValueList< KConfigSkeletonItem * > | List | 
| typedef QDict< KConfigSkeletonItem > | Dict | 
| typedef QDictIterator< KConfigSkeletonItem > | DictIterator | 
| Public Member Functions | |
| KConfigSkeletonItem (const QString &group, const QString &key) | |
| virtual | ~KConfigSkeletonItem () | 
| void | setGroup (const QString &group) | 
| QString | group () const | 
| void | setKey (const QString &key) | 
| QString | key () const | 
| void | setName (const QString &name) | 
| QString | name () const | 
| void | setLabel (const QString &l) | 
| QString | label () const | 
| void | setWhatsThis (const QString &w) | 
| QString | whatsThis () const | 
| virtual void | readConfig (KConfig *)=0 | 
| virtual void | writeConfig (KConfig *)=0 | 
| virtual void | readDefault (KConfig *)=0 | 
| virtual void | setProperty (const QVariant &p)=0 | 
| virtual QVariant | property () const=0 | 
| virtual QVariant | minValue () const | 
| virtual QVariant | maxValue () const | 
| virtual void | setDefault ()=0 | 
| virtual void | swapDefault ()=0 | 
| bool | isImmutable () const | 
| Protected Member Functions | |
| void | readImmutability (KConfig *) | 
| Protected Attributes | |
| QString | mGroup | 
| QString | mKey | 
| QString | mName | 
Detailed Description
Class for storing a preferences setting.
- Author:
- Cornelius Schumacher
- See also:
- KConfigSkeleton
Definition at line 50 of file kconfigskeleton.h.
Constructor & Destructor Documentation
| 
 | ||||||||||||
| Constructor. 
 
 Definition at line 63 of file kconfigskeleton.h. References key(). | 
| 
 | 
| Destructor. 
 Definition at line 71 of file kconfigskeleton.h. | 
Member Function Documentation
| 
 | 
| Set config file group. 
 Definition at line 78 of file kconfigskeleton.h. | 
| 
 | 
| Return config file group. 
 Definition at line 86 of file kconfigskeleton.h. | 
| 
 | 
| Set config file key. 
 Definition at line 94 of file kconfigskeleton.h. | 
| 
 | 
| Return config file key. 
 Definition at line 102 of file kconfigskeleton.h. Referenced by KConfigSkeleton::addItem(), and KConfigSkeletonItem(). | 
| 
 | 
| Set internal name of entry. 
 Definition at line 110 of file kconfigskeleton.h. Referenced by KConfigSkeleton::addItem(). | 
| 
 | 
| Return internal name of entry. 
 Definition at line 118 of file kconfigskeleton.h. Referenced by KConfigSkeleton::addItem(). | 
| 
 | 
| Set label providing a translated one-line description of the item. 
 Definition at line 126 of file kconfigskeleton.h. | 
| 
 | 
| Return label of item. See setLabel(). Definition at line 134 of file kconfigskeleton.h. | 
| 
 | 
| Set WhatsThis description og item. 
 Definition at line 142 of file kconfigskeleton.h. | 
| 
 | 
| Return WhatsThis description of item. See setWhatsThis(). Definition at line 150 of file kconfigskeleton.h. | 
| 
 | 
| This function is called by KConfigSkeleton to read the value for this setting from a config file. value. Implemented in KConfigSkeleton::ItemDouble. | 
| 
 | 
| This function is called by KConfigSkeleton to write the value of this setting to a config file. 
 | 
| 
 | 
| Read global default value. 
 Referenced by KConfigSkeleton::addItem(). | 
| 
 | 
| 
Set item to  
 Implemented in KConfigSkeleton::ItemDouble. Referenced by KConfigDialogManager::updateSettings(). | 
| 
 | 
| Return item as property. 
 Implemented in KConfigSkeleton::ItemDouble. Referenced by KConfigDialogManager::hasChanged(), KConfigDialogManager::updateSettings(), and KConfigDialogManager::updateWidgets(). | 
| 
 | 
| Return minimum value of item or invalid if not specified. 
 Reimplemented in KConfigSkeleton::ItemDouble. Definition at line 186 of file kconfigskeleton.h. Referenced by KConfigDialogManager::setupWidget(). | 
| 
 | 
| Return maximum value of item or invalid if not specified. 
 Reimplemented in KConfigSkeleton::ItemDouble. Definition at line 191 of file kconfigskeleton.h. Referenced by KConfigDialogManager::setupWidget(). | 
| 
 | 
| Sets the current value to the default value. 
 | 
| 
 | 
| Exchanges the current value with the default value Used by KConfigSkeleton::useDefaults(bool);. 
 | 
| 
 | 
| Return if the entry can be modified. 
 Definition at line 207 of file kconfigskeleton.h. Referenced by KConfigSkeleton::isImmutable(), and KConfigDialogManager::updateWidgets(). | 
The documentation for this class was generated from the following files:

