aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/kdesktopfile.h6
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;
/**