• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KDECore

KConfigSkeleton::ItemEnum

KConfigSkeleton::ItemEnum Class Reference

Class for handling enums. More...

#include <kconfigskeleton.h>

Inheritance diagram for KConfigSkeleton::ItemEnum:

Inheritance graph
[legend]

List of all members.


Classes

struct  Choice

Public Member Functions

QValueList< Choice > choices () const
 ItemEnum (const QString &group, const QString &key, int &reference, const QValueList< Choice > &choices, int defaultValue=0)
void readConfig (KConfig *config)
void writeConfig (KConfig *config)

Detailed Description

Class for handling enums.

Definition at line 498 of file kconfigskeleton.h.


Constructor & Destructor Documentation

KConfigSkeleton::ItemEnum::ItemEnum ( const QString &  group,
const QString &  key,
int &  reference,
const QValueList< Choice > &  choices,
int  defaultValue = 0 
)

Definition at line 281 of file kconfigskeleton.cpp.


Member Function Documentation

QValueList< KConfigSkeleton::ItemEnum::Choice > KConfigSkeleton::ItemEnum::choices (  )  const

Definition at line 332 of file kconfigskeleton.cpp.

void KConfigSkeleton::ItemEnum::readConfig ( KConfig *   )  [virtual]

This function is called by KConfigSkeleton to read the value for this setting from a config file.

value.

Reimplemented from KConfigSkeleton::ItemInt.

Definition at line 289 of file kconfigskeleton.cpp.

void KConfigSkeleton::ItemEnum::writeConfig ( KConfig *   )  [virtual]

This function is called by KConfigSkeleton to write the value of this setting to a config file.

Reimplemented from KConfigSkeletonGenericItem< int >.

Definition at line 318 of file kconfigskeleton.cpp.


The documentation for this class was generated from the following files:
  • kconfigskeleton.h
  • kconfigskeleton.cpp

KDECore

Skip menu "KDECore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal