[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498
Maximiliano Curia
maxy at moszumanska.debian.org
Fri Oct 14 14:28:20 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=9c45c54
The following commit has been merged in the master branch:
commit 9c45c5469c60d63dacda70dba90abac975c2af12
Author: Aleix Pol <aleixpol at kde.org>
Date: Sat Mar 14 04:09:14 2015 +0100
Prefer to specify the property
Tie the change signal to the getter, makes the interface easier to read
and opens the possibility to adopt certain optimizations in the Qt side.
---
core/device.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/core/device.h b/core/device.h
index 8383a6d..367c198 100644
--- a/core/device.h
+++ b/core/device.h
@@ -42,6 +42,7 @@ class KDECONNECTCORE_EXPORT Device
Q_PROPERTY(QString id READ id CONSTANT)
Q_PROPERTY(QString iconName READ iconName CONSTANT)
Q_PROPERTY(QString name READ name)
+ Q_PROPERTY(bool isReachable READ isReachable NOTIFY reachableStatusChanged)
enum PairStatus {
NotPaired,
@@ -90,7 +91,7 @@ public:
Q_SCRIPTABLE bool pairRequested() const { return m_pairStatus==Device::Requested; }
Q_SCRIPTABLE QStringList availableLinks() const;
- Q_SCRIPTABLE bool isReachable() const { return !m_deviceLinks.isEmpty(); }
+ bool isReachable() const { return !m_deviceLinks.isEmpty(); }
Q_SCRIPTABLE QStringList loadedPlugins() const;
Q_SCRIPTABLE bool hasPlugin(const QString& name) const;
--
kdeconnect packaging
More information about the pkg-kde-commits
mailing list