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


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