]>
cloud.milkyroute.net Git - dolphin.git/blob - src/dbusinterface.h
2 * SPDX-FileCopyrightText: 2015 Ashish Bansal <bansal.ashish096@gmail.com>
4 * SPDX-License-Identifier: GPL-2.0-or-later
7 #ifndef DBUSINTERFACE_H
8 #define DBUSINTERFACE_H
12 class DBusInterface
: QObject
15 Q_CLASSINFO("D-Bus Interface", "org.freedesktop.FileManager1")
19 Q_SCRIPTABLE
void ShowFolders(const QStringList
&uriList
, const QString
&startUpId
);
20 Q_SCRIPTABLE
void ShowItems(const QStringList
&uriList
, const QString
&startUpId
);
21 Q_SCRIPTABLE
void ShowItemProperties(const QStringList
&uriList
, const QString
&startUpId
);
23 Q_SCRIPTABLE
void SortOrderForUrl(const QString
&url
, QString
&role
, QString
&order
);
26 * Set whether this interface has been created by dolphin --daemon.
31 * @return Whether this interface has been created by dolphin --daemon.
33 bool isDaemon() const;
36 bool m_isDaemon
= false;
39 #endif // DBUSINTERFACE_H