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

kdecore

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

#include <kconfigskeleton.h>

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

Public Member Functions

 ItemInt (const TQString &group, const TQString &key, int &reference, int defaultValue=0)
 
void readConfig (KConfig *config)
 
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 an integer preferences item.

Definition at line 447 of file kconfigskeleton.h.

Member Function Documentation

TQVariant KConfigSkeleton::ItemInt::maxValue ( ) const
virtual

Return maximum value of item or invalid if not specified.

Reimplemented from KConfigSkeletonItem.

Definition at line 205 of file kconfigskeleton.cpp.

TQVariant KConfigSkeleton::ItemInt::minValue ( ) const
virtual

Return minimum value of item or invalid if not specified.

Reimplemented from KConfigSkeletonItem.

Definition at line 198 of file kconfigskeleton.cpp.

TQVariant KConfigSkeleton::ItemInt::property ( ) const
virtual

Return item as property.

Implements KConfigSkeletonItem.

Definition at line 193 of file kconfigskeleton.cpp.

void KConfigSkeleton::ItemInt::readConfig ( KConfig *  )
virtual

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

value.

Implements KConfigSkeletonItem.

Reimplemented in KConfigSkeleton::ItemEnum.

Definition at line 175 of file kconfigskeleton.cpp.

void KConfigSkeleton::ItemInt::setProperty ( const TQVariant &  p)
virtual

Set item to p.

Implements KConfigSkeletonItem.

Definition at line 188 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.11
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |