diff options
author | Ahmad Samir <a.samirh78@gmail.com> | 2022-06-22 22:23:27 +0200 |
---|---|---|
committer | Ahmad Samir <a.samirh78@gmail.com> | 2022-06-22 22:23:27 +0200 |
commit | 5ce3f9eb1fd2c83754d94f568ba00335e3d184f3 (patch) | |
tree | 2d5baf7f4338577a8b6e041abc221debfdaecef7 /src/core | |
parent | a83e1f5068b6558c25a1366386fd4d4554efef63 (diff) | |
download | kconfig-5ce3f9eb1fd2c83754d94f568ba00335e3d184f3.tar.gz kconfig-5ce3f9eb1fd2c83754d94f568ba00335e3d184f3.tar.bz2 |
KDesktopFile: add API docs for desktopGroup()
GIT_SILENT
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/kdesktopfile.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/kdesktopfile.h b/src/core/kdesktopfile.h index 445d98f6..1a257412 100644 --- a/src/core/kdesktopfile.h +++ b/src/core/kdesktopfile.h @@ -54,7 +54,7 @@ public: /** * Destructs the KDesktopFile object. * - * Writes back any dirty configuration entries. + * Writes back any changed configuration entries. */ ~KDesktopFile() override; @@ -91,6 +91,9 @@ public: */ static QString locateLocal(const QString &path); + /** + * Returns the main config group (named "Desktop Entry") in a .desktop file. + */ KConfigGroup desktopGroup() const; /** @@ -165,6 +168,7 @@ public: */ KConfigGroup actionGroup(const QString &group); + // TODO KF6, don't return by const value const KConfigGroup actionGroup(const QString &group) const; /** |