KDECore
KConfigSkeleton::ItemLong Class Reference
Class for hanlding a long integer preferences item. More...
#include <kconfigskeleton.h>
Public Member Functions | |
ItemLong (const QString &group, const QString &key, long &reference, long defaultValue=0) | |
QVariant | maxValue () const |
QVariant | minValue () const |
QVariant | property () const |
void | readConfig (KConfig *config) |
void | setMaxValue (long) |
void | setMinValue (long) |
void | setProperty (const QVariant &p) |
Detailed Description
Class for hanlding a long integer preferences item.Definition at line 550 of file kconfigskeleton.h.
Constructor & Destructor Documentation
KConfigSkeleton::ItemLong::ItemLong | ( | const QString & | group, | |
const QString & | key, | |||
long & | reference, | |||
long | defaultValue = 0 | |||
) |
Definition at line 452 of file kconfigskeleton.cpp.
Member Function Documentation
QVariant KConfigSkeleton::ItemLong::maxValue | ( | ) | const [virtual] |
Return maximum value of item or invalid if not specified.
Reimplemented from KConfigSkeletonItem.
Definition at line 489 of file kconfigskeleton.cpp.
QVariant KConfigSkeleton::ItemLong::minValue | ( | ) | const [virtual] |
Return minimum value of item or invalid if not specified.
Reimplemented from KConfigSkeletonItem.
Definition at line 482 of file kconfigskeleton.cpp.
QVariant KConfigSkeleton::ItemLong::property | ( | ) | const [virtual] |
Return item as property.
Implements KConfigSkeletonItem.
Definition at line 477 of file kconfigskeleton.cpp.
void KConfigSkeleton::ItemLong::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 459 of file kconfigskeleton.cpp.
void KConfigSkeleton::ItemLong::setMaxValue | ( | long | v | ) |
Definition at line 502 of file kconfigskeleton.cpp.
void KConfigSkeleton::ItemLong::setMinValue | ( | long | v | ) |
Definition at line 496 of file kconfigskeleton.cpp.
void KConfigSkeleton::ItemLong::setProperty | ( | const QVariant & | p | ) | [virtual] |
The documentation for this class was generated from the following files: