.TH "KConfigBase" kde3 "11 Jun 2005" "Version Version 3.4.1" "kdecore Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
KConfigBase \- \fBKDE\fP Configuration Management abstract base class.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <kconfigbase.h>\fP
.PP
Inherits \fBQObject\fP.
.PP
Inherited by \fBKConfig\fP, and \fBKConfigGroup\fP.
.PP
.SS "Public Types"

.in +1c
.ti -1c
.RI "enum \fBConfigState\fP { \fBNoAccess\fP, \fBReadOnly\fP, \fBReadWrite\fP }"
.br
.in -1c
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBKConfigBase\fP ()"
.br
.ti -1c
.RI "virtual \fB~KConfigBase\fP ()"
.br
.ti -1c
.RI "void \fBsetGroup\fP (const \fBQString\fP &group)"
.br
.ti -1c
.RI "void \fBsetDesktopGroup\fP ()"
.br
.ti -1c
.RI "\fBQString\fP \fBgroup\fP () const "
.br
.ti -1c
.RI "bool \fBhasGroup\fP (const \fBQString\fP &group) const "
.br
.ti -1c
.RI "virtual \fBQStringList\fP \fBgroupList\fP () const =0"
.br
.ti -1c
.RI "\fBQString\fP \fBlocale\fP () const "
.br
.ti -1c
.RI "\fBQString\fP \fBreadEntry\fP (const \fBQString\fP &pKey, const \fBQString\fP &aDefault=QString::null) const "
.br
.ti -1c
.RI "\fBQString\fP \fBreadEntry\fP (const char *pKey, const \fBQString\fP &aDefault=QString::null) const "
.br
.ti -1c
.RI "\fBQVariant\fP \fBreadPropertyEntry\fP (const \fBQString\fP &pKey, QVariant::Type) const "
.br
.ti -1c
.RI "\fBQVariant\fP \fBreadPropertyEntry\fP (const char *pKey, QVariant::Type) const "
.br
.ti -1c
.RI "\fBQVariant\fP \fBreadPropertyEntry\fP (const \fBQString\fP &pKey, const \fBQVariant\fP &aDefault) const "
.br
.ti -1c
.RI "\fBQVariant\fP \fBreadPropertyEntry\fP (const char *pKey, const \fBQVariant\fP &aDefault) const "
.br
.ti -1c
.RI "int \fBreadListEntry\fP (const \fBQString\fP &pKey, \fBQStrList\fP &list, char sep= ',') const "
.br
.ti -1c
.RI "int \fBreadListEntry\fP (const char *pKey, \fBQStrList\fP &list, char sep= ',') const "
.br
.ti -1c
.RI "\fBQStringList\fP \fBreadListEntry\fP (const \fBQString\fP &pKey, char sep= ',') const "
.br
.ti -1c
.RI "\fBQStringList\fP \fBreadListEntry\fP (const char *pKey, char sep= ',') const "
.br
.ti -1c
.RI "\fBQStringList\fP \fBreadListEntry\fP (const char *pKey, const \fBQStringList\fP &aDefault, char sep= ',') const "
.br
.ti -1c
.RI "\fBQValueList\fP< int > \fBreadIntListEntry\fP (const \fBQString\fP &pKey) const "
.br
.ti -1c
.RI "\fBQValueList\fP< int > \fBreadIntListEntry\fP (const char *pKey) const "
.br
.ti -1c
.RI "\fBQString\fP \fBreadPathEntry\fP (const \fBQString\fP &pKey, const \fBQString\fP &aDefault=QString::null) const "
.br
.ti -1c
.RI "\fBQString\fP \fBreadPathEntry\fP (const char *pKey, const \fBQString\fP &aDefault=QString::null) const "
.br
.ti -1c
.RI "\fBQStringList\fP \fBreadPathListEntry\fP (const \fBQString\fP &pKey, char sep= ',') const "
.br
.ti -1c
.RI "\fBQStringList\fP \fBreadPathListEntry\fP (const char *pKey, char sep= ',') const "
.br
.ti -1c
.RI "int \fBreadNumEntry\fP (const \fBQString\fP &pKey, int nDefault=0) const "
.br
.ti -1c
.RI "int \fBreadNumEntry\fP (const char *pKey, int nDefault=0) const "
.br
.ti -1c
.RI "unsigned int \fBreadUnsignedNumEntry\fP (const \fBQString\fP &pKey, unsigned int nDefault=0) const "
.br
.ti -1c
.RI "unsigned int \fBreadUnsignedNumEntry\fP (const char *pKey, unsigned int nDefault=0) const "
.br
.ti -1c
.RI "long \fBreadLongNumEntry\fP (const \fBQString\fP &pKey, long nDefault=0) const "
.br
.ti -1c
.RI "long \fBreadLongNumEntry\fP (const char *pKey, long nDefault=0) const "
.br
.ti -1c
.RI "unsigned long \fBreadUnsignedLongNumEntry\fP (const \fBQString\fP &pKey, unsigned long nDefault=0) const "
.br
.ti -1c
.RI "unsigned long \fBreadUnsignedLongNumEntry\fP (const char *pKey, unsigned long nDefault=0) const "
.br
.ti -1c
.RI "Q_INT64 \fBreadNum64Entry\fP (const \fBQString\fP &pKey, Q_INT64 nDefault=0) const "
.br
.ti -1c
.RI "Q_INT64 \fBreadNum64Entry\fP (const char *pKey, Q_INT64 nDefault=0) const "
.br
.ti -1c
.RI "Q_UINT64 \fBreadUnsignedNum64Entry\fP (const \fBQString\fP &pKey, Q_UINT64 nDefault=0) const "
.br
.ti -1c
.RI "Q_UINT64 \fBreadUnsignedNum64Entry\fP (const char *pKey, Q_UINT64 nDefault=0) const "
.br
.ti -1c
.RI "double \fBreadDoubleNumEntry\fP (const \fBQString\fP &pKey, double nDefault=0.0) const "
.br
.ti -1c
.RI "double \fBreadDoubleNumEntry\fP (const char *pKey, double nDefault=0.0) const "
.br
.ti -1c
.RI "\fBQFont\fP \fBreadFontEntry\fP (const \fBQString\fP &pKey, const \fBQFont\fP *pDefault=0L) const "
.br
.ti -1c
.RI "\fBQFont\fP \fBreadFontEntry\fP (const char *pKey, const \fBQFont\fP *pDefault=0L) const "
.br
.ti -1c
.RI "bool \fBreadBoolEntry\fP (const \fBQString\fP &pKey, bool bDefault=false) const "
.br
.ti -1c
.RI "bool \fBreadBoolEntry\fP (const char *pKey, bool bDefault=false) const "
.br
.ti -1c
.RI "\fBQRect\fP \fBreadRectEntry\fP (const \fBQString\fP &pKey, const \fBQRect\fP *pDefault=0L) const "
.br
.ti -1c
.RI "\fBQRect\fP \fBreadRectEntry\fP (const char *pKey, const \fBQRect\fP *pDefault=0L) const "
.br
.ti -1c
.RI "\fBQPoint\fP \fBreadPointEntry\fP (const \fBQString\fP &pKey, const \fBQPoint\fP *pDefault=0L) const "
.br
.ti -1c
.RI "\fBQPoint\fP \fBreadPointEntry\fP (const char *pKey, const \fBQPoint\fP *pDefault=0L) const "
.br
.ti -1c
.RI "\fBQSize\fP \fBreadSizeEntry\fP (const \fBQString\fP &pKey, const \fBQSize\fP *pDefault=0L) const "
.br
.ti -1c
.RI "\fBQSize\fP \fBreadSizeEntry\fP (const char *pKey, const \fBQSize\fP *pDefault=0L) const "
.br
.ti -1c
.RI "\fBQColor\fP \fBreadColorEntry\fP (const \fBQString\fP &pKey, const \fBQColor\fP *pDefault=0L) const "
.br
.ti -1c
.RI "\fBQColor\fP \fBreadColorEntry\fP (const char *pKey, const \fBQColor\fP *pDefault=0L) const "
.br
.ti -1c
.RI "\fBQDateTime\fP \fBreadDateTimeEntry\fP (const \fBQString\fP &pKey, const \fBQDateTime\fP *pDefault=0L) const "
.br
.ti -1c
.RI "\fBQDateTime\fP \fBreadDateTimeEntry\fP (const char *pKey, const \fBQDateTime\fP *pDefault=0L) const "
.br
.ti -1c
.RI "\fBQString\fP \fBreadEntryUntranslated\fP (const \fBQString\fP &pKey, const \fBQString\fP &aDefault=QString::null) const "
.br
.ti -1c
.RI "\fBQString\fP \fBreadEntryUntranslated\fP (const char *pKey, const \fBQString\fP &aDefault=QString::null) const "
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const \fBQString\fP &pKey, const \fBQString\fP &pValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const char *pKey, const \fBQString\fP &pValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const \fBQString\fP &pKey, const \fBQVariant\fP &rValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const char *pKey, const \fBQVariant\fP &rValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const \fBQString\fP &pKey, const \fBQStrList\fP &rValue, char sep= ',', bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const char *pKey, const \fBQStrList\fP &rValue, char sep= ',', bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const \fBQString\fP &pKey, const \fBQStringList\fP &rValue, char sep= ',', bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const char *pKey, const \fBQStringList\fP &rValue, char sep= ',', bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const \fBQString\fP &pKey, const \fBQValueList\fP< int > &rValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const char *pKey, const \fBQValueList\fP< int > &rValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const \fBQString\fP &pKey, const char *pValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const char *pKey, const char *pValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const \fBQString\fP &pKey, int nValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const char *pKey, int nValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const \fBQString\fP &pKey, unsigned int nValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const char *pKey, unsigned int nValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const \fBQString\fP &pKey, long nValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const char *pKey, long nValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const \fBQString\fP &pKey, unsigned long nValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const char *pKey, unsigned long nValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const \fBQString\fP &pKey, Q_INT64 nValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const char *pKey, Q_INT64 nValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const \fBQString\fP &pKey, Q_UINT64 nValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const char *pKey, Q_UINT64 nValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const \fBQString\fP &pKey, double nValue, bool bPersistent=true, bool bGlobal=false, char format= 'g', int precision=6, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const char *pKey, double nValue, bool bPersistent=true, bool bGlobal=false, char format= 'g', int precision=6, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const \fBQString\fP &pKey, bool bValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const char *pKey, bool bValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const \fBQString\fP &pKey, const \fBQFont\fP &rFont, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const char *pKey, const \fBQFont\fP &rFont, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const \fBQString\fP &pKey, const \fBQColor\fP &rColor, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const char *pKey, const \fBQColor\fP &rColor, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const \fBQString\fP &pKey, const \fBQDateTime\fP &rDateTime, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const char *pKey, const \fBQDateTime\fP &rDateTime, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const \fBQString\fP &pKey, const \fBQRect\fP &rValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const char *pKey, const \fBQRect\fP &rValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const \fBQString\fP &pKey, const \fBQPoint\fP &rValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const char *pKey, const \fBQPoint\fP &rValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const \fBQString\fP &pKey, const \fBQSize\fP &rValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwriteEntry\fP (const char *pKey, const \fBQSize\fP &rValue, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwritePathEntry\fP (const \fBQString\fP &pKey, const \fBQString\fP &path, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwritePathEntry\fP (const char *pKey, const \fBQString\fP &path, bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwritePathEntry\fP (const \fBQString\fP &pKey, const \fBQStringList\fP &rValue, char sep= ',', bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBwritePathEntry\fP (const char *pKey, const \fBQStringList\fP &rValue, char sep= ',', bool bPersistent=true, bool bGlobal=false, bool bNLS=false)"
.br
.ti -1c
.RI "void \fBdeleteEntry\fP (const \fBQString\fP &pKey, bool bNLS=false, bool bGlobal=false)"
.br
.ti -1c
.RI "void \fBdeleteEntry\fP (const char *pKey, bool bNLS=false, bool bGlobal=false)"
.br
.ti -1c
.RI "bool \fBdeleteGroup\fP (const \fBQString\fP &group, bool bDeep=true, bool bGlobal=false)"
.br
.ti -1c
.RI "void \fBsetDollarExpansion\fP (bool _bExpand=true)"
.br
.ti -1c
.RI "bool \fBisDollarExpansion\fP () const "
.br
.ti -1c
.RI "virtual void \fBrollback\fP (bool bDeep=true)"
.br
.ti -1c
.RI "virtual void \fBsync\fP ()"
.br
.ti -1c
.RI "bool \fBisDirty\fP () const "
.br
.ti -1c
.RI "virtual void \fBsetReadOnly\fP (bool _ro)"
.br
.ti -1c
.RI "bool \fBisReadOnly\fP () const "
.br
.ti -1c
.RI "bool \fBhasKey\fP (const \fBQString\fP &key) const "
.br
.ti -1c
.RI "virtual \fBQMap\fP< \fBQString\fP, \fBQString\fP > \fBentryMap\fP (const \fBQString\fP &group) const =0"
.br
.ti -1c
.RI "virtual void \fBreparseConfiguration\fP ()=0"
.br
.ti -1c
.RI "bool \fBisImmutable\fP () const "
.br
.ti -1c
.RI "bool \fBgroupIsImmutable\fP (const \fBQString\fP &group) const "
.br
.ti -1c
.RI "bool \fBentryIsImmutable\fP (const \fBQString\fP &key) const "
.br
.ti -1c
.RI "\fBConfigState\fP \fBgetConfigState\fP () const "
.br
.ti -1c
.RI "bool \fBcheckConfigFilesWritable\fP (bool warnUser)"
.br
.ti -1c
.RI "void \fBsetReadDefaults\fP (bool b)"
.br
.ti -1c
.RI "bool \fBreadDefaults\fP () const "
.br
.ti -1c
.RI "void \fBrevertToDefault\fP (const \fBQString\fP &key)"
.br
.ti -1c
.RI "bool \fBhasDefault\fP (const \fBQString\fP &key) const "
.br
.ti -1c
.RI "void \fBsetGroup\fP (const \fBQCString\fP &pGroup)"
.br
.ti -1c
.RI "void \fBsetGroup\fP (const char *pGroup)"
.br
.ti -1c
.RI "bool \fBhasGroup\fP (const \fBQCString\fP &_pGroup) const "
.br
.ti -1c
.RI "bool \fBhasGroup\fP (const char *_pGroup) const "
.br
.ti -1c
.RI "bool \fBhasKey\fP (const char *pKey) const "
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "void \fBsetLocale\fP ()"
.br
.ti -1c
.RI "virtual void \fBsetDirty\fP (bool _bDirty=true)"
.br
.ti -1c
.RI "virtual void \fBparseConfigFiles\fP ()"
.br
.ti -1c
.RI "virtual KEntryMap \fBinternalEntryMap\fP (const \fBQString\fP &pGroup) const =0"
.br
.ti -1c
.RI "virtual KEntryMap \fBinternalEntryMap\fP () const =0"
.br
.ti -1c
.RI "virtual void \fBputData\fP (const \fBKEntryKey\fP &_key, const \fBKEntry\fP &_data, bool _checkGroup=true)=0"
.br
.ti -1c
.RI "virtual \fBKEntry\fP \fBlookupData\fP (const \fBKEntryKey\fP &_key) const =0"
.br
.ti -1c
.RI "virtual bool \fBinternalHasGroup\fP (const \fBQCString\fP &group) const =0"
.br
.ti -1c
.RI "\fBQCString\fP \fBreadEntryUtf8\fP (const char *pKey) const "
.br
.ti -1c
.RI "virtual void \fBvirtual_hook\fP (int id, void *data)"
.br
.in -1c
.SS "Protected Attributes"

.in +1c
.ti -1c
.RI "\fBKConfigBackEnd\fP * \fBbackEnd\fP"
.br
.ti -1c
.RI "\fBQCString\fP \fBmGroup\fP"
.br
.ti -1c
.RI "\fBQCString\fP \fBaLocaleString\fP"
.br
.ti -1c
.RI "bool \fBbDirty\fP"
.br
.ti -1c
.RI "bool \fBbLocaleInitialized\fP"
.br
.ti -1c
.RI "bool \fBbReadOnly\fP"
.br
.ti -1c
.RI "bool \fBbExpand\fP"
.br
.in -1c
.SS "Friends"

.in +1c
.ti -1c
.RI "class \fBKConfigBackEnd\fP"
.br
.ti -1c
.RI "class \fBKConfigINIBackEnd\fP"
.br
.ti -1c
.RI "class \fBKConfigGroup\fP"
.br
.in -1c
.SH "Detailed Description"
.PP 
\fBKDE\fP Configuration Management abstract base class. 

This class forms the base for all KDE configuration. It is an abstract base class, meaning that you cannot directly instantiate objects of this class. Either use \fBKConfig\fP (for usual KDE configuration) or \fBKSimpleConfig\fP (for special needs as in ksamba), or even \fBKSharedConfig\fP (stores values in shared memory).
.PP
All configuration entries are key, value pairs. Each entry also belongs to a specific group of related entries. All configuration entries that do not explicitly specify which group they are in are in a special group called the default group.
.PP
If there is a $ character in an entry, KConfigBase tries to expand environment variable and uses its value instead of its name. You can avoid this feature by having two consecutive $ characters in your config file which get expanded to one.
.PP
\fBNote:\fP
.RS 4
the '=' char is not allowed in keys and the ']' char is not allowed in a group name.
.RE
.PP
\fBAuthor:\fP
.RS 4
Kalle Dalheimer <kalle@kde.org>, Preston Brown <pbrown@kde.org> 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBKGlobal::config()\fP 
.PP
\fBKConfig\fP 
.PP
\fBKSimpleConfig\fP 
.PP
\fBKSharedConfig\fP 
.RE
.PP

.PP
Definition at line 70 of file kconfigbase.h.
.SH "Member Enumeration Documentation"
.PP 
.SS "enum \fBKConfigBase::ConfigState\fP"
.PP
Possible return values for \fBgetConfigState()\fP. 
.PP
\fBSee also:\fP
.RS 4
\fBgetConfigState()\fP 
.RE
.PP

.PP
Definition at line 1804 of file kconfigbase.h.
.SH "Constructor & Destructor Documentation"
.PP 
.SS "KConfigBase::KConfigBase ()"
.PP
Construct a KConfigBase object. 
.PP
Definition at line 50 of file kconfigbase.cpp.
.PP
References backEnd, bDirty, and setGroup().
.SS "KConfigBase::~\fBKConfigBase\fP ()\fC [virtual]\fP"
.PP
Destructs the KConfigBase object. 
.PP
Definition at line 57 of file kconfigbase.cpp.
.SH "Member Function Documentation"
.PP 
.SS "void KConfigBase::setGroup (const \fBQString\fP & group)"
.PP
Specifies the group in which keys will be read and written. 
.PP
Subsequent calls to \fBreadEntry()\fP and \fBwriteEntry()\fP will be applied only in the activated group.
.PP
Switch back to the default group by passing a null string. 
.PP
\fBParameters:\fP
.RS 4
\fIgroup\fP The name of the new group. 
.RE
.PP

.PP
Definition at line 79 of file kconfigbase.cpp.
.PP
References group(), QString::isEmpty(), mGroup, and QString::utf8().
.PP
Referenced by KConfig::checkUpdate(), KNotifyClient::getDefaultFile(), KNotifyClient::getDefaultPresentation(), KNotifyClient::getFile(), KNotifyClient::getPresentation(), KIconEffect::init(), KApplication::invokeMailer(), KConfigBase(), KIconTheme::KIconTheme(), KLocale::languagesTwoAlpha(), and KDesktopFile::setActionGroup().
.SS "void KConfigBase::setDesktopGroup ()"
.PP
Sets the group to the 'Desktop Entry' group used for desktop configuration files for applications, mime types, etc. 
.PP
Definition at line 104 of file kconfigbase.cpp.
.PP
References mGroup.
.PP
Referenced by KDesktopFile::copyTo(), and KDesktopFile::KDesktopFile().
.SS "\fBQString\fP KConfigBase::group () const"
.PP
Returns the name of the group in which we are searching for keys and from which we are retrieving entries. 
.PP
\fBReturns:\fP
.RS 4
The current group. 
.RE
.PP

.PP
Definition at line 100 of file kconfigbase.cpp.
.PP
References QString::fromUtf8(), and mGroup.
.PP
Referenced by KConfig::checkUpdate(), deleteGroup(), groupIsImmutable(), hasGroup(), and setGroup().
.SS "bool KConfigBase::hasGroup (const \fBQString\fP & group) const"
.PP
Returns true if the specified group is known about. 
.PP
\fBParameters:\fP
.RS 4
\fIgroup\fP The group to search for. 
.RE
.PP
\fBReturns:\fP
.RS 4
true if the group exists. 
.RE
.PP

.PP
Definition at line 134 of file kconfigbase.cpp.
.PP
References group(), and QString::utf8().
.PP
Referenced by KDesktopFile::hasActionGroup().
.SS "virtual \fBQStringList\fP KConfigBase::groupList () const\fC [pure virtual]\fP"
.PP
Returns a list of groups that are known about. 
.PP
\fBReturns:\fP
.RS 4
The list of groups. 
.RE
.PP

.PP
Implemented in \fBKConfig\fP.
.SS "\fBQString\fP KConfigBase::locale () const"
.PP
Returns a the current locale. 
.PP
\fBReturns:\fP
.RS 4
A string representing the current locale. 
.RE
.PP

.PP
Definition at line 74 of file kconfigbase.cpp.
.PP
References aLocaleString, and QString::fromUtf8().
.PP
Referenced by hasDefault(), and revertToDefault().
.SS "\fBQString\fP KConfigBase::readEntry (const \fBQString\fP & pKey, const \fBQString\fP & aDefault = \fCQString::null\fP) const"
.PP
Reads the value of an entry specified by \fCpKey\fP in the current group. 
.PP
If you want to read a path, please use \fBreadPathEntry()\fP.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fIaDefault\fP A default value returned if the key was not found. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. Can be QString::null if aDefault is null. 
.RE
.PP

.PP
Definition at line 203 of file kconfigbase.cpp.
.PP
Referenced by KGlobalSettings::contextMenuKey(), KIconTheme::current(), KDesktopFile::hasApplicationType(), KDesktopFile::hasDeviceType(), KDesktopFile::hasLinkType(), KDesktopFile::hasMimeTypeType(), KIconEffect::init(), KApplication::invokeMailer(), KIconTheme::KIconTheme(), KGlobalSettings::mouseSettings(), readColorEntry(), KDesktopFile::readComment(), KDesktopFile::readDevice(), readFontEntry(), KDesktopFile::readGenericName(), KDesktopFile::readIcon(), readListEntry(), KDesktopFile::readName(), readNum64Entry(), readPathEntry(), readPropertyEntry(), KDesktopFile::readType(), readUnsignedNum64Entry(), and KDesktopFile::tryExec().
.SS "\fBQString\fP KConfigBase::readEntry (const char * pKey, const \fBQString\fP & aDefault = \fCQString::null\fP) const"
.PP
Reads the value of an entry specified by \fCpKey\fP in the current group. 
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fIaDefault\fP A default value returned if the key was not found. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. Can be QString::null if aDefault is null. 
.RE
.PP

.PP
Definition at line 209 of file kconfigbase.cpp.
.PP
References QString::ascii(), KEntryKey::bDefault, KEntry::bExpand, KEntryKey::bLocal, KEntryKey::c_key, QString::find(), KStringHandler::from8Bit(), QString::fromUtf8(), QString::isEmpty(), QString::isNull(), QCString::isNull(), QString::length(), lookupData(), mGroup, QString::mid(), KEntry::mValue, QTextStream::read(), readDefaults(), QString::remove(), QString::replace(), setLocale(), and KGlobal::staticQString().
.SS "\fBQVariant\fP KConfigBase::readPropertyEntry (const \fBQString\fP & pKey, QVariant::Type) const"
.PP
Reads the value of an entry specified by \fCpKey\fP in the current group. 
.PP
The value is treated as if it is of the given type.
.PP
Note that only the following \fBQVariant\fP types are allowed : String, StringList, List, Font, Point, Rect, Size, Color, Int, UInt, Bool, Double, DateTime and Date. 
.PP
\fBDeprecated\fP
.RS 4
.RE
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.RE
.PP
\fBReturns:\fP
.RS 4
An invalid \fBQVariant\fP if the key was not found or if the read value cannot be converted to the given QVariant::Type. 
.RE
.PP

.PP
Definition at line 333 of file kconfigbase.cpp.
.PP
Referenced by readPropertyEntry().
.SS "\fBQVariant\fP KConfigBase::readPropertyEntry (const char * pKey, QVariant::Type) const"
.PP
Reads the value of an entry specified by \fCpKey\fP in the current group. 
.PP
The value is treated as if it is of the given type.
.PP
Note that only the following \fBQVariant\fP types are allowed : String, StringList, List, Font, Point, Rect, Size, Color, Int, UInt, Bool, Double, DateTime and Date.
.PP
\fBDeprecated\fP
.RS 4
.RE
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.RE
.PP
\fBReturns:\fP
.RS 4
An invalid \fBQVariant\fP if the key was not found or if the read value cannot be converted to the given QVariant::Type. 
.RE
.PP

.PP
Definition at line 339 of file kconfigbase.cpp.
.PP
References QVariant::cast(), hasKey(), and readPropertyEntry().
.SS "\fBQVariant\fP KConfigBase::readPropertyEntry (const \fBQString\fP & pKey, const \fBQVariant\fP & aDefault) const"
.PP
Reads the value of an entry specified by \fCpKey\fP in the current group. 
.PP
The value is treated as if it is of the type of the given default value.
.PP
Note that only the following \fBQVariant\fP types are allowed : String, StringList, List, Font, Point, Rect, Size, Color, Int, UInt, Bool, Double, DateTime and Date.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fIaDefault\fP A default value returned if the key was not found or if the read value cannot be converted to the QVariant::Type. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for the key or the default value if the key was not found. 
.RE
.PP

.PP
Definition at line 348 of file kconfigbase.cpp.
.PP
References readPropertyEntry().
.SS "\fBQVariant\fP KConfigBase::readPropertyEntry (const char * pKey, const \fBQVariant\fP & aDefault) const"
.PP
Reads the value of an entry specified by \fCpKey\fP in the current group. 
.PP
The value is treated as if it is of the type of the given default value.
.PP
Note that only the following \fBQVariant\fP types are allowed : String, StringList, List, Font, Point, Rect, Size, Color, Int, UInt, Bool, Double, DateTime and Date.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fIaDefault\fP A default value returned if the key was not found or if the read value cannot be converted to the QVariant::Type. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for the key or the default value if the key was not found. 
.RE
.PP

.PP
Definition at line 354 of file kconfigbase.cpp.
.PP
References QValueList::append(), QVariant::asColor(), QVariant::asDateTime(), QVariant::asFont(), QVariant::asPoint(), QVariant::asRect(), QVariant::asSize(), QDateTime::date(), hasKey(), readBoolEntry(), readColorEntry(), readDateTimeEntry(), readDoubleNumEntry(), readEntry(), readFontEntry(), readListEntry(), readNum64Entry(), readNumEntry(), readPointEntry(), readRectEntry(), readSizeEntry(), readUnsignedNum64Entry(), and readUnsignedNumEntry().
.SS "int KConfigBase::readListEntry (const \fBQString\fP & pKey, \fBQStrList\fP & list, char sep = \fC','\fP) const"
.PP
Reads a list of strings. 
.PP
\fBDeprecated\fP
.RS 4
.RE
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for 
.br
\fIlist\fP In this object, the read list will be returned. 
.br
\fIsep\fP The list separator (default ',') 
.RE
.PP
\fBReturns:\fP
.RS 4
The number of entries in the list. 
.RE
.PP

.PP
Definition at line 433 of file kconfigbase.cpp.
.PP
Referenced by KConfig::checkUpdate(), KIconTheme::KIconTheme(), KLocale::languagesTwoAlpha(), KDesktopFile::readActions(), readDateTimeEntry(), readIntListEntry(), readListEntry(), readPathListEntry(), readPropertyEntry(), KDesktopFile::sortOrder(), and KDesktopFile::tryExec().
.SS "int KConfigBase::readListEntry (const char * pKey, \fBQStrList\fP & list, char sep = \fC','\fP) const"
.PP
Reads a list of strings. 
.PP
\fBDeprecated\fP
.RS 4
.RE
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for 
.br
\fIlist\fP In this object, the read list will be returned. 
.br
\fIsep\fP The list separator (default ',') 
.RE
.PP
\fBReturns:\fP
.RS 4
The number of entries in the list. 
.RE
.PP

.PP
Definition at line 439 of file kconfigbase.cpp.
.PP
References QCString::append(), hasKey(), QCString::isEmpty(), QCString::length(), and QCString::truncate().
.SS "\fBQStringList\fP KConfigBase::readListEntry (const \fBQString\fP & pKey, char sep = \fC','\fP) const"
.PP
Reads a list of strings. 
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fIsep\fP The list separator (default is ','). 
.RE
.PP
\fBReturns:\fP
.RS 4
The list. Empty if the entry does not exist. 
.RE
.PP

.PP
Definition at line 478 of file kconfigbase.cpp.
.PP
References readListEntry().
.SS "\fBQStringList\fP KConfigBase::readListEntry (const char * pKey, char sep = \fC','\fP) const"
.PP
Reads a list of strings. 
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fIsep\fP The list separator (default is ','). 
.RE
.PP
\fBReturns:\fP
.RS 4
The list. Empty if the entry does not exist. 
.RE
.PP

.PP
Definition at line 483 of file kconfigbase.cpp.
.PP
References hasKey(), QString::isEmpty(), QString::length(), readEntry(), QString::reserve(), QString::squeeze(), KGlobal::staticQString(), and QString::truncate().
.SS "\fBQStringList\fP KConfigBase::readListEntry (const char * pKey, const \fBQStringList\fP & aDefault, char sep = \fC','\fP) const"
.PP
Reads a list of strings, but returns a default if the key did not exist. 
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fIaDefault\fP The default value to use if the key does not exist. 
.br
\fIsep\fP The list separator (default is ','). 
.RE
.PP
\fBReturns:\fP
.RS 4
The list. Contains \fCaDefault\fP if the Key does not exist. 
.RE
.PP
\fBSince:\fP
.RS 4
3.3 
.RE
.PP

.PP
Definition at line 524 of file kconfigbase.cpp.
.PP
References hasKey(), and readListEntry().
.SS "\fBQValueList\fP< int > KConfigBase::readIntListEntry (const \fBQString\fP & pKey) const"
.PP
Reads a list of Integers. 
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.RE
.PP
\fBReturns:\fP
.RS 4
The list. Empty if the entry does not exist. 
.RE
.PP

.PP
Definition at line 533 of file kconfigbase.cpp.
.PP
Referenced by KIconTheme::KIconTheme().
.SS "\fBQValueList\fP< int > KConfigBase::readIntListEntry (const char * pKey) const"
.PP
Reads a list of Integers. 
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.RE
.PP
\fBReturns:\fP
.RS 4
The list. Empty if the entry does not exist. 
.RE
.PP

.PP
Definition at line 538 of file kconfigbase.cpp.
.PP
References readListEntry().
.SS "\fBQString\fP KConfigBase::readPathEntry (const \fBQString\fP & pKey, const \fBQString\fP & aDefault = \fCQString::null\fP) const"
.PP
Reads a path. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it as a path. This means, dollar expansion is activated for this value, so that e.g. $HOME gets expanded.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fIaDefault\fP A default value returned if the key was not found. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. Can be QString::null if aDefault is null. 
.RE
.PP

.PP
Definition at line 550 of file kconfigbase.cpp.
.PP
Referenced by KCharsets::codecForName(), KNotifyClient::getDefaultFile(), KNotifyClient::getFile(), KApplication::invokeMailer(), KIconTheme::KIconTheme(), KDesktopFile::readDocPath(), KDesktopFile::readPath(), KDesktopFile::readURL(), and KDesktopFile::tryExec().
.SS "\fBQString\fP KConfigBase::readPathEntry (const char * pKey, const \fBQString\fP & aDefault = \fCQString::null\fP) const"
.PP
Reads a path. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it as a path. This means, dollar expansion is activated for this value, so that e.g. $HOME gets expanded.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fIaDefault\fP A default value returned if the key was not found. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. Can be QString::null if aDefault is null. 
.RE
.PP

.PP
Definition at line 555 of file kconfigbase.cpp.
.PP
References readEntry().
.SS "\fBQStringList\fP KConfigBase::readPathListEntry (const \fBQString\fP & pKey, char sep = \fC','\fP) const"
.PP
Reads a list of string paths. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it as a list of paths. This means, dollar expansion is activated for this value, so that e.g. $HOME gets expanded.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fIsep\fP The list separator (default is ','). 
.RE
.PP
\fBReturns:\fP
.RS 4
The list. Empty if the entry does not exist. 
.RE
.PP
\fBSince:\fP
.RS 4
3.1.3 
.RE
.PP

.PP
Definition at line 564 of file kconfigbase.cpp.
.PP
Referenced by KIconTheme::KIconTheme().
.SS "\fBQStringList\fP KConfigBase::readPathListEntry (const char * pKey, char sep = \fC','\fP) const"
.PP
Reads a list of string paths. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it as a list of paths. This means, dollar expansion is activated for this value, so that e.g. $HOME gets expanded.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fIsep\fP The list separator (default is ','). 
.RE
.PP
\fBReturns:\fP
.RS 4
The list. Empty if the entry does not exist. 
.RE
.PP
\fBSince:\fP
.RS 4
3.1.3 
.RE
.PP

.PP
Definition at line 569 of file kconfigbase.cpp.
.PP
References readListEntry().
.SS "int KConfigBase::readNumEntry (const \fBQString\fP & pKey, int nDefault = \fC0\fP) const"
.PP
Reads a numerical value. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it numerically.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fInDefault\fP A default value returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 578 of file kconfigbase.cpp.
.PP
Referenced by KGlobalSettings::autoSelectDelay(), KGlobalSettings::buttonLayout(), KGlobalSettings::completionMode(), KGlobalSettings::contrast(), KGlobalSettings::dndEventDelay(), KNotifyClient::getDefaultPresentation(), KNotifyClient::getPresentation(), KGlobalSettings::insertTearOffHandle(), KIconTheme::KIconTheme(), readPropertyEntry(), KGlobalSettings::splashScreenDesktopGeometry(), and KGlobalSettings::visualActivateSpeed().
.SS "int KConfigBase::readNumEntry (const char * pKey, int nDefault = \fC0\fP) const"
.PP
Reads a numerical value. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it numerically.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fInDefault\fP A default value returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 583 of file kconfigbase.cpp.
.PP
References QCString::isNull(), and QCString::toInt().
.SS "unsigned int KConfigBase::readUnsignedNumEntry (const \fBQString\fP & pKey, unsigned int nDefault = \fC0\fP) const"
.PP
Reads an unsigned numerical value. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it numerically.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fInDefault\fP A default value returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 599 of file kconfigbase.cpp.
.PP
Referenced by readPropertyEntry().
.SS "unsigned int KConfigBase::readUnsignedNumEntry (const char * pKey, unsigned int nDefault = \fC0\fP) const"
.PP
Reads an unsigned numerical value. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it numerically.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fInDefault\fP A default value returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 604 of file kconfigbase.cpp.
.PP
References QCString::isNull(), and QCString::toUInt().
.SS "long KConfigBase::readLongNumEntry (const \fBQString\fP & pKey, long nDefault = \fC0\fP) const"
.PP
Reads a numerical value. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it numerically.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fInDefault\fP A default value returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 618 of file kconfigbase.cpp.
.SS "long KConfigBase::readLongNumEntry (const char * pKey, long nDefault = \fC0\fP) const"
.PP
Reads a numerical value. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it numerically.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fInDefault\fP A default value returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 623 of file kconfigbase.cpp.
.PP
References QCString::isNull(), and QCString::toLong().
.SS "unsigned long KConfigBase::readUnsignedLongNumEntry (const \fBQString\fP & pKey, unsigned long nDefault = \fC0\fP) const"
.PP
Read an unsigned numerical value. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it numerically.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fInDefault\fP A default value returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 637 of file kconfigbase.cpp.
.SS "unsigned long KConfigBase::readUnsignedLongNumEntry (const char * pKey, unsigned long nDefault = \fC0\fP) const"
.PP
Read an unsigned numerical value. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it numerically.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fInDefault\fP A default value returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 642 of file kconfigbase.cpp.
.PP
References QCString::isNull(), and QCString::toULong().
.SS "Q_INT64 KConfigBase::readNum64Entry (const \fBQString\fP & pKey, Q_INT64 nDefault = \fC0\fP) const"
.PP
Reads a 64-bit numerical value. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it numerically.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fInDefault\fP A default value returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 655 of file kconfigbase.cpp.
.PP
Referenced by readPropertyEntry().
.SS "Q_INT64 KConfigBase::readNum64Entry (const char * pKey, Q_INT64 nDefault = \fC0\fP) const"
.PP
Reads a 64-bit numerical value. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it numerically.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fInDefault\fP A default value returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 660 of file kconfigbase.cpp.
.PP
References QString::isNull(), readEntry(), and QString::toLongLong().
.SS "Q_UINT64 KConfigBase::readUnsignedNum64Entry (const \fBQString\fP & pKey, Q_UINT64 nDefault = \fC0\fP) const"
.PP
Read an 64-bit unsigned numerical value. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it numerically.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fInDefault\fP A default value returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 675 of file kconfigbase.cpp.
.PP
Referenced by readPropertyEntry().
.SS "Q_UINT64 KConfigBase::readUnsignedNum64Entry (const char * pKey, Q_UINT64 nDefault = \fC0\fP) const"
.PP
Read an 64-bit unsigned numerical value. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it numerically.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fInDefault\fP A default value returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 680 of file kconfigbase.cpp.
.PP
References QString::isNull(), readEntry(), and QString::toULongLong().
.SS "double KConfigBase::readDoubleNumEntry (const \fBQString\fP & pKey, double nDefault = \fC0.0\fP) const"
.PP
Reads a floating point value. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it numerically.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fInDefault\fP A default value returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 694 of file kconfigbase.cpp.
.PP
Referenced by KIconEffect::init(), and readPropertyEntry().
.SS "double KConfigBase::readDoubleNumEntry (const char * pKey, double nDefault = \fC0.0\fP) const"
.PP
Reads a floating point value. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it numerically.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fInDefault\fP A default value returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 699 of file kconfigbase.cpp.
.PP
References QCString::isNull(), and QCString::toDouble().
.SS "\fBQFont\fP KConfigBase::readFontEntry (const \fBQString\fP & pKey, const \fBQFont\fP * pDefault = \fC0L\fP) const"
.PP
Reads a \fBQFont\fP value. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it as a font object.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fIpDefault\fP A default value (null \fBQFont\fP by default) returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 740 of file kconfigbase.cpp.
.PP
Referenced by KGlobalSettings::fixedFont(), KGlobalSettings::generalFont(), KGlobalSettings::menuFont(), readPropertyEntry(), KGlobalSettings::taskbarFont(), KGlobalSettings::toolBarFont(), and KGlobalSettings::windowTitleFont().
.SS "\fBQFont\fP KConfigBase::readFontEntry (const char * pKey, const \fBQFont\fP * pDefault = \fC0L\fP) const"
.PP
Reads a \fBQFont\fP value. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it as a font object.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fIpDefault\fP A default value (null \fBQFont\fP by default) returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 745 of file kconfigbase.cpp.
.PP
References QString::contains(), QString::find(), QFont::fromString(), QString::isNull(), QString::left(), QString::length(), QString::mid(), readEntry(), QString::right(), QFont::setFamily(), QFont::setFixedPitch(), QFont::setItalic(), QFont::setPointSize(), QFont::setRawMode(), QFont::setStrikeOut(), QFont::setStyleHint(), QFont::setUnderline(), QFont::setWeight(), QString::toInt(), and QString::toUInt().
.SS "bool KConfigBase::readBoolEntry (const \fBQString\fP & pKey, bool bDefault = \fCfalse\fP) const"
.PP
Reads a boolean entry. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it as a boolean value. Currently 'on' and 'true' are accepted as true, everything else if false.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for 
.br
\fIbDefault\fP A default value returned if the key was not found. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 713 of file kconfigbase.cpp.
.PP
Referenced by KApplication::authorize(), KApplication::authorizeControlModule(), KApplication::authorizeControlModules(), KGlobalSettings::changeCursorOverIcon(), KGlobalSettings::desktopGeometry(), KIconEffect::init(), KGlobalSettings::insertTearOffHandle(), KNotifyClient::Instance::Instance(), KApplication::invokeMailer(), KIconTheme::KIconTheme(), KGlobalSettings::opaqueResize(), readPropertyEntry(), KGlobalSettings::shadeSortColumn(), KGlobalSettings::showContextMenusOnPress(), KGlobalSettings::showFilePreview(), KGlobalSettings::showIconsOnPushButtons(), KGlobalSettings::singleClick(), KGlobalSettings::splashScreenDesktopGeometry(), KDesktopFile::tryExec(), KGlobalSettings::visualActivate(), and KGlobalSettings::wheelMouseZooms().
.SS "bool KConfigBase::readBoolEntry (const char * pKey, bool bDefault = \fCfalse\fP) const"
.PP
Reads a boolean entry. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it as a boolean value. Currently 'on' and 'true' are accepted as true, everything else if false.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for 
.br
\fIbDefault\fP A default value returned if the key was not found. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 718 of file kconfigbase.cpp.
.PP
References QCString::isNull(), and QCString::toInt().
.SS "\fBQRect\fP KConfigBase::readRectEntry (const \fBQString\fP & pKey, const \fBQRect\fP * pDefault = \fC0L\fP) const"
.PP
Reads a \fBQRect\fP entry. 
.PP
Read the value of an entry specified by pKey in the current group and interpret it as a \fBQRect\fP object.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for 
.br
\fIpDefault\fP A default value (null \fBQRect\fP by default) returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 837 of file kconfigbase.cpp.
.PP
Referenced by readPropertyEntry().
.SS "\fBQRect\fP KConfigBase::readRectEntry (const char * pKey, const \fBQRect\fP * pDefault = \fC0L\fP) const"
.PP
Reads a \fBQRect\fP entry. 
.PP
Read the value of an entry specified by pKey in the current group and interpret it as a \fBQRect\fP object.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for 
.br
\fIpDefault\fP A default value (null \fBQRect\fP by default) returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 842 of file kconfigbase.cpp.
.PP
References QCString::isEmpty().
.SS "\fBQPoint\fP KConfigBase::readPointEntry (const \fBQString\fP & pKey, const \fBQPoint\fP * pDefault = \fC0L\fP) const"
.PP
Reads a \fBQPoint\fP entry. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it as a \fBQPoint\fP object.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for 
.br
\fIpDefault\fP A default value (null \fBQPoint\fP by default) returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 861 of file kconfigbase.cpp.
.PP
Referenced by readPropertyEntry().
.SS "\fBQPoint\fP KConfigBase::readPointEntry (const char * pKey, const \fBQPoint\fP * pDefault = \fC0L\fP) const"
.PP
Reads a \fBQPoint\fP entry. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it as a \fBQPoint\fP object.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for 
.br
\fIpDefault\fP A default value (null \fBQPoint\fP by default) returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 867 of file kconfigbase.cpp.
.PP
References QCString::isEmpty().
.SS "\fBQSize\fP KConfigBase::readSizeEntry (const \fBQString\fP & pKey, const \fBQSize\fP * pDefault = \fC0L\fP) const"
.PP
Reads a \fBQSize\fP entry. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it as a \fBQSize\fP object.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for 
.br
\fIpDefault\fP A default value (null \fBQSize\fP by default) returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 886 of file kconfigbase.cpp.
.PP
Referenced by readPropertyEntry().
.SS "\fBQSize\fP KConfigBase::readSizeEntry (const char * pKey, const \fBQSize\fP * pDefault = \fC0L\fP) const"
.PP
Reads a \fBQSize\fP entry. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it as a \fBQSize\fP object.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for 
.br
\fIpDefault\fP A default value (null \fBQSize\fP by default) returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 892 of file kconfigbase.cpp.
.PP
References QCString::isEmpty().
.SS "\fBQColor\fP KConfigBase::readColorEntry (const \fBQString\fP & pKey, const \fBQColor\fP * pDefault = \fC0L\fP) const"
.PP
Reads a \fBQColor\fP entry. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it as a color.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fIpDefault\fP A default value (null \fBQColor\fP by default) returned if the key was not found or if the value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 912 of file kconfigbase.cpp.
.PP
Referenced by KGlobalSettings::activeTextColor(), KGlobalSettings::activeTitleColor(), KGlobalSettings::alternateBackgroundColor(), KGlobalSettings::baseColor(), KGlobalSettings::buttonBackground(), KGlobalSettings::buttonTextColor(), KGlobalSettings::highlightColor(), KGlobalSettings::highlightedTextColor(), KGlobalSettings::inactiveTextColor(), KGlobalSettings::inactiveTitleColor(), KIconEffect::init(), KGlobalSettings::linkColor(), readPropertyEntry(), KGlobalSettings::textColor(), KGlobalSettings::toolBarHighlightColor(), and KGlobalSettings::visitedLinkColor().
.SS "\fBQColor\fP KConfigBase::readColorEntry (const char * pKey, const \fBQColor\fP * pDefault = \fC0L\fP) const"
.PP
Reads a \fBQColor\fP entry. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it as a color.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fIpDefault\fP A default value (null \fBQColor\fP by default) returned if the key was not found or if the value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 918 of file kconfigbase.cpp.
.PP
References QString::at(), QString::find(), QString::isEmpty(), QString::left(), QString::length(), QString::mid(), readEntry(), QString::right(), QColor::setNamedColor(), QColor::setRgb(), and QString::toInt().
.SS "\fBQDateTime\fP KConfigBase::readDateTimeEntry (const \fBQString\fP & pKey, const \fBQDateTime\fP * pDefault = \fC0L\fP) const"
.PP
Reads a \fBQDateTime\fP entry. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it as a date and time.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fIpDefault\fP A default value ( currentDateTime() by default) returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 977 of file kconfigbase.cpp.
.PP
Referenced by readPropertyEntry().
.SS "\fBQDateTime\fP KConfigBase::readDateTimeEntry (const char * pKey, const \fBQDateTime\fP * pDefault = \fC0L\fP) const"
.PP
Reads a \fBQDateTime\fP entry. 
.PP
Read the value of an entry specified by \fCpKey\fP in the current group and interpret it as a date and time.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fIpDefault\fP A default value ( currentDateTime() by default) returned if the key was not found or if the read value cannot be interpreted. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 984 of file kconfigbase.cpp.
.PP
References QDateTime::currentDateTime(), hasKey(), and readListEntry().
.SS "\fBQString\fP KConfigBase::readEntryUntranslated (const \fBQString\fP & pKey, const \fBQString\fP & aDefault = \fCQString::null\fP) const"
.PP
Reads the value of an entry specified by \fCpKey\fP in the current group. 
.PP
The untranslated entry is returned, you normally do not need this.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fIaDefault\fP A default value returned if the key was not found. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 186 of file kconfigbase.cpp.
.SS "\fBQString\fP KConfigBase::readEntryUntranslated (const char * pKey, const \fBQString\fP & aDefault = \fCQString::null\fP) const"
.PP
Reads the value of an entry specified by \fCpKey\fP in the current group. 
.PP
The untranslated entry is returned, you normally do not need this.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to search for. 
.br
\fIaDefault\fP A default value returned if the key was not found. 
.RE
.PP
\fBReturns:\fP
.RS 4
The value for this key. 
.RE
.PP

.PP
Definition at line 193 of file kconfigbase.cpp.
.PP
References QString::fromUtf8(), and QCString::isNull().
.SS "void KConfigBase::writeEntry (const \fBQString\fP & pKey, const \fBQString\fP & pValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a key/value pair. 
.PP
This is stored in the most specific config file when destroying the config object or when calling \fBsync()\fP.
.PP
If you want to write a path, please use \fBwritePathEntry()\fP.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fIpValue\fP The value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1009 of file kconfigbase.cpp.
.PP
Referenced by writeEntry(), and writePathEntry().
.SS "void KConfigBase::writeEntry (const char * pKey, const \fBQString\fP & pValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a key/value pair. 
.PP
This is stored in the most specific config file when destroying the config object or when calling \fBsync()\fP.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fIpValue\fP The value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1017 of file kconfigbase.cpp.
.PP
References KEntry::bDirty, KEntry::bGlobal, KEntryKey::bLocal, KEntry::bNLS, mGroup, KEntry::mValue, putData(), setDirty(), and setLocale().
.SS "void KConfigBase::writeEntry (const \fBQString\fP & pKey, const \fBQVariant\fP & rValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
\fBwriteEntry()\fP Overridden to accept a property. 
.PP
Note: Unlike the other \fBwriteEntry()\fP functions, the old value is _not_ returned here!
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write 
.br
\fIrValue\fP The property to write 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back.
.RE
.PP
\fBSee also:\fP
.RS 4
\fBwriteEntry()\fP 
.RE
.PP

.PP
Definition at line 1214 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const char * pKey, const \fBQVariant\fP & rValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
\fBwriteEntry()\fP Overridden to accept a property. 
.PP
Note: Unlike the other \fBwriteEntry()\fP functions, the old value is _not_ returned here!
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write 
.br
\fIrValue\fP The property to write 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back.
.RE
.PP
\fBSee also:\fP
.RS 4
\fBwriteEntry()\fP 
.RE
.PP

.PP
Definition at line 1221 of file kconfigbase.cpp.
.PP
References QValueList::begin(), QValueList::end(), and writeEntry().
.SS "void KConfigBase::writeEntry (const \fBQString\fP & pKey, const \fBQStrList\fP & rValue, char sep = \fC','\fP, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
\fBwriteEntry()\fP overridden to accept a list of strings. 
.PP
Note: Unlike the other \fBwriteEntry()\fP functions, the old value is _not_ returned here!
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write 
.br
\fIrValue\fP The list to write 
.br
\fIsep\fP The list separator (default is ','). 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back.
.RE
.PP
\fBSee also:\fP
.RS 4
\fBwriteEntry()\fP 
.RE
.PP

.PP
Definition at line 1313 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const char * pKey, const \fBQStrList\fP & rValue, char sep = \fC','\fP, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
\fBwriteEntry()\fP overridden to accept a list of strings. 
.PP
Note: Unlike the other \fBwriteEntry()\fP functions, the old value is _not_ returned here!
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write 
.br
\fIrValue\fP The list to write 
.br
\fIsep\fP The list separator (default is ','). 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back.
.RE
.PP
\fBSee also:\fP
.RS 4
\fBwriteEntry()\fP 
.RE
.PP

.PP
Definition at line 1320 of file kconfigbase.cpp.
.PP
References QString::at(), KStringHandler::from8Bit(), QString::length(), QString::truncate(), and writeEntry().
.SS "void KConfigBase::writeEntry (const \fBQString\fP & pKey, const \fBQStringList\fP & rValue, char sep = \fC','\fP, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
\fBwriteEntry()\fP overridden to accept a list of strings. 
.PP
Note: Unlike the other \fBwriteEntry()\fP functions, the old value is _not_ returned here!
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write 
.br
\fIrValue\fP The list to write 
.br
\fIsep\fP The list separator (default is ','). 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back.
.RE
.PP
\fBSee also:\fP
.RS 4
\fBwriteEntry()\fP 
.RE
.PP

.PP
Definition at line 1352 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const char * pKey, const \fBQStringList\fP & rValue, char sep = \fC','\fP, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
\fBwriteEntry()\fP overridden to accept a list of strings. 
.PP
Note: Unlike the other \fBwriteEntry()\fP functions, the old value is _not_ returned here!
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write 
.br
\fIrValue\fP The list to write 
.br
\fIsep\fP The list separator (default is ','). 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back.
.RE
.PP
\fBSee also:\fP
.RS 4
\fBwriteEntry()\fP 
.RE
.PP

.PP
Definition at line 1359 of file kconfigbase.cpp.
.PP
References QString::at(), QString::length(), QString::reserve(), QString::truncate(), and writeEntry().
.SS "void KConfigBase::writeEntry (const \fBQString\fP & pKey, const \fBQValueList\fP< int > & rValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
\fBwriteEntry()\fP overridden to accept a list of Integers. 
.PP
Note: Unlike the other \fBwriteEntry()\fP functions, the old value is _not_ returned here!
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write 
.br
\fIrValue\fP The list to write 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back.
.RE
.PP
\fBSee also:\fP
.RS 4
\fBwriteEntry()\fP 
.RE
.PP

.PP
Definition at line 1388 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const char * pKey, const \fBQValueList\fP< int > & rValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
\fBwriteEntry()\fP overridden to accept a list of Integers. 
.PP
Note: Unlike the other \fBwriteEntry()\fP functions, the old value is _not_ returned here!
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write 
.br
\fIrValue\fP The list to write 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back.
.RE
.PP
\fBSee also:\fP
.RS 4
\fBwriteEntry()\fP 
.RE
.PP

.PP
Definition at line 1394 of file kconfigbase.cpp.
.PP
References QString::number(), and writeEntry().
.SS "void KConfigBase::writeEntry (const \fBQString\fP & pKey, const char * pValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)\fC [inline]\fP"
.PP
Write a (key/value) pair. 
.PP
This is stored to the most specific config file when destroying the config object or when calling \fBsync()\fP.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fIpValue\fP The value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 978 of file kconfigbase.h.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const char * pKey, const char * pValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)\fC [inline]\fP"
.PP
Write a (key/value) pair. 
.PP
This is stored to the most specific config file when destroying the config object or when calling \fBsync()\fP.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fIpValue\fP The value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 999 of file kconfigbase.h.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const \fBQString\fP & pKey, int nValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Write a (key/value) pair. 
.PP
Same as above, but writes a numerical value.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fInValue\fP The value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1404 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const char * pKey, int nValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Write a (key/value) pair. 
.PP
Same as above, but writes a numerical value.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fInValue\fP The value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1411 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const \fBQString\fP & pKey, unsigned int nValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but writes an unsigned numerical value.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fInValue\fP The value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1419 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const char * pKey, unsigned int nValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but writes an unsigned numerical value.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fInValue\fP The value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1426 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const \fBQString\fP & pKey, long nValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but write a long numerical value.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fInValue\fP The value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1434 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const char * pKey, long nValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but write a long numerical value.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fInValue\fP The value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1441 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const \fBQString\fP & pKey, unsigned long nValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but writes an unsigned long numerical value.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fInValue\fP The value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1449 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const char * pKey, unsigned long nValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but writes an unsigned long numerical value.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fInValue\fP The value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1456 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const \fBQString\fP & pKey, Q_INT64 nValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but write a 64-bit numerical value.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fInValue\fP The value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1463 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const char * pKey, Q_INT64 nValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but write a long numerical value.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fInValue\fP The value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1470 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const \fBQString\fP & pKey, Q_UINT64 nValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but writes an unsigned 64-bit numerical value.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fInValue\fP The value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1478 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const char * pKey, Q_UINT64 nValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but writes an unsigned 64-bit numerical value.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fInValue\fP The value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1485 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const \fBQString\fP & pKey, double nValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, char format = \fC'g'\fP, int precision = \fC6\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but writes a floating-point value. 
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fInValue\fP The value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIformat\fP \fCformat\fP determines the format to which the value is converted. Default is 'g'. 
.br
\fIprecision\fP \fCprecision\fP sets the precision with which the value is converted. Default is 6 as in \fBQString\fP. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1492 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const char * pKey, double nValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, char format = \fC'g'\fP, int precision = \fC6\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but writes a floating-point value. 
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fInValue\fP The value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIformat\fP \fCformat\fP determines the format to which the value is converted. Default is 'g'. 
.br
\fIprecision\fP \fCprecision\fP sets the precision with which the value is converted. Default is 6 as in \fBQString\fP. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1501 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const \fBQString\fP & pKey, bool bValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but writes a boolean value.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fIbValue\fP The value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1511 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const char * pKey, bool bValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but writes a boolean value.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fIbValue\fP The value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1519 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const \fBQString\fP & pKey, const \fBQFont\fP & rFont, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but writes a font value.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fIrFont\fP The font value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1535 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const char * pKey, const \fBQFont\fP & rFont, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but writes a font value.
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fIrFont\fP The font value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1542 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const \fBQString\fP & pKey, const \fBQColor\fP & rColor, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but write a color entry.
.PP
Note: Unlike the other \fBwriteEntry()\fP functions, the old value is _not_ returned here!
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fIrColor\fP The color value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1611 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const char * pKey, const \fBQColor\fP & rColor, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but write a color entry.
.PP
Note: Unlike the other \fBwriteEntry()\fP functions, the old value is _not_ returned here!
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fIrColor\fP The color value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1619 of file kconfigbase.cpp.
.PP
References QString::sprintf(), and writeEntry().
.SS "void KConfigBase::writeEntry (const \fBQString\fP & pKey, const \fBQDateTime\fP & rDateTime, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but writes a date and time entry.
.PP
Note: Unlike the other \fBwriteEntry()\fP functions, the old value is \fInot\fP returned here!
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fIrDateTime\fP The date and time value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1633 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const char * pKey, const \fBQDateTime\fP & rDateTime, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but writes a date and time entry.
.PP
Note: Unlike the other \fBwriteEntry()\fP functions, the old value is \fInot\fP returned here!
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fIrDateTime\fP The date and time value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1640 of file kconfigbase.cpp.
.PP
References QDate::day(), QTime::hour(), QTime::minute(), QDate::month(), QTime::second(), QCString::setNum(), writeEntry(), and QDate::year().
.SS "void KConfigBase::writeEntry (const \fBQString\fP & pKey, const \fBQRect\fP & rValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but writes a rectangle.
.PP
Note: Unlike the other \fBwriteEntry()\fP functions, the old value is _not_ returned here!
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fIrValue\fP The rectangle value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1550 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const char * pKey, const \fBQRect\fP & rValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but writes a rectangle.
.PP
Note: Unlike the other \fBwriteEntry()\fP functions, the old value is _not_ returned here!
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fIrValue\fP The rectangle value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1557 of file kconfigbase.cpp.
.PP
References QCString::setNum(), and writeEntry().
.SS "void KConfigBase::writeEntry (const \fBQString\fP & pKey, const \fBQPoint\fP & rValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but writes a point.
.PP
Note: Unlike the other \fBwriteEntry()\fP functions, the old value is _not_ returned here!
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fIrValue\fP The point value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1572 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const char * pKey, const \fBQPoint\fP & rValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but writes a point.
.PP
Note: Unlike the other \fBwriteEntry()\fP functions, the old value is _not_ returned here!
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fIrValue\fP The point value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1579 of file kconfigbase.cpp.
.PP
References QCString::setNum(), and writeEntry().
.SS "void KConfigBase::writeEntry (const \fBQString\fP & pKey, const \fBQSize\fP & rValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but writes a size.
.PP
Note: Unlike the other \fBwriteEntry()\fP functions, the old value is _not_ returned here!
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fIrValue\fP The size value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1592 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::writeEntry (const char * pKey, const \fBQSize\fP & rValue, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a (key/value) pair. 
.PP
Same as above, but writes a size.
.PP
Note: Unlike the other \fBwriteEntry()\fP functions, the old value is _not_ returned here!
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fIrValue\fP The size value to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1599 of file kconfigbase.cpp.
.PP
References QCString::setNum(), and writeEntry().
.SS "void KConfigBase::writePathEntry (const \fBQString\fP & pKey, const \fBQString\fP & path, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a file path. 
.PP
It is checked whether the path is located under $HOME. If so the path is written out with the user's home-directory replaced with $HOME. The path should be read back with \fBreadPathEntry()\fP
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fIpath\fP The path to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1048 of file kconfigbase.cpp.
.PP
Referenced by writePathEntry().
.SS "void KConfigBase::writePathEntry (const char * pKey, const \fBQString\fP & path, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
Writes a file path. 
.PP
It is checked whether the path is located under $HOME. If so the path is written out with the user's home-directory replaced with $HOME. The path should be read back with \fBreadPathEntry()\fP
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write. 
.br
\fIpath\fP The path to write. 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back. 
.RE
.PP

.PP
Definition at line 1117 of file kconfigbase.cpp.
.SS "void KConfigBase::writePathEntry (const \fBQString\fP & pKey, const \fBQStringList\fP & rValue, char sep = \fC','\fP, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
\fBwritePathEntry()\fP overridden to accept a list of paths (strings). 
.PP
It is checked whether the paths are located under $HOME. If so each of the paths are written out with the user's home-directory replaced with $HOME. The paths should be read back with \fBreadPathListEntry()\fP
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write 
.br
\fIrValue\fP The list to write 
.br
\fIsep\fP The list separator (default is ','). 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back.
.RE
.PP
\fBSee also:\fP
.RS 4
\fBwritePathEntry()\fP 
.PP
\fBreadPathListEntry()\fP 
.RE
.PP
\fBSince:\fP
.RS 4
3.1.3 
.RE
.PP

.PP
Definition at line 1124 of file kconfigbase.cpp.
.PP
References writePathEntry().
.SS "void KConfigBase::writePathEntry (const char * pKey, const \fBQStringList\fP & rValue, char sep = \fC','\fP, bool bPersistent = \fCtrue\fP, bool bGlobal = \fCfalse\fP, bool bNLS = \fCfalse\fP)"
.PP
\fBwritePathEntry()\fP overridden to accept a list of paths (strings). 
.PP
It is checked whether the paths are located under $HOME. If so each of the paths are written out with the user's home-directory replaced with $HOME. The paths should be read back with \fBreadPathListEntry()\fP
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to write 
.br
\fIrValue\fP The list to write 
.br
\fIsep\fP The list separator (default is ','). 
.br
\fIbPersistent\fP If \fCbPersistent\fP is false, the entry's dirty flag will not be set and thus the entry will not be written to disk at deletion time. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not saved to the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the locale tag is added to the key when writing it back.
.RE
.PP
\fBSee also:\fP
.RS 4
\fBwritePathEntry()\fP 
.PP
\fBreadPathListEntry()\fP 
.RE
.PP
\fBSince:\fP
.RS 4
3.1.3 
.RE
.PP

.PP
Definition at line 1131 of file kconfigbase.cpp.
.PP
References writeEntry().
.SS "void KConfigBase::deleteEntry (const \fBQString\fP & pKey, bool bNLS = \fCfalse\fP, bool bGlobal = \fCfalse\fP)"
.PP
Deletes the entry specified by \fCpKey\fP in the current group. 
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to delete. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not removed from the application specific config file, but to the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the key with the locale tag is removed. 
.RE
.PP

.PP
Definition at line 1150 of file kconfigbase.cpp.
.SS "void KConfigBase::deleteEntry (const char * pKey, bool bNLS = \fCfalse\fP, bool bGlobal = \fCfalse\fP)"
.PP
Deletes the entry specified by \fCpKey\fP in the current group. 
.PP
\fBParameters:\fP
.RS 4
\fIpKey\fP The key to delete. 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the pair is not removed from the application specific config file, but from the global \fBKDE\fP config file. 
.br
\fIbNLS\fP If \fCbNLS\fP is true, the key with the locale tag is removed. 
.RE
.PP

.PP
Definition at line 1157 of file kconfigbase.cpp.
.PP
References KEntry::bDeleted, KEntry::bDirty, KEntry::bGlobal, KEntry::bNLS, mGroup, putData(), setDirty(), and setLocale().
.SS "bool KConfigBase::deleteGroup (const \fBQString\fP & group, bool bDeep = \fCtrue\fP, bool bGlobal = \fCfalse\fP)"
.PP
Deletes a configuration entry group. 
.PP
If the group is not empty and bDeep is false, nothing gets deleted and false is returned. If this group is the current group and it is deleted, the current group is undefined and should be set with \fBsetGroup()\fP before the next operation on the configuration object.
.PP
\fBParameters:\fP
.RS 4
\fIgroup\fP The name of the group 
.br
\fIbDeep\fP Specify whether non-empty groups should be completely deleted (including their entries). 
.br
\fIbGlobal\fP If \fCbGlobal\fP is true, the group is not removed from the application specific config file, but from the global \fBKDE\fP config file. 
.RE
.PP
\fBReturns:\fP
.RS 4
If the group is not empty and bDeep is false, deleteGroup returns false. 
.RE
.PP

.PP
Definition at line 1183 of file kconfigbase.cpp.
.PP
References KEntry::bDeleted, KEntry::bDirty, KEntry::bGlobal, group(), internalEntryMap(), KEntry::mValue, putData(), and setDirty().
.PP
Referenced by KConfigGroup::deleteGroup(), and KShortcutList::writeSettings().
.SS "void KConfigBase::setDollarExpansion (bool _bExpand = \fCtrue\fP)\fC [inline]\fP"
.PP
Turns on or off 'dollar  expansion' (see KConfigBase introduction) when reading config entries. 
.PP
Dollar sign expansion is initially OFF.
.PP
\fBParameters:\fP
.RS 4
\fI_bExpand\fP Tf true, dollar expansion is turned on. 
.RE
.PP

.PP
Definition at line 1678 of file kconfigbase.h.
.SS "bool KConfigBase::isDollarExpansion () const\fC [inline]\fP"
.PP
Returns whether dollar expansion is on or off. 
.PP
It is initially OFF.
.PP
\fBReturns:\fP
.RS 4
true if dollar expansion is on. 
.RE
.PP

.PP
Definition at line 1685 of file kconfigbase.h.
.SS "void KConfigBase::rollback (bool bDeep = \fCtrue\fP)\fC [virtual]\fP"
.PP
Mark the config object as 'clean,' i.e. 
.PP
don't write dirty entries at destruction time. If \fCbDeep\fP is false, only the global dirty flag of the \fBKConfig\fP object gets cleared. If you then call \fBwriteEntry()\fP again, the global dirty flag is set again and all dirty entries will be written at a subsequent \fBsync()\fP call.
.PP
Classes that derive from KConfigBase should override this method and implement storage-specific behavior, as well as calling the \fBKConfigBase::rollback()\fP explicitly in the initializer.
.PP
\fBParameters:\fP
.RS 4
\fIbDeep\fP If true, the dirty flags of all entries are cleared, as well as the global dirty flag. 
.RE
.PP

.PP
Reimplemented in \fBKConfig\fP.
.PP
Definition at line 1690 of file kconfigbase.cpp.
.PP
References bDirty.
.PP
Referenced by KConfig::rollback(), and sync().
.SS "void KConfigBase::sync ()\fC [virtual]\fP"
.PP
Flushes all changes that currently reside only in memory back to disk / permanent storage. 
.PP
Dirty configuration entries are written to the most specific file available.
.PP
Asks the back end to flush out all pending writes, and then calls \fBrollback()\fP. No changes are made if the object has \fCreadOnly\fP status.
.PP
You should call this from your destructor in derivative classes.
.PP
\fBSee also:\fP
.RS 4
\fBrollback()\fP, \fBisReadOnly()\fP 
.RE
.PP

.PP
Reimplemented in \fBKConfigGroup\fP, and \fBKSimpleConfig\fP.
.PP
Definition at line 1673 of file kconfigbase.cpp.
.PP
References backEnd, bDirty, isReadOnly(), rollback(), and KConfigBackEnd::sync().
.PP
Referenced by KConfigGroup::sync(), and KConfig::~KConfig().
.SS "bool KConfigBase::isDirty () const\fC [inline]\fP"
.PP
Checks whether the config file has any dirty (modified) entries. 
.PP
\fBReturns:\fP
.RS 4
true if the config file has any dirty (modified) entries. 
.RE
.PP

.PP
Definition at line 1722 of file kconfigbase.h.
.PP
Referenced by KSimpleConfig::sync(), and KConfigINIBackEnd::sync().
.SS "virtual void KConfigBase::setReadOnly (bool _ro)\fC [inline, virtual]\fP"
.PP
Sets the config object's read-only status. 
.PP
\fBParameters:\fP
.RS 4
\fI_ro\fP If true, the config object will not write out any changes to disk even if it is destroyed or \fBsync()\fP is called. 
.RE
.PP

.PP
Definition at line 1731 of file kconfigbase.h.
.PP
Referenced by KConfig::KConfig(), KDesktopFile::KDesktopFile(), and KSimpleConfig::KSimpleConfig().
.SS "bool KConfigBase::isReadOnly () const\fC [inline]\fP"
.PP
Returns the read-only status of the config object. 
.PP
\fBReturns:\fP
.RS 4
The read-only status. 
.RE
.PP

.PP
Definition at line 1738 of file kconfigbase.h.
.PP
Referenced by KConfigINIBackEnd::parseConfigFiles(), KConfig::reparseConfiguration(), KSimpleConfig::sync(), sync(), and KConfigINIBackEnd::writeConfigFile().
.SS "bool KConfigBase::hasKey (const \fBQString\fP & key) const"
.PP
Checks whether the key has an entry in the currently active group. 
.PP
Use this to determine whether a key is not specified for the current group (\fBhasKey()\fP returns false). Keys with null data are considered nonexistent.
.PP
\fBParameters:\fP
.RS 4
\fIkey\fP The key to search for. 
.RE
.PP
\fBReturns:\fP
.RS 4
If true, the key is available. 
.RE
.PP

.PP
Definition at line 109 of file kconfigbase.cpp.
.PP
Referenced by KLocale::languagesTwoAlpha(), readDateTimeEntry(), KDesktopFile::readDocPath(), readListEntry(), and readPropertyEntry().
.SS "virtual \fBQMap\fP<\fBQString\fP, \fBQString\fP> KConfigBase::entryMap (const \fBQString\fP & group) const\fC [pure virtual]\fP"
.PP
Returns a map (tree) of entries for all entries in a particular group. 
.PP
Only the actual entry string is returned, none of the other internal data should be included.
.PP
\fBParameters:\fP
.RS 4
\fIgroup\fP A group to get keys from. 
.RE
.PP
\fBReturns:\fP
.RS 4
A map of entries in the group specified, indexed by key. The returned map may be empty if the group is not found. 
.RE
.PP
\fBSee also:\fP
.RS 4
\fBQMap\fP 
.RE
.PP

.PP
Implemented in \fBKConfig\fP.
.SS "virtual void KConfigBase::reparseConfiguration ()\fC [pure virtual]\fP"
.PP
Reparses all configuration files. 
.PP
This is useful for programs that use stand alone graphical configuration tools. The base method implemented here only clears the group list and then appends the default group.
.PP
Derivative classes should clear any internal data structures and then simply call \fBparseConfigFiles()\fP when implementing this method.
.PP
\fBSee also:\fP
.RS 4
\fBparseConfigFiles()\fP 
.RE
.PP

.PP
Implemented in \fBKConfig\fP.
.SS "bool KConfigBase::isImmutable () const"
.PP
Checks whether this configuration file can be modified. 
.PP
\fBReturns:\fP
.RS 4
whether changes may be made to this configuration file. 
.RE
.PP

.PP
Definition at line 149 of file kconfigbase.cpp.
.PP
References getConfigState().
.SS "bool KConfigBase::groupIsImmutable (const \fBQString\fP & group) const"
.PP
Checks whether it is possible to change the given group. 
.PP
\fBParameters:\fP
.RS 4
\fIgroup\fP the group to check 
.RE
.PP
\fBReturns:\fP
.RS 4
whether changes may be made to \fCgroup\fP in this configuration file. 
.RE
.PP

.PP
Definition at line 154 of file kconfigbase.cpp.
.PP
References KEntry::bImmutable, getConfigState(), group(), lookupData(), and QString::utf8().
.PP
Referenced by KConfigGroup::groupIsImmutable().
.SS "bool KConfigBase::entryIsImmutable (const \fBQString\fP & key) const"
.PP
Checks whether it is possible to change the given entry. 
.PP
\fBParameters:\fP
.RS 4
\fIkey\fP the key to check 
.RE
.PP
\fBReturns:\fP
.RS 4
whether the entry \fCkey\fP may be changed in the current group in this configuration file. 
.RE
.PP

.PP
Definition at line 164 of file kconfigbase.cpp.
.PP
References KEntry::bImmutable, KEntryKey::bLocal, KEntryKey::c_key, getConfigState(), lookupData(), and mGroup.
.SS "\fBKConfigBase::ConfigState\fP KConfigBase::getConfigState () const"
.PP
Returns the state of the app-config object. 
.PP
Possible return values are NoAccess (the application-specific config file could not be opened neither read-write nor read-only), ReadOnly (the application-specific config file is opened read-only, but not read-write) and ReadWrite (the application-specific config file is opened read-write).
.PP
\fBSee also:\fP
.RS 4
\fBConfigState()\fP 
.RE
.PP
\fBReturns:\fP
.RS 4
the state of the app-config object 
.RE
.PP

.PP
Definition at line 1684 of file kconfigbase.cpp.
.PP
References backEnd, and KConfigBackEnd::getConfigState().
.PP
Referenced by entryIsImmutable(), groupIsImmutable(), and isImmutable().
.SS "bool KConfigBase::checkConfigFilesWritable (bool warnUser)"
.PP
Check whether the config files are writable. 
.PP
\fBParameters:\fP
.RS 4
\fIwarnUser\fP Warn the user if the configuration files are not writable. 
.RE
.PP
\fBReturns:\fP
.RS 4
Indicates that all of the configuration files used are writable. 
.RE
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 1839 of file kconfigbase.cpp.
.PP
References backEnd, and KConfigBackEnd::checkConfigFilesWritable().
.SS "void KConfigBase::setReadDefaults (bool b)"
.PP
When set, all readEntry and readXXXEntry calls return the system wide (default) values instead of the user's preference. 
.PP
This is off by default. 
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 1696 of file kconfigbase.cpp.
.PP
Referenced by KConfigGroup::KConfigGroup().
.SS "bool KConfigBase::readDefaults () const"
.PP
\fBReturns:\fP
.RS 4
true if all readEntry and readXXXEntry calls return the system wide (default) values instead of the user's preference. 
.RE
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 1707 of file kconfigbase.cpp.
.PP
Referenced by KConfigGroup::KConfigGroup(), and readEntry().
.SS "void KConfigBase::revertToDefault (const \fBQString\fP & key)"
.PP
Reverts the entry with key \fCkey\fP in the current group in the application specific config file to either the system wide (default) value or the value specified in the global \fBKDE\fP config file. 
.PP
To revert entries in the global \fBKDE\fP config file, the global \fBKDE\fP config file should be opened explicitly in a separate config object.
.PP
\fBParameters:\fP
.RS 4
\fIkey\fP The key of the entry to revert. 
.RE
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 1712 of file kconfigbase.cpp.
.PP
References KEntry::bDeleted, KEntry::bDirty, QCString::isNull(), locale(), lookupData(), mGroup, KEntry::mValue, putData(), and setDirty().
.SS "bool KConfigBase::hasDefault (const \fBQString\fP & key) const"
.PP
Returns whether a default is specified for an entry in either the system wide configuration file or the global \fBKDE\fP config file. 
.PP
If an application computes a default value at runtime for a certain entry, e.g. like: 
.PP
.nf
 QColor computedDefault = kapp->palette().color(QPalette::Active, QColorGroup::Text)
 QColor color = config->readEntry(key, computedDefault);
 \encode

 Then it may wish to make the following check before
 writing back changes:
 \code
 if ( (value == computedDefault) && !config->hasDefault(key) )
    config->revertToDefault(key)
 else
    config->writeEntry(key, value)

.fi
.PP
.PP
This ensures that as long as the entry is not modified to differ from the computed default, the application will keep using the computed default and will follow changes the computed default makes over time. 
.PP
\fBParameters:\fP
.RS 4
\fIkey\fP The key of the entry to check. 
.RE
.PP
\fBSince:\fP
.RS 4
3.2 
.RE
.PP

.PP
Definition at line 1739 of file kconfigbase.cpp.
.PP
References QCString::isNull(), locale(), lookupData(), mGroup, and KEntry::mValue.
.SS "void KConfigBase::setLocale ()\fC [protected]\fP"
.PP
Reads the locale and put in the configuration data struct. 
.PP
Note that this should be done in the constructor, but this is not possible due to some mutual dependencies in KApplication::init() 
.PP
Definition at line 62 of file kconfigbase.cpp.
.PP
References aLocaleString, backEnd, KLocale::defaultLanguage(), KLocale::language(), KGlobal::locale(), KConfigBackEnd::setLocaleString(), and QString::utf8().
.PP
Referenced by deleteEntry(), parseConfigFiles(), readEntry(), and writeEntry().
.SS "virtual void KConfigBase::setDirty (bool _bDirty = \fCtrue\fP)\fC [inline, protected, virtual]\fP"
.PP
Sets the global dirty flag of the config object. 
.PP
\fBParameters:\fP
.RS 4
\fI_bDirty\fP How to mark the object's dirty status 
.RE
.PP

.PP
Reimplemented in \fBKConfigGroup\fP.
.PP
Definition at line 1898 of file kconfigbase.h.
.PP
Referenced by deleteEntry(), deleteGroup(), revertToDefault(), KConfigGroup::setDirty(), and writeEntry().
.SS "void KConfigBase::parseConfigFiles ()\fC [protected, virtual]\fP"
.PP
Parses all configuration files for a configuration object. 
.PP
The actual parsing is done by the associated \fBKConfigBackEnd\fP. 
.PP
Definition at line 1661 of file kconfigbase.cpp.
.PP
References backEnd, KConfigBackEnd::getConfigState(), KConfigBackEnd::parseConfigFiles(), and setLocale().
.PP
Referenced by KConfig::reparseConfiguration().
.SS "virtual KEntryMap KConfigBase::internalEntryMap (const \fBQString\fP & pGroup) const\fC [protected, pure virtual]\fP"
.PP
Returns a map (tree) of the entries in the specified group. 
.PP
This may or may not return all entries that belong to the config object. The only guarantee that you are given is that any entries that are dirty (i.e. modified and not yet written back to the disk) will be contained in the map. Some derivative classes may choose to return everything.
.PP
Do not use this function, the implementation / return type are subject to change.
.PP
\fBParameters:\fP
.RS 4
\fIpGroup\fP The group to provide a KEntryMap for. 
.RE
.PP
\fBReturns:\fP
.RS 4
The map of the entries in the group. 
.RE
.PP

.PP
Implemented in \fBKConfig\fP.
.SS "virtual KEntryMap KConfigBase::internalEntryMap () const\fC [protected, pure virtual]\fP"
.PP
Returns a map (tree) of the entries in the tree. 
.PP
Do not use this function, the implementation / return type are subject to change.
.PP
\fBReturns:\fP
.RS 4
A map of the entries in the tree. 
.RE
.PP

.PP
Implemented in \fBKConfig\fP.
.PP
Referenced by deleteGroup().
.SS "virtual void KConfigBase::putData (const \fBKEntryKey\fP & _key, const \fBKEntry\fP & _data, bool _checkGroup = \fCtrue\fP)\fC [protected, pure virtual]\fP"
.PP
Inserts a (key/value) pair into the internal storage mechanism of the configuration object. 
.PP
Classes that derive from KConfigBase will need to implement this method in a storage-specific manner.
.PP
Do not use this function, the implementation / return type are subject to change.
.PP
\fBParameters:\fP
.RS 4
\fI_key\fP The key to insert. It contains information both on the group of the key and the key itself. If the key already exists, the old value will be replaced. 
.br
\fI_data\fP the \fBKEntry\fP that is to be stored. 
.br
\fI_checkGroup\fP When false, assume that the group already exists. 
.RE
.PP

.PP
Implemented in \fBKConfig\fP, and \fBKConfigGroup\fP.
.PP
Referenced by deleteEntry(), deleteGroup(), KConfigINIBackEnd::parseSingleConfigFile(), KConfigGroup::putData(), revertToDefault(), and writeEntry().
.SS "virtual \fBKEntry\fP KConfigBase::lookupData (const \fBKEntryKey\fP & _key) const\fC [protected, pure virtual]\fP"
.PP
Looks up an entry in the config object's internal structure. 
.PP
Classes that derive from KConfigBase will need to implement this method in a storage-specific manner.
.PP
Do not use this function, the implementation and return type are subject to change.
.PP
\fBParameters:\fP
.RS 4
\fI_key\fP The key to look up It contains information both on the group of the key and the entry's key itself. 
.RE
.PP
\fBReturns:\fP
.RS 4
The \fBKEntry\fP value (data) found for the key. \fCKEntry.aValue\fP will be the null string if nothing was located. 
.RE
.PP

.PP
Implemented in \fBKConfig\fP, and \fBKConfigGroup\fP.
.PP
Referenced by entryIsImmutable(), groupIsImmutable(), hasDefault(), KConfigGroup::lookupData(), KConfigINIBackEnd::parseSingleConfigFile(), readEntry(), and revertToDefault().
.SS "void KConfigBase::setGroup (const \fBQCString\fP & pGroup)"
.PP
Overloaded public methods:. 
.PP
Definition at line 92 of file kconfigbase.cpp.
.PP
References group(), QString::isEmpty(), and mGroup.
.SH "Member Data Documentation"
.PP 
.SS "\fBKConfigBackEnd\fP* \fBKConfigBase::backEnd\fP\fC [protected]\fP"
.PP
A back end for loading/saving to disk in a particular format. 
.PP
Definition at line 1975 of file kconfigbase.h.
.PP
Referenced by checkConfigFilesWritable(), KConfig::copyTo(), getConfigState(), KConfigBase(), KConfigGroup::KConfigGroup(), parseConfigFiles(), setLocale(), and sync().
.SS "\fBQCString\fP \fBKConfigBase::mGroup\fP\fC [protected]\fP"
.PP
The currently selected group. 
.PP
Definition at line 1991 of file kconfigbase.h.
.PP
Referenced by deleteEntry(), entryIsImmutable(), group(), hasDefault(), readEntry(), revertToDefault(), setDesktopGroup(), setGroup(), and writeEntry().
.SS "\fBQCString\fP \fBKConfigBase::aLocaleString\fP\fC [protected]\fP"
.PP
The locale to retrieve keys under if possible, i.e en_US or fr. 
.PP
Definition at line 1995 of file kconfigbase.h.
.PP
Referenced by KConfigGroup::KConfigGroup(), locale(), and setLocale().
.SS "bool \fBKConfigBase::bDirty\fP\fC [protected]\fP"
.PP
Indicates whether there are any dirty entries in the config object that need to be written back to disk. 
.PP
Definition at line 2000 of file kconfigbase.h.
.PP
Referenced by KConfigBase(), rollback(), and sync().

.SH "Author"
.PP 
Generated automatically by Doxygen for kdecore Library from the source code.
