Changeset View
Changeset View
Standalone View
Standalone View
applet/contents/ui/DeviceListItem.qml
Show All 25 Lines | 23 | ListItemBase { | |||
---|---|---|---|---|---|
26 | draggable: false | 26 | draggable: false | ||
27 | label: currentPort ? i18nc("label of device items", "%1 (%2)", currentPort.description, Description) : Description | 27 | label: currentPort ? i18nc("label of device items", "%1 (%2)", currentPort.description, Description) : Description | ||
28 | icon: { | 28 | icon: { | ||
29 | switch(FormFactor) { | 29 | switch(FormFactor) { | ||
30 | case "internal": | 30 | case "internal": | ||
31 | return "audio-card"; | 31 | return "audio-card"; | ||
32 | case "speaker": | 32 | case "speaker": | ||
33 | return "audio-speakers-symbolic"; | 33 | return "audio-speakers-symbolic"; | ||
34 | case "phone": | ||||
35 | return "phone"; | ||||
34 | case "handset": | 36 | case "handset": | ||
35 | return "phone"; | 37 | return "phone"; | ||
36 | case "tv": | 38 | case "tv": | ||
37 | return "video-television"; | 39 | return "video-television"; | ||
38 | case "webcam": | 40 | case "webcam": | ||
39 | return "camera-web"; | 41 | return "camera-web"; | ||
40 | case "microphone": | 42 | case "microphone": | ||
41 | return "audio-input-microphone"; | 43 | return "audio-input-microphone"; | ||
Show All 15 Lines |