KDECore
KConfigSkeleton::ItemUInt Class Reference
Class for handling an unsingend integer preferences item. More...
#include <kconfigskeleton.h>

Public Member Functions | |
| ItemUInt (const QString &group, const QString &key, unsigned int &reference, unsigned int defaultValue=0) | |
| QVariant | maxValue () const |
| QVariant | minValue () const |
| QVariant | property () const |
| void | readConfig (KConfig *config) |
| void | setMaxValue (unsigned int) |
| void | setMinValue (unsigned int) |
| void | setProperty (const QVariant &p) |
Detailed Description
Class for handling an unsingend integer preferences item.Definition at line 524 of file kconfigskeleton.h.
Constructor & Destructor Documentation
| KConfigSkeleton::ItemUInt::ItemUInt | ( | const QString & | group, | |
| const QString & | key, | |||
| unsigned int & | reference, | |||
| unsigned int | defaultValue = 0 | |||
| ) |
Definition at line 338 of file kconfigskeleton.cpp.
Member Function Documentation
| QVariant KConfigSkeleton::ItemUInt::maxValue | ( | ) | const [virtual] |
Return maximum value of item or invalid if not specified.
Reimplemented from KConfigSkeletonItem.
Definition at line 376 of file kconfigskeleton.cpp.
| QVariant KConfigSkeleton::ItemUInt::minValue | ( | ) | const [virtual] |
Return minimum value of item or invalid if not specified.
Reimplemented from KConfigSkeletonItem.
Definition at line 369 of file kconfigskeleton.cpp.
| QVariant KConfigSkeleton::ItemUInt::property | ( | ) | const [virtual] |
Return item as property.
Implements KConfigSkeletonItem.
Definition at line 364 of file kconfigskeleton.cpp.
| void KConfigSkeleton::ItemUInt::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 346 of file kconfigskeleton.cpp.
| void KConfigSkeleton::ItemUInt::setMaxValue | ( | unsigned int | v | ) |
Definition at line 389 of file kconfigskeleton.cpp.
| void KConfigSkeleton::ItemUInt::setMinValue | ( | unsigned int | v | ) |
Definition at line 383 of file kconfigskeleton.cpp.
| void KConfigSkeleton::ItemUInt::setProperty | ( | const QVariant & | p | ) | [virtual] |
The documentation for this class was generated from the following files:
KDE 3.5 API Reference