aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/kconfig.h11
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)