Changeset View
Changeset View
Standalone View
Standalone View
src/qml/PlatformIntegration.qml
| Show All 20 Lines | |||||
| 21 | Item { | 21 | Item { | ||
| 22 | id: rootItem | 22 | id: rootItem | ||
| 23 | 23 | | |||
| 24 | property alias playListModel: mpris2Interface.playListModel | 24 | property alias playListModel: mpris2Interface.playListModel | ||
| 25 | property alias audioPlayerManager: mpris2Interface.audioPlayerManager | 25 | property alias audioPlayerManager: mpris2Interface.audioPlayerManager | ||
| 26 | property alias player: mpris2Interface.audioPlayer | 26 | property alias player: mpris2Interface.audioPlayer | ||
| 27 | property alias headerBarManager: mpris2Interface.headerBarManager | 27 | property alias headerBarManager: mpris2Interface.headerBarManager | ||
| 28 | property alias manageMediaPlayerControl: mpris2Interface.manageMediaPlayerControl | 28 | property alias manageMediaPlayerControl: mpris2Interface.manageMediaPlayerControl | ||
| 29 | property alias showProgressOnTaskBar: mpris2Interface.showProgressOnTaskBar | ||||
| 29 | 30 | | |||
| 30 | signal raisePlayer() | 31 | signal raisePlayer() | ||
| 31 | 32 | | |||
| 32 | Mpris2 { | 33 | Mpris2 { | ||
| 33 | id: mpris2Interface | 34 | id: mpris2Interface | ||
| 34 | 35 | | |||
| 35 | playerName: 'elisa' | 36 | playerName: 'elisa' | ||
| 36 | 37 | | |||
| 37 | onRaisePlayer: | 38 | onRaisePlayer: | ||
| 38 | { | 39 | { | ||
| 39 | rootItem.raisePlayer() | 40 | rootItem.raisePlayer() | ||
| 40 | } | 41 | } | ||
| 41 | } | 42 | } | ||
| 42 | } | 43 | } | ||