org.kde.koala
public class KConfigBackEnd extends Object implements QtSupport
UNKNOWN: KDE Configuration file loading/saving abstract base class.
Constructor Summary | |
---|---|
protected | KConfigBackEnd(Class dummy) |
Method Summary | |
---|---|
void | changeFileName(String _fileName, String _resType, boolean _useKDEGlobals)
Changes the filenames associated with this back end. |
boolean | checkConfigFilesWritable(boolean warnUser)
Check whether the config files are writable. |
String | fileName()
Returns the filename as passed to the constructor. |
int | getConfigState()
Returns the state of the app-config object. |
boolean | parseConfigFiles()
Parses all configuration files for a configuration object. |
String | resource()
Returns the resource type as passed to the constructor. |
void | setFileWriteMode(int mode)
Set the file mode for newly created files. |
void | setLocaleString(String _localeString)
Set the locale string that defines the current language. |
void | sync(boolean bMerge)
Writes configuration data to file(s). |
void | sync() |
Parameters: _fileName the new filename to use _resType the resource type of the fileName specified, _if_ it is not an absolute path (otherwise this parameter is ignored). _useKDEGlobals specifies whether or not to also parse the global KDE configuration files.
UNKNOWN: Changes the filenames associated with this back end.
Parameters: warnUser Warn the user if the configuration files are not writable.
Returns: Indicates that all of the configuration files used are writable.
UNKNOWN: Check whether the config files are writable.
Returns: the filename as passed to the constructor.
UNKNOWN: Returns the filename as passed to the constructor.
See Also: KConfig
UNKNOWN: Returns the state of the app-config object.
Returns: Whether or not parsing was successful.
UNKNOWN: Parses all configuration files for a configuration object.
Returns: the resource type as passed to the constructor.
UNKNOWN: Returns the resource type as passed to the constructor.
Parameters: mode the filemode (as in chmod)
UNKNOWN: Set the file mode for newly created files.
Parameters: _localeString the identifier of the language
See Also: KLocale
UNKNOWN: Set the locale string that defines the current language.
Parameters: bMerge Specifies whether the old config file already on disk should be merged in with the data in memory. If true, data is read off the disk and merged. If false, the on-disk file is removed and only in-memory data is written out.
UNKNOWN: Writes configuration data to file(s).