File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -70,13 +70,15 @@ class MprisPlayer: public QObject {
70
70
Q_PROPERTY (bool canSeek READ canSeek NOTIFY canSeekChanged BINDABLE bindableCanSeek);
71
71
Q_PROPERTY (bool canGoNext READ canGoNext NOTIFY canGoNextChanged BINDABLE bindableCanGoNext);
72
72
Q_PROPERTY (bool canGoPrevious READ canGoPrevious NOTIFY canGoPreviousChanged BINDABLE bindableCanGoPrevious);
73
- Q_PROPERTY (bool canQuit READ canQuit NOTIFY canQuitChanged BINDABLE bindableCanQuit BINDABLE bindableCanQuit );
74
- Q_PROPERTY (bool canRaise READ canRaise NOTIFY canRaiseChanged BINDABLE bindableCanRaise BINDABLE bindableCanRaise );
73
+ Q_PROPERTY (bool canQuit READ canQuit NOTIFY canQuitChanged BINDABLE bindableCanQuit);
74
+ Q_PROPERTY (bool canRaise READ canRaise NOTIFY canRaiseChanged BINDABLE bindableCanRaise);
75
75
Q_PROPERTY (bool canSetFullscreen READ canSetFullscreen NOTIFY canSetFullscreenChanged BINDABLE bindableCanSetFullscreen);
76
76
// / The human readable name of the media player.
77
77
Q_PROPERTY (QString identity READ identity NOTIFY identityChanged BINDABLE bindableIdentity);
78
78
// / The name of the desktop entry for the media player, or an empty string if not provided.
79
79
Q_PROPERTY (QString desktopEntry READ desktopEntry NOTIFY desktopEntryChanged BINDABLE bindableDesktopEntry);
80
+ // / The DBus service name of the player.
81
+ Q_PROPERTY (QString dbusName READ address CONSTANT);
80
82
// / The current position in the playing track, as seconds, with millisecond precision,
81
83
// / or `0` if @@positionSupported is false.
82
84
// /
You can’t perform that action at this time.
0 commit comments