diff options
| author | Elvis Angelaccio <[email protected]> | 2020-03-16 23:01:54 +0100 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2020-03-16 23:01:54 +0100 |
| commit | b65c5c3bc2f34e285d24af08248b409a23a2f723 (patch) | |
| tree | e7dbd64f775c212d76b6acbcf1d66f42f7624298 /src/dbusinterface.h | |
| parent | 158d12ac37d27023cabf86d165630ec0c9309d4b (diff) | |
| parent | 869b8d7e303b318d7370309d6caa82a0ba8056bf (diff) | |
Merge branch 'release/20.04'
Diffstat (limited to 'src/dbusinterface.h')
| -rw-r--r-- | src/dbusinterface.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/dbusinterface.h b/src/dbusinterface.h index baf804f68..391916d62 100644 --- a/src/dbusinterface.h +++ b/src/dbusinterface.h @@ -32,6 +32,19 @@ public: Q_SCRIPTABLE void ShowFolders(const QStringList& uriList, const QString& startUpId); Q_SCRIPTABLE void ShowItems(const QStringList& uriList, const QString& startUpId); Q_SCRIPTABLE void ShowItemProperties(const QStringList& uriList, const QString& startUpId); + + /** + * Set whether this interface has been created by dolphin --deamon. + */ + void setAsDaemon(); + + /** + * @return Whether this interface has been created by dolphin --deamon. + */ + bool isDaemon() const; + +private: + bool m_isDaemon = false; }; #endif // DBUSINTERFACE_H |
