#include <kconfig.h>
Inheritance diagram for config::KConfig:

| Public Methods | |
| KConfig (const string &fileName="", bool bReadOnly=false, bool bUseKDEGlobals=true, const char *resType="config") | |
| Constructs a KConfig object. More... | |
| virtual | ~KConfig () | 
| Destructs the KConfig object. More... | |
| 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 call to sync(). More... | |
| virtual vector< string > | groupList () const | 
| Returns a list of groups that are known. | |
| virtual map< string, string > | entryMap (const string &pGroup) const | 
| Returns a map (tree) of entries for all entries in a particular group. More... | |
| virtual void | reparseConfiguration () | 
| Clears all internal data structures and then reread configuration information from disk. | |
| void | setFileWriteMode (int mode) | 
| Set the file mode for newly created files. More... | |
| void | setForceGlobal (bool force) | 
| Forces all following write-operations being performed on kdeglobals, independent of the bGlobal flag in writeEntry(). More... | |
| bool | forceGlobal () const | 
| Returns true if all entries are being written into kdeglobals. More... | |
| Protected Methods | |
| virtual bool | internalHasGroup (const string &group) const | 
| Returns true if the specified group is known. More... | |
| virtual KEntryMap | internalEntryMap (const string &pGroup) const | 
| Returns a map (tree) of the entries in the specified group. More... | |
| virtual KEntryMap | internalEntryMap () const | 
| Returns a copy of the internal map used to hold all entries. More... | |
| virtual void | putData (const KEntryKey &_key, const KEntry &_data, bool _checkGroup=true) | 
| Inserts a (key, value) pair into the internal storage mechanism of the configuration object. More... | |
| virtual KEntry | lookupData (const KEntryKey &_key) const | 
| Looks up an entry in the config object's internal structure. More... | |
| virtual void | virtual_hook (int id, void *data) | 
| Protected Attributes | |
| KEntryMap | aEntryMap | 
| Contains all key,value entries, as well as some "special" keys which indicate the start of a group of entries. More... | |
This class implements KDE's default configuration system.
| 
 | ||||||||||||||||||||
| Constructs a KConfig object. 
 
 | 
| 
 | 
| Destructs the KConfig object. Writes back any dirty configuration entries, and destroys dynamically created objects. | 
| 
 | 
| Returns a map (tree) of entries for all entries in a particular group. Only the actual entry string is returned, none of the other internal data should be included. 
 
 Implements config::KConfigBase. | 
| 
 | 
| Returns true if all entries are being written into kdeglobals. 
 
 | 
| 
 | 
| Returns a copy of the internal map used to hold all entries. Do not use this function, the implementation / return type are subject to change. 
 
 Implements config::KConfigBase. | 
| 
 | 
| Returns a map (tree) of the entries in the specified group. Do not use this function, the implementation / return type are subject to change. 
 
 Implements config::KConfigBase. | 
| 
 | 
| Returns true if the specified group is known. 
 
 
 Implements config::KConfigBase. | 
| 
 | 
| Looks up an entry in the config object's internal structure. 
 
 
 Implements config::KConfigBase. | 
| 
 | ||||||||||||||||
| Inserts a (key, value) pair into the internal storage mechanism of the configuration object. 
 
 Implements config::KConfigBase. | 
| 
 | 
| 
Clears all entries out of the  
 
 
 Reimplemented from config::KConfigBase. | 
| 
 | 
| Set the file mode for newly created files. 
 
 | 
| 
 | 
| Forces all following write-operations being performed on kdeglobals, independent of the bGlobal flag in writeEntry(). 
 
 | 
| 
 | 
| Contains all key,value entries, as well as some "special" keys which indicate the start of a group of entries. These special keys will have the .key portion of their KEntryKey set to string::null. | 
 1.2.14 written by Dimitri van Heesch,
 © 1997-2002
1.2.14 written by Dimitri van Heesch,
 © 1997-2002