kdecore Library API Documentation

KConfigSkeleton::ItemFont Class Reference

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

#include <kconfigskeleton.h>

Inheritance diagram for KConfigSkeleton::ItemFont:

Inheritance graph
[legend]
Collaboration diagram for KConfigSkeleton::ItemFont:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ItemFont (const QString &group, const QString &key, QFont &reference, const QFont &defaultValue=KGlobalSettings::generalFont())
void readConfig (KConfig *config)
void setProperty (const QVariant &p)
QVariant property () const

Detailed Description

Class for handling a font preferences item.

Definition at line 669 of file kconfigskeleton.h.


Member Function Documentation

void KConfigSkeleton::ItemFont::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 658 of file kconfigskeleton.cpp.

References KConfigSkeletonGenericItem< QFont >::mDefault, KConfigSkeletonItem::mGroup, KConfigSkeletonItem::mKey, KConfigSkeletonGenericItem< QFont >::mLoadedValue, KConfigSkeletonGenericItem< QFont >::mReference, KConfigBase::readFontEntry(), KConfigSkeletonItem::readImmutability(), and KConfigBase::setGroup().

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

Set item to p.

Implements KConfigSkeletonItem.

Definition at line 667 of file kconfigskeleton.cpp.

References KConfigSkeletonGenericItem< QFont >::mReference, and QVariant::toFont().

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

Return item as property.

Implements KConfigSkeletonItem.

Definition at line 672 of file kconfigskeleton.cpp.

References KConfigSkeletonGenericItem< QFont >::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.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Jul 20 13:45:49 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003