KCoreConfigSkeleton::ItemUInt Class
Class for handling an unsigned 32-bit integer preferences item. More...
- Header:
#include <ItemUInt> - CMake:
find_package(KF6 REQUIRED COMPONENTS Config)
target_link_libraries(mytarget PRIVATE KF6::ConfigCore) - Inherits: KConfigSkeletonGenericItem
List of all members, including inherited members
Public Functions
- ItemUInt(const QString &_group, const QString &_key, quint32 &reference, quint32 defaultValue = 0)
- void setMaxValue(quint32)
- void setMinValue(quint32)
Detailed Description
Member Function Documentation
ItemUInt::ItemUInt(const QString &_group, const QString &_key, quint32 &reference, quint32 defaultValue = 0)
Constructs an uint item with the given _group, _key, the initial value reference to hold in the item, and the defaultValue for the item.
void ItemUInt::setMaxValue(quint32)
Sets the maximum value for the item.
See also maxValue()
void ItemUInt::setMinValue(quint32)
Sets the minimum value for the item.
See also minValue()