diff options
author | Ayush Singh <ayushsingh1325@gmail.com> | 2022-02-25 22:22:40 +0530 |
---|---|---|
committer | David Faure <faure@kde.org> | 2022-03-13 20:46:02 +0000 |
commit | 7206ba3f6c92892bff65c616084b3bf4c2ef86a0 (patch) | |
tree | a1d8023ea8c38a064ad8cb3bc20f6f4097086b78 /src/core | |
parent | 3b39709bc6593685057ed943c39c421a7391e7e9 (diff) | |
download | kconfig-7206ba3f6c92892bff65c616084b3bf4c2ef86a0.tar.gz kconfig-7206ba3f6c92892bff65c616084b3bf4c2ef86a0.tar.bz2 |
Make KConfig::mainConfigName() public.
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/kconfig.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/core/kconfig.h b/src/core/kconfig.h index 0835c951..c8ca0ca3 100644 --- a/src/core/kconfig.h +++ b/src/core/kconfig.h @@ -366,6 +366,12 @@ public: */ static void setMainConfigName(const QString &str); + /** + * Get the name of application config file. + * @since 5.93 + */ + static QString mainConfigName(); + protected: bool hasGroupImpl(const QByteArray &group) const override; KConfigGroup groupImpl(const QByteArray &b) override; @@ -391,11 +397,6 @@ private: QStringList keyList(const QString &aGroup = QString()) const; - /** - * @internal for KSharedConfig. Could be made public if needed, though. - */ - static QString mainConfigName(); - Q_DISABLE_COPY(KConfig) Q_DECLARE_PRIVATE(KConfig) |