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

tdecore

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

#include <tdeconfigskeleton.h>

Inheritance diagram for TDEConfigSkeleton::ItemInt:
TDEConfigSkeleton::ItemEnum

Public Member Functions

 ItemInt (const TQString &group, const TQString &key, int &reference, int defaultValue=0)
 
void readConfig (TDEConfig *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 tdeconfigskeleton.h.

Constructor & Destructor Documentation

◆ ItemInt()

TDEConfigSkeleton::ItemInt::ItemInt ( const TQString &  group,
const TQString &  key,
int &  reference,
int  defaultValue = 0 
)

Definition at line 168 of file tdeconfigskeleton.cpp.

Member Function Documentation

◆ maxValue()

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

Return maximum value of item or invalid if not specified.

Reimplemented from TDEConfigSkeletonItem.

Definition at line 205 of file tdeconfigskeleton.cpp.

◆ minValue()

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

Return minimum value of item or invalid if not specified.

Reimplemented from TDEConfigSkeletonItem.

Definition at line 198 of file tdeconfigskeleton.cpp.

◆ property()

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

Return item as property.

Implements TDEConfigSkeletonItem.

Definition at line 193 of file tdeconfigskeleton.cpp.

◆ readConfig()

void TDEConfigSkeleton::ItemInt::readConfig ( TDEConfig *  )
virtual

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

value.

Implements TDEConfigSkeletonItem.

Reimplemented in TDEConfigSkeleton::ItemEnum.

Definition at line 175 of file tdeconfigskeleton.cpp.

◆ setMaxValue()

void TDEConfigSkeleton::ItemInt::setMaxValue ( int  v)

Definition at line 218 of file tdeconfigskeleton.cpp.

◆ setMinValue()

void TDEConfigSkeleton::ItemInt::setMinValue ( int  v)

Definition at line 212 of file tdeconfigskeleton.cpp.

◆ setProperty()

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

Set item to p.

Implements TDEConfigSkeletonItem.

Definition at line 188 of file tdeconfigskeleton.cpp.


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

tdecore

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

tdecore

Skip menu "tdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdecore by doxygen 1.9.4
This website is maintained by Timothy Pearson.