From 61f357a512e6ca3b202c6bd8285c4ec867e19f3b Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Mon, 7 Sep 2015 17:12:28 +0200 Subject: [PATCH] Fix regression Reviewed by Albert Vaca --- core/daemon.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/daemon.h b/core/daemon.h index 6da87e97d..3f860633e 100644 --- a/core/daemon.h +++ b/core/daemon.h @@ -55,8 +55,9 @@ public Q_SLOTS: Q_SCRIPTABLE void forceOnNetworkChange(); - QString announcedName(); - void setAnnouncedName(QString name); + ///don't try to turn into Q_PROPERTY, it doesn't work + Q_SCRIPTABLE QString announcedName(); + Q_SCRIPTABLE void setAnnouncedName(QString name); //Returns a list of ids. The respective devices can be manipulated using the dbus path: "/modules/kdeconnect/Devices/"+id Q_SCRIPTABLE QStringList devices(bool onlyReachable = false, bool onlyPaired = false) const;