• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kdecore
 

kdecore

  • KConfigSkeleton
  • ItemEnum
Public Member Functions | List of all members
KConfigSkeleton::ItemEnum Class Reference

#include <kconfigskeleton.h>

Inheritance diagram for KConfigSkeleton::ItemEnum:
KConfigSkeleton::ItemInt

Public Member Functions

 ItemEnum (const TQString &group, const TQString &key, int &reference, const TQValueList< Choice > &choices, int defaultValue=0)
 
TQValueList< Choice > choices () const
 
void readConfig (KConfig *config)
 
void writeConfig (KConfig *config)
 
- Public Member Functions inherited from KConfigSkeleton::ItemInt
 ItemInt (const TQString &group, const TQString &key, int &reference, int defaultValue=0)
 
void setProperty (const TQVariant &p)
 
TQVariant property () const
 
TQVariant minValue () const
 
TQVariant maxValue () const
 
void setMinValue (int)
 
void setMaxValue (int)
 

Detailed Description

Class for handling enums.

Definition at line 498 of file kconfigskeleton.h.

Member Function Documentation

◆ readConfig()

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.

◆ writeConfig()

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

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

Implements KConfigSkeletonItem.

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

kdecore

Skip menu "kdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdecore by doxygen 1.8.13
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |