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)) | |
void | readConfig (KConfig *config) |
void | setProperty (const QVariant &p) |
QVariant | property () const |
Detailed Description
Class for handling a color preferences item.
Definition at line 653 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 KConfigSkeletonGenericItem< QColor >::mDefault, KConfigSkeletonItem::mGroup, KConfigSkeletonItem::mKey, KConfigSkeletonGenericItem< QColor >::mLoadedValue, KConfigSkeletonGenericItem< QColor >::mReference, KConfigBase::readColorEntry(), KConfigSkeletonItem::readImmutability(), and KConfigBase::setGroup(). |
|
Set item to
Implements KConfigSkeletonItem. Definition at line 640 of file kconfigskeleton.cpp. References KConfigSkeletonGenericItem< QColor >::mReference, and QVariant::toColor(). |
|
Return item as property.
Implements KConfigSkeletonItem. Definition at line 645 of file kconfigskeleton.cpp. References KConfigSkeletonGenericItem< QColor >::mReference. |
The documentation for this class was generated from the following files: