KDECore
KConfigSkeleton::ItemString Class Reference
Class for handling a string preferences item. More...
#include <kconfigskeleton.h>
Inheritance diagram for KConfigSkeleton::ItemString:
Public Types | |
enum | Type { Normal, Password, Path } |
Public Member Functions | |
ItemString (const QString &group, const QString &key, QString &reference, const QString &defaultValue=QString::fromLatin1(""), Type type=Normal) | |
QVariant | property () const |
void | readConfig (KConfig *config) |
void | setProperty (const QVariant &p) |
void | writeConfig (KConfig *config) |
Detailed Description
Class for handling a string preferences item.Definition at line 372 of file kconfigskeleton.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
KConfigSkeleton::ItemString::ItemString | ( | const QString & | group, | |
const QString & | key, | |||
QString & | reference, | |||
const QString & | defaultValue = QString::fromLatin1("") , |
|||
Type | type = Normal | |||
) |
Definition at line 41 of file kconfigskeleton.cpp.
Member Function Documentation
QVariant KConfigSkeleton::ItemString::property | ( | ) | const [virtual] |
Return item as property.
Implements KConfigSkeletonItem.
Definition at line 96 of file kconfigskeleton.cpp.
void KConfigSkeleton::ItemString::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 67 of file kconfigskeleton.cpp.
void KConfigSkeleton::ItemString::setProperty | ( | const QVariant & | p | ) | [virtual] |
void KConfigSkeleton::ItemString::writeConfig | ( | KConfig * | ) | [virtual] |
This function is called by KConfigSkeleton to write the value of this setting to a config file.
Reimplemented from KConfigSkeletonGenericItem< QString >.
Definition at line 50 of file kconfigskeleton.cpp.
The documentation for this class was generated from the following files: