KConfigSkeleton::ItemULong Class Reference
Class for handling an unsigned long integer preferences item. More...
#include <kconfigskeleton.h>
Public Methods | |
ItemULong (const QString &group, const QString &key, unsigned long &reference, unsigned long defaultValue=0) | |
void | readConfig (KConfig *config) |
void | setProperty (const QVariant &p) |
QVariant | property () const |
QVariant | minValue () const |
QVariant | maxValue () const |
void | setMinValue (unsigned long) |
void | setMaxValue (unsigned long) |
Detailed Description
Class for handling an unsigned long integer preferences item.
Definition at line 572 of file kconfigskeleton.h.
Member Function Documentation
|
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. References KConfigSkeleton::config(), KConfigBase::readUnsignedLongNumEntry(), and KConfigBase::setGroup(). |
|
Set item to
Implements KConfigSkeletonItem. Definition at line 530 of file kconfigskeleton.cpp. References QVariant::toULongLong(). |
|
Return item as property.
Implements KConfigSkeletonItem. Definition at line 535 of file kconfigskeleton.cpp. |
|
Return minimum value of item or invalid if not specified.
Reimplemented from KConfigSkeletonItem. Definition at line 540 of file kconfigskeleton.cpp. |
|
Return maximum value of item or invalid if not specified.
Reimplemented from KConfigSkeletonItem. Definition at line 547 of file kconfigskeleton.cpp. |
The documentation for this class was generated from the following files: