KCoreConfigSkeleton::ItemString Class

class KCoreConfigSkeleton::ItemString

Class 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.

ConstantValueDescription
KCoreConfigSkeleton::ItemString::Normal0A normal string
KCoreConfigSkeleton::ItemString::Password1A password string
KCoreConfigSkeleton::ItemString::Path2A 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.