From dbabe22249781242c789d691c1f887046e71580e Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Fri, 4 Jun 2021 12:04:14 +0000 Subject: Add SortOrderForUrl method to DBus interface adds a method to ask what's the sorting strategy (column and order) for a particular Url, as Dolphin can have directory-specific sorting strategies This makes possible for other apps that have lists of files, like Gwenview to use the same sorting when invoked from dolphin, ie opening an image CCBUG:236059 --- src/global.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/global.h') diff --git a/src/global.h b/src/global.h index 088e9c5b6..4f4eb890c 100644 --- a/src/global.h +++ b/src/global.h @@ -46,6 +46,8 @@ namespace Dolphin { */ QVector, QStringList>> dolphinGuiInstances(const QString& preferredService); + QPair sortOrderForUrl(QUrl &url); + /** * TODO: Move this somewhere global to all KDE apps, not just Dolphin */ -- cgit v1.3.1