KConfigSkeleton::ItemColor Class Reference
Class for handling a color preferences item. More...
#include <kconfigskeleton.h>
Public Methods | |
ItemColor (const QString &group, const QString &key, QColor &reference, const QColor &defaultValue=QColor(128, 128, 128)) | |
void | readConfig (KConfig *config) |
void | setProperty (const QVariant &p) |
QVariant | property () const |
Detailed Description
Class for handling a color preferences item.
Definition at line 649 of file kconfigskeleton.h.
Member Function Documentation
|
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. References KConfigSkeleton::config(), KConfigBase::readColorEntry(), and KConfigBase::setGroup(). |
|
Set item to
Implements KConfigSkeletonItem. Definition at line 640 of file kconfigskeleton.cpp. References QVariant::toColor(). |
|
Return item as property.
Implements KConfigSkeletonItem. Definition at line 645 of file kconfigskeleton.cpp. |
The documentation for this class was generated from the following files: