Pages
API Documentation
On this page

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

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()

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