KConfigSkeleton::ItemSize Class Reference
Class for handling a QSize preferences item. More...
#include <kconfigskeleton.h>
Inheritance diagram for KConfigSkeleton::ItemSize:


Public Member Functions | |
ItemSize (const QString &group, const QString &key, QSize &reference, const QSize &defaultValue=QSize()) | |
void | readConfig (KConfig *config) |
void | setProperty (const QVariant &p) |
QVariant | property () const |
Detailed Description
Class for handling a QSize preferences item.
Definition at line 714 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 739 of file kconfigskeleton.cpp. References KConfigSkeletonGenericItem< QSize >::mDefault, KConfigSkeletonItem::mGroup, KConfigSkeletonItem::mKey, KConfigSkeletonGenericItem< QSize >::mLoadedValue, KConfigSkeletonGenericItem< QSize >::mReference, KConfigSkeletonItem::readImmutability(), KConfigBase::readSizeEntry(), and KConfigBase::setGroup(). |
|
Set item to
Implements KConfigSkeletonItem. Definition at line 748 of file kconfigskeleton.cpp. References KConfigSkeletonGenericItem< QSize >::mReference, and QVariant::toSize(). |
|
Return item as property.
Implements KConfigSkeletonItem. Definition at line 753 of file kconfigskeleton.cpp. References KConfigSkeletonGenericItem< QSize >::mReference. |
The documentation for this class was generated from the following files: