class KConfigSkeletonItemabstract class |
|
|
endif / Class for storing a preferences setting Author Cornelius Schumacher See also KConfigSkeleton This class represents one preferences setting as used by KConfigSkeleton. Subclasses of KConfigSkeletonItem implement storage functions for a certain type of setting. Normally you don't have to use this class directly. Use the special addItem() functions of KConfigSkeleton instead. If you subclass this class you will have to register instances with the function KConfigSkeleton.addItem(). |
|
Constructor.
_group - Config file group. _key - Config file key. |
|
Return config file group. |
|
Check whether the item is equal to v. Use this function to compare items that use custom types such as KUrl, because QVariant.operator== will not work for those.
v - QVariant to compare to Returns true if the item is equal to v, false otherwise |
|
Return if the entry can be modified. |
|
Return config file key. |
|
Return label of item. See setLabel(). |
|
Return maximum value of item or invalid if not specified |
|
Return minimum value of item or invalid if not specified |
|
Return internal name of entry. |
|
Return item as property |
|
This function is called by KConfigSkeleton to read the value for this setting from a config file. |
|
Read global default value. |
|
sets mIsImmutable to true if mKey in config is immutable group - KConfigGroup to check if mKey is immutable in |
|
Sets the current value to the default value. |
|
Set config file group. |
|
Set config file key. |
|
Set label providing a translated one-line description of the item. |
|
Set internal name of entry. |
|
Set item to p |
|
Set WhatsThis description of item. |
|
Exchanges the current value with the default value Used by KConfigSkeleton.useDefaults(bool); |
|
Return WhatsThis description of item. See setWhatsThis(). |
|
This function is called by KConfigSkeleton to write the value of this setting to a config file. |