KCoreConfigSkeleton::ItemDouble Class
Class for handling a floating point preference item. More...
- Header:
#include <ItemDouble> - 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
- 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()