diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/kconfig.cpp | 7 | ||||
| -rw-r--r-- | src/core/kconfig.h | 6 | 
2 files changed, 13 insertions, 0 deletions
| diff --git a/src/core/kconfig.cpp b/src/core/kconfig.cpp index c6dec436..782e9714 100644 --- a/src/core/kconfig.cpp +++ b/src/core/kconfig.cpp @@ -517,6 +517,13 @@ QString KConfig::name() const      return d->fileName;  } + +KConfig::OpenFlags KConfig::openFlags() const +{ +    Q_D(const KConfig); +    return d->openFlags; +} +  Q_GLOBAL_STATIC(QString, globalMainConfigName)  void KConfig::setMainConfigName(const QString &str) diff --git a/src/core/kconfig.h b/src/core/kconfig.h index d7d4b7df..a0d64f61 100644 --- a/src/core/kconfig.h +++ b/src/core/kconfig.h @@ -158,6 +158,12 @@ public:       */      QString name() const; +    /** +     * @return the flags this object was opened with +     * @since 5.2 +     */ +    OpenFlags openFlags() const; +      /// @reimp      bool sync() Q_DECL_OVERRIDE; | 
