[SCM] kdeconnect packaging branch, master, updated. upstream/1.0.1-206-gf661872
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 18:27:00 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=6ece566
The following commit has been merged in the master branch:
commit 6ece5665cd9aa3bfd4b77e94a540d36baadfe5db
Author: Aleix Pol <aleixpol at kde.org>
Date: Sun Aug 21 13:53:40 2016 +0200
Expose nameChanged through dbus
---
interfaces/dbusinterfaces.cpp | 1 +
interfaces/dbusinterfaces.h | 2 ++
2 files changed, 3 insertions(+)
diff --git a/interfaces/dbusinterfaces.cpp b/interfaces/dbusinterfaces.cpp
index ff2f815..1c681b3 100644
--- a/interfaces/dbusinterfaces.cpp
+++ b/interfaces/dbusinterfaces.cpp
@@ -45,6 +45,7 @@ DeviceDbusInterface::DeviceDbusInterface(const QString& id, QObject* parent)
, m_id(id)
{
connect(this, &OrgKdeKdeconnectDeviceInterface::trustedChanged, this, &DeviceDbusInterface::trustedChangedProxy);
+ connect(this, &OrgKdeKdeconnectDeviceInterface::nameChanged, this, &DeviceDbusInterface::nameChangedProxy);
}
DeviceDbusInterface::~DeviceDbusInterface()
diff --git a/interfaces/dbusinterfaces.h b/interfaces/dbusinterfaces.h
index 20fa086..286c9cb 100644
--- a/interfaces/dbusinterfaces.h
+++ b/interfaces/dbusinterfaces.h
@@ -60,6 +60,7 @@ class KDECONNECTINTERFACES_EXPORT DeviceDbusInterface
// TODO: Workaround because OrgKdeKdeconnectDeviceInterface is not generating
// the signals for the properties
Q_PROPERTY(bool isTrusted READ isTrusted NOTIFY trustedChangedProxy)
+ Q_PROPERTY(QString name READ name NOTIFY nameChangedProxy)
public:
explicit DeviceDbusInterface(const QString& deviceId, QObject* parent = nullptr);
@@ -69,6 +70,7 @@ public:
Q_SCRIPTABLE void pluginCall(const QString &plugin, const QString &method);
Q_SIGNALS:
+ void nameChangedProxy(const QString &name);
void trustedChangedProxy(bool paired);
private:
--
kdeconnect packaging
More information about the pkg-kde-commits
mailing list