KDECore
KCoreConfigSkeleton::ItemULongLong Class Reference
#include <kcoreconfigskeleton.h>

Detailed Description
Class for handling unsigned 64-bit integer preferences item.Definition at line 667 of file kcoreconfigskeleton.h.
Public Member Functions | |
bool | isEqual (const QVariant &p) const |
ItemULongLong (const QString &_group, const QString &_key, quint64 &reference, quint64 defaultValue=0) | |
QVariant | maxValue () const |
QVariant | minValue () const |
QVariant | property () const |
void | readConfig (KConfig *config) |
void | setMaxValue (quint64) |
void | setMinValue (quint64) |
void | setProperty (const QVariant &p) |
Constructor & Destructor Documentation
KCoreConfigSkeleton::ItemULongLong::ItemULongLong | ( | const QString & | _group, | |
const QString & | _key, | |||
quint64 & | reference, | |||
quint64 | defaultValue = 0 | |||
) |
Constructor.
- Parameters:
-
_group Config file group. _key Config file key.
- Parameters:
-
reference The initial value to hold in the item defaultValue The default value for the item
Definition at line 544 of file kcoreconfigskeleton.cpp.
Member Function Documentation
QVariant KCoreConfigSkeleton::ItemULongLong::maxValue | ( | ) | const [virtual] |
Get the maximum value this is allowed to be stored in this item.
Reimplemented from KConfigSkeletonItem.
Definition at line 586 of file kcoreconfigskeleton.cpp.
QVariant KCoreConfigSkeleton::ItemULongLong::minValue | ( | ) | const [virtual] |
Get the minimum value that is allowed to be stored in this item.
Reimplemented from KConfigSkeletonItem.
Definition at line 579 of file kcoreconfigskeleton.cpp.
QVariant KCoreConfigSkeleton::ItemULongLong::property | ( | ) | const [virtual] |
Return item as property.
Implements KConfigSkeletonItem.
Definition at line 574 of file kcoreconfigskeleton.cpp.
void KCoreConfigSkeleton::ItemULongLong::readConfig | ( | KConfig * | config | ) | [virtual] |
This function is called by KCoreConfigSkeleton to read the value for this setting from a config file.
Implements KConfigSkeletonItem.
Definition at line 551 of file kcoreconfigskeleton.cpp.
void KCoreConfigSkeleton::ItemULongLong::setMaxValue | ( | quint64 | v | ) |
Set the maximum value for the item.
- See also:
- maxValue
Definition at line 599 of file kcoreconfigskeleton.cpp.
void KCoreConfigSkeleton::ItemULongLong::setMinValue | ( | quint64 | v | ) |
Set the minimum value for the item.
- See also:
- minValue()
Definition at line 593 of file kcoreconfigskeleton.cpp.
void KCoreConfigSkeleton::ItemULongLong::setProperty | ( | const QVariant & | p | ) | [virtual] |
Set item to p
.
Implements KConfigSkeletonItem.
Definition at line 564 of file kcoreconfigskeleton.cpp.
The documentation for this class was generated from the following files: