tdeconfigbackend.h
Abstract base class for KDE configuration file loading/saving.
Definition: tdeconfigbackend.h:49
virtual bool parseConfigFiles()=0
Parses all configuration files for a configuration object.
void setLocaleString(const TQCString &_localeString)
Set the locale string that defines the current language.
Definition: tdeconfigbackend.h:133
TDE_DEPRECATED TQString filename() const
Definition: tdeconfigbackend.h:162
TQString fileName() const
Returns the filename as passed to the constructor.
Definition: tdeconfigbackend.h:120
const char * resource() const
Returns the resource type as passed to the constructor.
Definition: tdeconfigbackend.h:126
virtual TDEConfigBase::ConfigState getConfigState() const
Returns the state of the app-config object.
Definition: tdeconfigbackend.h:113
bool checkConfigFilesWritable(bool warnUser)
Check whether the config files are writable.
Definition: tdeconfigbase.cpp:1904
Class for KDE INI-style configuration file loading/saving.
Definition: tdeconfigbackend.h:192
TDEConfigINIBackEnd(TDEConfigBase *_config, const TQString &_fileName, const char *_resType, bool _useKDEGlobals=true)
Constructs an ini-style configuration back end.
Definition: tdeconfigbackend.h:210
virtual ~TDEConfigINIBackEnd()
Destructs the configuration backend.
Definition: tdeconfigbackend.h:217
TDELockFile::Ptr lockFile(bool bGlobal=false)
Returns a lock file object for the configuration file or 0 if the backend does not support locking.
Definition: tdeconfig.cpp:280
void setFileWriteMode(int mode)
Set the file mode for newly created files.
Definition: tdeconfig.cpp:275
TDELocale provides support for country specific stuff like the national language.
Definition: tdelocale.h:124