#include <kconfigbackend.h>
Inheritance diagram for KConfigBackEnd:

Public Methods | |
| KConfigBackEnd (KConfigBase *_config, const QString &_fileName, const char *_resType, bool _useKDEGlobals) | |
| virtual | ~KConfigBackEnd () |
| virtual bool | parseConfigFiles ()=0 |
| virtual void | sync (bool bMerge=true)=0 |
| void | changeFileName (const QString &_fileName, const char *_resType, bool _useKDEGlobals) |
| virtual KConfigBase::ConfigState | getConfigState () const |
| QString | fileName () const |
| const char * | resource () const |
| void | setLocaleString (const QCString &_localeString) |
| void | setFileWriteMode (int mode) |
| QString | filename () const |
Abstract base class for KDE configuration file loading/saving.
This class forms the base for all classes that implement some manner of loading/saving to configuration files. It is an abstract base class, meaning that you cannot directly instantiate objects of this class. As of right now, the only back end available is one to read/write to INI-style files, but in the future, other formats may be available, such as XML or a database.
Definition at line 46 of file kconfigbackend.h.
|
||||||||||||||||||||
|
Constructs a configuration back end.
|
|
|
Destructs the configuration backend. Definition at line 70 of file kconfigbackend.h. |
|
||||||||||||||||
|
Changes the filenames associated with this back end. You should probably reparse your config info after doing this.
|
|
|
Definition at line 143 of file kconfigbackend.h. |
|
|
Returns the filename as passed to the constructor.
Definition at line 116 of file kconfigbackend.h. |
|
|
Returns the state of the app-config object.
Definition at line 109 of file kconfigbackend.h. References KConfigBase::ConfigState. |
|
|
Parses all configuration files for a configuration object. This method must be reimplemented by the derived classes.
Implemented in KConfigINIBackEnd. |
|
|
Returns the resource type as passed to the constructor.
Definition at line 122 of file kconfigbackend.h. |
|
|
Set the file mode for newly created files.
|
|
|
Set the locale string that defines the current language.
Definition at line 129 of file kconfigbackend.h. |
|
|
Writes configuration data to file(s). This method must be reimplemented by the derived classes.
Implemented in KConfigINIBackEnd. |
1.2.18