KDECore
KConfigSkeleton::ItemProperty Class Reference
Class for handling a QVariant preferences item. More...
#include <kconfigskeleton.h>
Inheritance diagram for KConfigSkeleton::ItemProperty:
Public Member Functions | |
ItemProperty (const QString &group, const QString &key, QVariant &reference, QVariant defaultValue=0) | |
QVariant | property () const |
void | readConfig (KConfig *config) |
void | setProperty (const QVariant &p) |
Detailed Description
Class for handling a QVariant preferences item.Definition at line 417 of file kconfigskeleton.h.
Constructor & Destructor Documentation
KConfigSkeleton::ItemProperty::ItemProperty | ( | const QString & | group, | |
const QString & | key, | |||
QVariant & | reference, | |||
QVariant | defaultValue = 0 | |||
) |
Definition at line 115 of file kconfigskeleton.cpp.
Member Function Documentation
QVariant KConfigSkeleton::ItemProperty::property | ( | ) | const [virtual] |
Return item as property.
Implements KConfigSkeletonItem.
Definition at line 137 of file kconfigskeleton.cpp.
void KConfigSkeleton::ItemProperty::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 123 of file kconfigskeleton.cpp.
void KConfigSkeleton::ItemProperty::setProperty | ( | const QVariant & | p | ) | [virtual] |
The documentation for this class was generated from the following files: