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

kdecore

KConfigSkeleton::ItemInt

KConfigSkeleton::ItemInt Class Reference

#include <kconfigskeleton.h>

Inheritance diagram for KConfigSkeleton::ItemInt:

KConfigSkeleton::ItemEnum

List of all members.


Detailed Description

Class for handling an integer preferences item.

Definition at line 447 of file kconfigskeleton.h.


Public Member Functions

 ItemInt (const QString &group, const QString &key, int &reference, int defaultValue=0)
void readConfig (KConfig *config)
void setProperty (const QVariant &p)
QVariant property () const
QVariant minValue () const
QVariant maxValue () const
void setMinValue (int)
void setMaxValue (int)

Member Function Documentation

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 QVariant &  p  )  [virtual]

Set item to p.

Implements KConfigSkeletonItem.

Definition at line 188 of file kconfigskeleton.cpp.

QVariant KConfigSkeleton::ItemInt::property (  )  const [virtual]

Return item as property.

Implements KConfigSkeletonItem.

Definition at line 193 of file kconfigskeleton.cpp.

QVariant 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.

QVariant 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.


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

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • 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
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
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