KDECore
KConfigSkeleton::ItemULong Class Reference
Class for handling an unsigned long integer preferences item. More...
#include <kconfigskeleton.h>

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