[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498
Maximiliano Curia
maxy at moszumanska.debian.org
Fri Oct 14 14:29:48 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=70b6e5f
The following commit has been merged in the master branch:
commit 70b6e5f8044a35751b49db888f7af7d0710d7aaa
Author: Aleix Pol <aleixpol at kde.org>
Date: Sun Jun 12 22:31:09 2016 +0200
Implement PluginChecker for plugin availability
---
app/qml/DevicePage.qml | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/app/qml/DevicePage.qml b/app/qml/DevicePage.qml
index 1542696..213d133 100644
--- a/app/qml/DevicePage.qml
+++ b/app/qml/DevicePage.qml
@@ -60,6 +60,11 @@ Kirigami.Page
Layout.fillWidth: true
Kirigami.BasicListItem {
+ readonly property var fu: PluginChecker {
+ id: mprisChecker
+ pluginName: "mpriscontrol"
+ }
+ enabled: mprisChecker.available
label: i18n("Multimedia control")
onClicked: pageStack.push(
"qrc:/qml/mpris.qml",
@@ -67,6 +72,11 @@ Kirigami.Page
);
}
Kirigami.BasicListItem {
+ readonly property var fu: PluginChecker {
+ id: mousepadChecker
+ pluginName: "mousepad"
+ }
+ enabled: mousepadChecker.available
label: i18n("Remote input")
onClicked: pageStack.push(
"qrc:/qml/mousepad.qml",
@@ -74,6 +84,11 @@ Kirigami.Page
);
}
Kirigami.BasicListItem {
+ readonly property var fu: PluginChecker {
+ id: lockdeviceChecker
+ pluginName: "lockdevice"
+ }
+ enabled: lockdeviceChecker.available
property var lockIface: LockDeviceDbusInterfaceFactory.create(deviceView.currentDevice.id())
label: lockIface.isLocked ? i18n("Unlock") : i18n("Lock")
onClicked: {
--
kdeconnect packaging
More information about the pkg-kde-commits
mailing list