Changeset View
Changeset View
Standalone View
Standalone View
app/qml/DevicePage.qml
Show First 20 Lines • Show All 108 Lines • ▼ Show 20 Line(s) | 108 | PluginItem { | |||
---|---|---|---|---|---|
109 | readonly property var shareIface: ShareDbusInterfaceFactory.create(deviceView.currentDevice.id()) | 109 | readonly property var shareIface: ShareDbusInterfaceFactory.create(deviceView.currentDevice.id()) | ||
110 | pluginName: "share" | 110 | pluginName: "share" | ||
111 | label: i18n("Share File") | 111 | label: i18n("Share File") | ||
112 | onClicked: { | 112 | onClicked: { | ||
113 | fileDialog.open() | 113 | fileDialog.open() | ||
114 | shareIface.shareUrl(fileDialog.fileUrl) | 114 | shareIface.shareUrl(fileDialog.fileUrl) | ||
115 | } | 115 | } | ||
116 | } | 116 | } | ||
117 | PluginItem { | ||||
118 | label: i18n("Volume control") | ||||
119 | interfaceFactory: RemoteSystemVolumeDbusInterfaceFactory | ||||
120 | component: "qrc:/qml/volume.qml" | ||||
121 | pluginName: "remotesystemvolume" | ||||
122 | } | ||||
117 | 123 | | |||
118 | Item { Layout.fillHeight: true } | 124 | Item { Layout.fillHeight: true } | ||
119 | } | 125 | } | ||
120 | } | 126 | } | ||
121 | Component { | 127 | Component { | ||
122 | id: untrustedDevice | 128 | id: untrustedDevice | ||
123 | Item { | 129 | Item { | ||
124 | readonly property var actions: [] | 130 | readonly property var actions: [] | ||
Show All 34 Lines |