KCoreConfigSkeleton::ItemInt Class

class KCoreConfigSkeleton::ItemInt

Class for handling a 32-bit integer preferences item. More...

Public Functions

ItemInt(const QString &_group, const QString &_key, qint32 &reference, qint32 defaultValue = 0)
void setMaxValue(qint32)
void setMinValue(qint32)

Detailed Description

Member Function Documentation

ItemInt::ItemInt(const QString &_group, const QString &_key, qint32 &reference, qint32 defaultValue = 0)

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

void ItemInt::setMaxValue(qint32)

Sets the maximum value for the item.

See also maxValue.

void ItemInt::setMinValue(qint32)

Sets the minimum value for the item.

See also minValue().