kdecore Library API Documentation

KConfigSkeleton::ItemPathList Class Reference

Class for handling a path list preferences item. More...

#include <kconfigskeleton.h>

Inheritance diagram for KConfigSkeleton::ItemPathList:

Inheritance graph
[legend]
Collaboration diagram for KConfigSkeleton::ItemPathList:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ItemPathList (const QString &group, const QString &key, QStringList &reference, const QStringList &defaultValue=QStringList())
void readConfig (KConfig *config)
void writeConfig (KConfig *config)

Detailed Description

Class for handling a path list preferences item.

Definition at line 761 of file kconfigskeleton.h.


Member Function Documentation

void KConfigSkeleton::ItemPathList::readConfig KConfig config  )  [virtual]
 

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

value.

Reimplemented from KConfigSkeleton::ItemStringList.

Definition at line 823 of file kconfigskeleton.cpp.

References KConfigBase::hasKey(), KConfigSkeletonGenericItem< QStringList >::mDefault, KConfigSkeletonItem::mGroup, KConfigSkeletonItem::mKey, KConfigSkeletonGenericItem< QStringList >::mLoadedValue, KConfigSkeletonGenericItem< QStringList >::mReference, KConfigSkeletonItem::readImmutability(), KConfigBase::readPathListEntry(), and KConfigBase::setGroup().

void KConfigSkeleton::ItemPathList::writeConfig KConfig config  )  [virtual]
 

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

Reimplemented from KConfigSkeletonGenericItem< QStringList >.

Definition at line 835 of file kconfigskeleton.cpp.

References KConfigBase::hasDefault(), KConfigSkeletonGenericItem< QStringList >::mDefault, KConfigSkeletonItem::mGroup, KConfigSkeletonItem::mKey, KConfigSkeletonGenericItem< QStringList >::mLoadedValue, KConfigSkeletonGenericItem< QStringList >::mReference, KConfigBase::revertToDefault(), KConfigBase::setGroup(), and KConfigBase::writePathEntry().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdecore Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Jul 20 13:45:58 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003