#include <tdeconfigskeleton.h>
Inherits TDEConfigSkeletonGenericItem< T >.
Public Member Functions | |
| ItemDouble (const TQString &group, const TQString &key, double &reference, double defaultValue=0) | |
| void | readConfig (TDEConfig *config) |
| void | setProperty (const TQVariant &p) |
| TQVariant | property () const |
| TQVariant | minValue () const |
| TQVariant | maxValue () const |
| void | setMinValue (double) |
| void | setMaxValue (double) |
Detailed Description
Class for handling a floating point preference item.
Definition at line 627 of file tdeconfigskeleton.h.
Member Function Documentation
| TQVariant TDEConfigSkeleton::ItemDouble::maxValue | ( | ) | const [virtual] |
Return maximum value of item or invalid if not specified.
Reimplemented from TDEConfigSkeletonItem.
Definition at line 604 of file tdeconfigskeleton.cpp.
| TQVariant TDEConfigSkeleton::ItemDouble::minValue | ( | ) | const [virtual] |
Return minimum value of item or invalid if not specified.
Reimplemented from TDEConfigSkeletonItem.
Definition at line 597 of file tdeconfigskeleton.cpp.
| TQVariant TDEConfigSkeleton::ItemDouble::property | ( | ) | const [virtual] |
Return item as property.
Implements TDEConfigSkeletonItem.
Definition at line 592 of file tdeconfigskeleton.cpp.
| void TDEConfigSkeleton::ItemDouble::readConfig | ( | TDEConfig * | ) | [virtual] |
This function is called by TDEConfigSkeleton to read the value for this setting from a config file.
value.
Implements TDEConfigSkeletonItem.
Definition at line 574 of file tdeconfigskeleton.cpp.
| void TDEConfigSkeleton::ItemDouble::setProperty | ( | const TQVariant & | p | ) | [virtual] |
Set item to p.
Implements TDEConfigSkeletonItem.
Definition at line 587 of file tdeconfigskeleton.cpp.
The documentation for this class was generated from the following files:
Trinity API Reference