diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/kconfig.cpp | 6 | ||||
| -rw-r--r-- | src/core/kconfig.h | 5 | 
2 files changed, 11 insertions, 0 deletions
| diff --git a/src/core/kconfig.cpp b/src/core/kconfig.cpp index a0d757e7..e4c9935b 100644 --- a/src/core/kconfig.cpp +++ b/src/core/kconfig.cpp @@ -780,6 +780,12 @@ void KConfig::addConfigSources(const QStringList &files)      }  } +QStringList KConfig::additionalConfigSources() const +{ +    Q_D(const KConfig); +    return d->extraFiles.toList(); +} +  QString KConfig::locale() const  {      Q_D(const KConfig); diff --git a/src/core/kconfig.h b/src/core/kconfig.h index c6be56d6..5b341232 100644 --- a/src/core/kconfig.h +++ b/src/core/kconfig.h @@ -271,6 +271,11 @@ public:       */      void addConfigSources(const QStringList &sources); +    /** +     * Returns a list of the additional configuration sources used in this object +     */ +    QStringList additionalConfigSources() const; +      /// @}      /// @{ locales      /** | 
