KCoreConfigSkeleton::ItemString Class
class KCoreConfigSkeleton::ItemStringClass for handling a string preferences item. More...
Public Types
| enum | Type { Normal, Password, Path } |
Public Functions
| ItemString(const QString &_group, const QString &_key, QString &reference, const QString &defaultValue = QLatin1String(""), KCoreConfigSkeleton::ItemString::Type type = Normal) |
Detailed Description
Member Type Documentation
enum ItemString::Type
The type of string that is held in this item.
| Constant | Value | Description |
|---|---|---|
KCoreConfigSkeleton::ItemString::Normal | 0 | A normal string |
KCoreConfigSkeleton::ItemString::Password | 1 | A password string |
KCoreConfigSkeleton::ItemString::Path | 2 | A path to a file or directory |
Member Function Documentation
ItemString::ItemString(const QString &_group, const QString &_key, QString &reference, const QString &defaultValue = QLatin1String(""), KCoreConfigSkeleton::ItemString::Type type = Normal)
Constructs a string item with the given _group, _key, the initial value reference to hold in the item, the defaultValue for the item, and the type of string held by the item.