Pages
API Documentation
On this page

KConfigSkeletonGenericItem Class

Base class for storing a preferences setting of type T. More...

List of all members, including inherited members

Public Functions

Detailed Description

Member Function Documentation

KConfigSkeletonGenericItem::KConfigSkeletonGenericItem(const QString &_group, const QString &_key, T &reference, T defaultValue)

Constructs a generic skeleton item with the given _group, _key, the initial value reference to hold in the item, and the defaultValue for the item.

[override virtual] void KConfigSkeletonGenericItem::setDefault()

Reimplements: KConfigSkeletonItem::setDefault().

Sets the value for this item to the default value.

[virtual] void KConfigSkeletonGenericItem::setDefaultValue(const T &v)

Sets the default value v for this item.

void KConfigSkeletonGenericItem::setValue(const T &v)

Sets the value v of this KConfigSkeletonItem.

See also value()

T &KConfigSkeletonGenericItem::value()

Returns the value of this KConfigSkeletonItem.

See also setValue()

const T &KConfigSkeletonGenericItem::value() const

Returns the const value of this KConfigSkeletonItem.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.