KDECore
KConfigSkeleton::ItemDouble Class Reference
Class for handling a floating point preference item. More...
#include <kconfigskeleton.h>

Public Member Functions | |
| ItemDouble (const QString &group, const QString &key, double &reference, double defaultValue=0) | |
| QVariant | maxValue () const |
| QVariant | minValue () const |
| QVariant | property () const |
| void | readConfig (KConfig *config) |
| void | setMaxValue (double) |
| void | setMinValue (double) |
| void | setProperty (const QVariant &p) |
Detailed Description
Class for handling a floating point preference item.Definition at line 627 of file kconfigskeleton.h.
Constructor & Destructor Documentation
| KConfigSkeleton::ItemDouble::ItemDouble | ( | const QString & | group, | |
| const QString & | key, | |||
| double & | reference, | |||
| double | defaultValue = 0 | |||
| ) |
Definition at line 567 of file kconfigskeleton.cpp.
Member Function Documentation
| QVariant KConfigSkeleton::ItemDouble::maxValue | ( | ) | const [virtual] |
Return maximum value of item or invalid if not specified.
Reimplemented from KConfigSkeletonItem.
Definition at line 604 of file kconfigskeleton.cpp.
| QVariant KConfigSkeleton::ItemDouble::minValue | ( | ) | const [virtual] |
Return minimum value of item or invalid if not specified.
Reimplemented from KConfigSkeletonItem.
Definition at line 597 of file kconfigskeleton.cpp.
| QVariant KConfigSkeleton::ItemDouble::property | ( | ) | const [virtual] |
Return item as property.
Implements KConfigSkeletonItem.
Definition at line 592 of file kconfigskeleton.cpp.
| void KConfigSkeleton::ItemDouble::readConfig | ( | KConfig * | ) | [virtual] |
This function is called by KConfigSkeleton to read the value for this setting from a config file.
value.
Implements KConfigSkeletonItem.
Definition at line 574 of file kconfigskeleton.cpp.
| void KConfigSkeleton::ItemDouble::setMaxValue | ( | double | v | ) |
Definition at line 617 of file kconfigskeleton.cpp.
| void KConfigSkeleton::ItemDouble::setMinValue | ( | double | v | ) |
Definition at line 611 of file kconfigskeleton.cpp.
| void KConfigSkeleton::ItemDouble::setProperty | ( | const QVariant & | p | ) | [virtual] |
The documentation for this class was generated from the following files:
KDE 3.5 API Reference