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