Obsolete Members for KConfig

The following members of class KConfig are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

(deprecated in 6.3) KConfig(const QString &file, const QString &backend, QStandardPaths::StandardLocation type = QStandardPaths::GenericConfigLocation)
(since 6.23, deprecated in 6.32) void copyFrom(const KConfig &config) const

Member Function Documentation

[deprecated in 6.3] KConfig::KConfig(const QString &file, const QString &backend, QStandardPaths::StandardLocation type = QStandardPaths::GenericConfigLocation)

This function is deprecated since 6.3. We strongly advise against using it in new code.

Creates a KConfig object at the given file using the specified backend, with an optional type of configuration file. If the backend cannot be found or loaded, then the standard configuration parser is used as a fallback. Use other constructor

[since 6.23, deprecated in 6.32] void KConfig::copyFrom(const KConfig &config) const

This function is deprecated since 6.32. We strongly advise against using it in new code.

Copies all entries from the passed config object to this config. Use the non-const overload.

This function was introduced in 6.23.