aboutsummaryrefslogtreecommitdiff
path: root/src/core/kdesktopfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/kdesktopfile.h')
-rw-r--r--src/core/kdesktopfile.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/kdesktopfile.h b/src/core/kdesktopfile.h
index f3b293fa..ca21bc85 100644
--- a/src/core/kdesktopfile.h
+++ b/src/core/kdesktopfile.h
@@ -214,11 +214,16 @@ public:
*/
QString readDocPath() const;
+#ifndef KDE_NO_DEPRECATED
/**
* Returns the entry of the "SortOrder=" entry.
* @return the value of the "SortOrder=" entry.
+ * @deprecated since 5.42
+ * SortOrder was used to specify the order of menu items, but
+ * the Desktop Menu Specification defines another mechanism for it.
*/
- QStringList sortOrder() const;
+ KCONFIGCORE_DEPRECATED QStringList sortOrder() const;
+#endif
/**
* Whether the entry should be suppressed in menus.