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

tdecore

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

#include <tdeconfigskeleton.h>

Inheritance diagram for TDEConfigSkeleton::ItemString:
TDEConfigSkeleton::ItemPassword TDEConfigSkeleton::ItemPath

Public Types

enum  Type { Normal, Password, Path }

Public Member Functions

 ItemString (const TQString &group, const TQString &key, TQString &reference, const TQString &defaultValue=TQString::fromLatin1(""), Type type=Normal)
void writeConfig (TDEConfig *config)
void readConfig (TDEConfig *config)
void setProperty (const TQVariant &p)
TQVariant property () const
- Public Member Functions inherited from TDEConfigSkeletonGenericItem< T >
 TDEConfigSkeletonGenericItem (const TQString &group, const TQString &key, T &reference, T defaultValue)
void setValue (const T &v)
T & value ()
const T & value () const
virtual void setDefaultValue (const T &v)
virtual void setDefault ()
virtual void writeConfig (TDEConfig *config)
void readDefault (TDEConfig *config)
void swapDefault ()
- Public Member Functions inherited from TDEConfigSkeletonItem
 TDEConfigSkeletonItem (const TQString &group, const TQString &key)
virtual ~TDEConfigSkeletonItem ()
void setGroup (const TQString &group)
TQString group () const
void setKey (const TQString &key)
TQString key () const
void setName (const TQString &name)
TQString name () const
void setLabel (const TQString &l)
TQString label () const
void setWhatsThis (const TQString &w)
TQString whatsThis () const
virtual void readDefault (TDEConfig *)=0
virtual TQVariant minValue () const
virtual TQVariant maxValue () const
virtual void setDefault ()=0
virtual void swapDefault ()=0
bool isImmutable () const

Additional Inherited Members

- Protected Member Functions inherited from TDEConfigSkeletonItem
void readImmutability (TDEConfig *config)
- Protected Attributes inherited from TDEConfigSkeletonGenericItem< T >
T & mReference
T mDefault
T mLoadedValue

Detailed Description

Class for handling a string preferences item.

Definition at line 372 of file tdeconfigskeleton.h.

Member Function Documentation

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

Return item as property.

Implements TDEConfigSkeletonItem.

Definition at line 96 of file tdeconfigskeleton.cpp.

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

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

value.

Implements TDEConfigSkeletonItem.

Definition at line 67 of file tdeconfigskeleton.cpp.

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

Set item to p.

Implements TDEConfigSkeletonItem.

Definition at line 91 of file tdeconfigskeleton.cpp.

void TDEConfigSkeleton::ItemString::writeConfig ( TDEConfig *  )
virtual

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

Implements TDEConfigSkeletonItem.

Definition at line 50 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.8.1.2
This website is maintained by Timothy Pearson.