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

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

Member Function Documentation

[since 4.1, 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 using the specified backend. If the backend can not be found or loaded, then the standard configuration parser is used as a fallback.

file the file to be parsed

backend the backend to load

type where to look for the file if an absolute path is not provided

Use other constructor

This function was introduced in 4.1.