KCoreConfigSkeleton::ItemDouble Class

class KCoreConfigSkeleton::ItemDouble

Class for handling a floating point preference item. More...

Public Functions

ItemDouble(const QString &_group, const QString &_key, double &reference, double defaultValue = 0)
void setMaxValue(double)
void setMinValue(double)

Detailed Description

Member Function Documentation

ItemDouble::ItemDouble(const QString &_group, const QString &_key, double &reference, double defaultValue = 0)

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

void ItemDouble::setMaxValue(double)

Sets the maximum value for the item.

See also maxValue().

void ItemDouble::setMinValue(double)

Sets the minimum value for the item.

See also minValue().