]>
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
);
24 * Set whether this interface has been created by dolphin --daemon.
29 * @return Whether this interface has been created by dolphin --daemon.
31 bool isDaemon() const;
34 bool m_isDaemon
= false;
37 #endif // DBUSINTERFACE_H