ksimpleconfig.cpp
bool isReadOnly() const
Returns the read-only status of the config object.
Definition: kconfigbase.h:1739
virtual void rollback(bool bDeep=true)
Clears all entries out of the dirtyEntryMap, so the values will not be written to disk on a later cal...
Definition: kconfig.cpp:94
KSimpleConfig(const TQString &fileName, bool bReadOnly=false)
Construct a KSimpleConfig object and make it either read-write or read-only.
Definition: ksimpleconfig.cpp:40
void changeFileName(const TQString &_fileName, const char *_resType, bool _useKDEGlobals)
Changes the filenames associated with this back end.
Definition: kconfigbackend.cpp:243
bool isDirty() const
Checks whether the config file has any dirty (modified) entries.
Definition: kconfigbase.h:1723
static KStandardDirs * dirs()
Returns the application standard dirs object.
Definition: kglobal.cpp:54
virtual void sync()
Flushes all changes that currently reside only in memory back to disk / permanent storage...
Definition: ksimpleconfig.cpp:68
KConfigBackEnd * backEnd
A back end for loading/saving to disk in a particular format.
Definition: kconfigbase.h:1976
KConfig(const TQString &fileName=TQString::null, bool bReadOnly=false, bool bUseKDEGlobals=true, const char *resType="config")
Constructs a KConfig object.
Definition: kconfig.cpp:44
Abstract base class for KDE configuration file loading/saving.
Definition: kconfigbackend.h:48
virtual void reparseConfiguration()
Clears all internal data structures and then reread configuration information from disk...
Definition: kconfig.cpp:161
virtual void setReadOnly(bool _ro)
Sets the config object's read-only status.
Definition: kconfigbase.h:1732