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