KDECore
KConfigSkeleton::ItemFont Class Reference
Class for handling a font preferences item. More...
#include <kconfigskeleton.h>
Inheritance diagram for KConfigSkeleton::ItemFont:
Public Member Functions | |
ItemFont (const QString &group, const QString &key, QFont &reference, const QFont &defaultValue=KGlobalSettings::generalFont()) | |
QVariant | property () const |
void | readConfig (KConfig *config) |
void | setProperty (const QVariant &p) |
Detailed Description
Class for handling a font preferences item.Definition at line 669 of file kconfigskeleton.h.
Constructor & Destructor Documentation
KConfigSkeleton::ItemFont::ItemFont | ( | const QString & | group, | |
const QString & | key, | |||
QFont & | reference, | |||
const QFont & | defaultValue = KGlobalSettings::generalFont() | |||
) |
Definition at line 651 of file kconfigskeleton.cpp.
Member Function Documentation
QVariant KConfigSkeleton::ItemFont::property | ( | ) | const [virtual] |
Return item as property.
Implements KConfigSkeletonItem.
Definition at line 672 of file kconfigskeleton.cpp.
void KConfigSkeleton::ItemFont::readConfig | ( | KConfig * | ) | [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.
void KConfigSkeleton::ItemFont::setProperty | ( | const QVariant & | p | ) | [virtual] |
The documentation for this class was generated from the following files: