kdecore Library API Documentation

KConfigSkeleton::ItemPoint Class Reference

Class for handling a QPoint preferences item. More...

#include <kconfigskeleton.h>

Inheritance diagram for KConfigSkeleton::ItemPoint:

KConfigSkeletonGenericItem< QPoint > KConfigSkeletonItem List of all members.

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

void KConfigSkeleton::ItemPoint::readConfig KConfig config  )  [virtual]
 

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().

void KConfigSkeleton::ItemPoint::setProperty const QVariant p  )  [virtual]
 

Set item to p.

Implements KConfigSkeletonItem.

Definition at line 721 of file kconfigskeleton.cpp.

References KConfigSkeletonGenericItem< QPoint >::mReference, and QVariant::toPoint().

QVariant KConfigSkeleton::ItemPoint::property  )  const [virtual]
 

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:
KDE Logo
This file is part of the documentation for kdecore Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Jan 23 19:32:12 2006 by doxygen 1.4.3 written by Dimitri van Heesch, © 1997-2003