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 {
7070 Q_PROPERTY (bool canSeek READ canSeek NOTIFY canSeekChanged BINDABLE bindableCanSeek);
7171 Q_PROPERTY (bool canGoNext READ canGoNext NOTIFY canGoNextChanged BINDABLE bindableCanGoNext);
7272 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);
7575 Q_PROPERTY (bool canSetFullscreen READ canSetFullscreen NOTIFY canSetFullscreenChanged BINDABLE bindableCanSetFullscreen);
7676 // / The human readable name of the media player.
7777 Q_PROPERTY (QString identity READ identity NOTIFY identityChanged BINDABLE bindableIdentity);
7878 // / The name of the desktop entry for the media player, or an empty string if not provided.
7979 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);
8082 // / The current position in the playing track, as seconds, with millisecond precision,
8183 // / or `0` if @@positionSupported is false.
8284 // /
You can’t perform that action at this time.
0 commit comments