┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dbusinterface.h
diff options
context:
space:
mode:
authorMarco Martin <[email protected]>2021-06-04 12:04:14 +0000
committerNate Graham <[email protected]>2021-06-04 12:04:14 +0000
commitdbabe22249781242c789d691c1f887046e71580e (patch)
treef8347d9be97aa1bf26ba1d3f4dcd2bf19c9b8a6c /src/dbusinterface.h
parent9fcfbfb6e3b05d99e92472b78a6686e7526e77c6 (diff)
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
Diffstat (limited to 'src/dbusinterface.h')
-rw-r--r--src/dbusinterface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dbusinterface.h b/src/dbusinterface.h
index 9b183384d..66659e976 100644
--- a/src/dbusinterface.h
+++ b/src/dbusinterface.h
@@ -20,6 +20,8 @@ public:
Q_SCRIPTABLE void ShowItems(const QStringList& uriList, const QString& startUpId);
Q_SCRIPTABLE void ShowItemProperties(const QStringList& uriList, const QString& startUpId);
+ Q_SCRIPTABLE void SortOrderForUrl(const QString &url, QString &role, QString &order);
+
/**
* Set whether this interface has been created by dolphin --daemon.
*/