Changeset View
Changeset View
Standalone View
Standalone View
app/qml/DevicePage.qml
Show First 20 Lines • Show All 93 Lines • ▼ Show 20 Line(s) | 93 | PluginItem { | |||
---|---|---|---|---|---|
94 | readonly property var findmyphoneIface: FindMyPhoneDbusInterfaceFactory.create(deviceView.currentDevice.id()) | 94 | readonly property var findmyphoneIface: FindMyPhoneDbusInterfaceFactory.create(deviceView.currentDevice.id()) | ||
95 | pluginName: "findmyphone" | 95 | pluginName: "findmyphone" | ||
96 | label: i18n("Find Device") | 96 | label: i18n("Find Device") | ||
97 | onClicked: { | 97 | onClicked: { | ||
98 | findmyphoneIface.ring() | 98 | findmyphoneIface.ring() | ||
99 | } | 99 | } | ||
100 | } | 100 | } | ||
101 | 101 | | |||
102 | PluginItem { | ||||
103 | label: i18n("Run command") | ||||
104 | interfaceFactory: RemoteCommandsDbusInterfaceFactory | ||||
105 | component: "qrc:/qml/runcommand.qml" | ||||
106 | pluginName: "remotecommands" | ||||
107 | } | ||||
108 | | ||||
102 | Item { Layout.fillHeight: true } | 109 | Item { Layout.fillHeight: true } | ||
103 | } | 110 | } | ||
104 | } | 111 | } | ||
105 | Component { | 112 | Component { | ||
106 | id: untrustedDevice | 113 | id: untrustedDevice | ||
107 | Item { | 114 | Item { | ||
108 | readonly property var actions: [] | 115 | readonly property var actions: [] | ||
109 | Button { | 116 | Button { | ||
Show All 28 Lines |