@@ -274,23 +274,23 @@ class MprisPlayer: public QObject {
274274 [[nodiscard]] bool isValid () const ;
275275 [[nodiscard]] QString address () const ;
276276
277- [[nodiscard]] QBindable<bool > bindableCanControl () const { return &this ->bCanControl ; };
278- [[nodiscard]] QBindable<bool > bindableCanSeek () const { return &this ->bCanSeek ; };
279- [[nodiscard]] QBindable<bool > bindableCanGoNext () const { return &this ->bCanGoNext ; };
280- [[nodiscard]] QBindable<bool > bindableCanGoPrevious () const { return &this ->bCanGoPrevious ; };
281- [[nodiscard]] QBindable<bool > bindableCanPlay () const { return &this ->bCanPlay ; };
282- [[nodiscard]] QBindable<bool > bindableCanPause () const { return &this ->bCanPause ; };
277+ [[nodiscard]] QBindable<bool > bindableCanControl () const { return &this ->bCanControl ; }
278+ [[nodiscard]] QBindable<bool > bindableCanSeek () const { return &this ->bCanSeek ; }
279+ [[nodiscard]] QBindable<bool > bindableCanGoNext () const { return &this ->bCanGoNext ; }
280+ [[nodiscard]] QBindable<bool > bindableCanGoPrevious () const { return &this ->bCanGoPrevious ; }
281+ [[nodiscard]] QBindable<bool > bindableCanPlay () const { return &this ->bCanPlay ; }
282+ [[nodiscard]] QBindable<bool > bindableCanPause () const { return &this ->bCanPause ; }
283283 [[nodiscard]] QBindable<bool > bindableCanTogglePlaying () const {
284284 return &this ->bCanTogglePlaying ;
285- };
286- [[nodiscard]] QBindable<bool > bindableCanQuit () const { return &this ->bCanQuit ; };
287- [[nodiscard]] QBindable<bool > bindableCanRaise () const { return &this ->bCanRaise ; };
285+ }
286+ [[nodiscard]] QBindable<bool > bindableCanQuit () const { return &this ->bCanQuit ; }
287+ [[nodiscard]] QBindable<bool > bindableCanRaise () const { return &this ->bCanRaise ; }
288288 [[nodiscard]] QBindable<bool > bindableCanSetFullscreen () const {
289289 return &this ->bCanSetFullscreen ;
290- };
290+ }
291291
292- [[nodiscard]] QBindable<QString> bindableIdentity () const { return &this ->bIdentity ; };
293- [[nodiscard]] QBindable<QString> bindableDesktopEntry () const { return &this ->bDesktopEntry ; };
292+ [[nodiscard]] QBindable<QString> bindableIdentity () const { return &this ->bIdentity ; }
293+ [[nodiscard]] QBindable<QString> bindableDesktopEntry () const { return &this ->bDesktopEntry ; }
294294
295295 [[nodiscard]] qlonglong positionMs () const ;
296296 [[nodiscard]] qreal position () const ;
@@ -300,49 +300,49 @@ class MprisPlayer: public QObject {
300300 [[nodiscard]] qreal length () const ;
301301 [[nodiscard]] QBindable<bool > bindableLengthSupported () const { return &this ->bLengthSupported ; }
302302
303- [[nodiscard]] qreal volume () const { return this ->bVolume ; };
303+ [[nodiscard]] qreal volume () const { return this ->bVolume ; }
304304 [[nodiscard]] bool volumeSupported () const ;
305305 void setVolume (qreal volume);
306306
307- [[nodiscard]] QBindable<quint32> bindableUniqueId () const { return &this ->bUniqueId ; };
308- [[nodiscard]] QBindable<QVariantMap> bindableMetadata () const { return &this ->bMetadata ; };
309- [[nodiscard]] QBindable<QString> bindableTrackTitle () const { return &this ->bTrackTitle ; };
310- [[nodiscard]] QBindable<QString> bindableTrackAlbum () const { return &this ->bTrackAlbum ; };
307+ [[nodiscard]] QBindable<quint32> bindableUniqueId () const { return &this ->bUniqueId ; }
308+ [[nodiscard]] QBindable<QVariantMap> bindableMetadata () const { return &this ->bMetadata ; }
309+ [[nodiscard]] QBindable<QString> bindableTrackTitle () const { return &this ->bTrackTitle ; }
310+ [[nodiscard]] QBindable<QString> bindableTrackAlbum () const { return &this ->bTrackAlbum ; }
311311 [[nodiscard]] QBindable<QString> bindableTrackAlbumArtist () const {
312312 return &this ->bTrackAlbumArtist ;
313- };
314- [[nodiscard]] QBindable<QString> bindableTrackArtist () const { return &this ->bTrackArtist ; };
315- [[nodiscard]] QBindable<QString> bindableTrackArtUrl () const { return &this ->bTrackArtUrl ; };
313+ }
314+ [[nodiscard]] QBindable<QString> bindableTrackArtist () const { return &this ->bTrackArtist ; }
315+ [[nodiscard]] QBindable<QString> bindableTrackArtUrl () const { return &this ->bTrackArtUrl ; }
316316
317- [[nodiscard]] MprisPlaybackState::Enum playbackState () const { return this ->bPlaybackState ; };
317+ [[nodiscard]] MprisPlaybackState::Enum playbackState () const { return this ->bPlaybackState ; }
318318 void setPlaybackState (MprisPlaybackState::Enum playbackState);
319319
320- [[nodiscard]] bool isPlaying () const { return this ->bIsPlaying ; };
320+ [[nodiscard]] bool isPlaying () const { return this ->bIsPlaying ; }
321321 void setPlaying (bool playing);
322322
323- [[nodiscard]] MprisLoopState::Enum loopState () const { return this ->bLoopState ; };
323+ [[nodiscard]] MprisLoopState::Enum loopState () const { return this ->bLoopState ; }
324324 [[nodiscard]] bool loopSupported () const ;
325325 void setLoopState (MprisLoopState::Enum loopState);
326326
327- [[nodiscard]] qreal rate () const { return this ->bRate ; };
328- [[nodiscard]] QBindable<qreal> bindableMinRate () const { return &this ->bRate ; };
329- [[nodiscard]] QBindable<qreal> bindableMaxRate () const { return &this ->bRate ; };
327+ [[nodiscard]] qreal rate () const { return this ->bRate ; }
328+ [[nodiscard]] QBindable<qreal> bindableMinRate () const { return &this ->bRate ; }
329+ [[nodiscard]] QBindable<qreal> bindableMaxRate () const { return &this ->bRate ; }
330330 void setRate (qreal rate);
331331
332- [[nodiscard]] bool shuffle () const { return this ->bShuffle ; };
332+ [[nodiscard]] bool shuffle () const { return this ->bShuffle ; }
333333 [[nodiscard]] bool shuffleSupported () const ;
334334 void setShuffle (bool shuffle);
335335
336- [[nodiscard]] bool fullscreen () const { return this ->bFullscreen ; };
336+ [[nodiscard]] bool fullscreen () const { return this ->bFullscreen ; }
337337 void setFullscreen (bool fullscreen);
338338
339339 [[nodiscard]] QBindable<QList<QString>> bindableSupportedUriSchemes () const {
340340 return &this ->bSupportedUriSchemes ;
341- };
341+ }
342342
343343 [[nodiscard]] QBindable<QList<QString>> bindableSupportedMimeTypes () const {
344344 return &this ->bSupportedMimeTypes ;
345- };
345+ }
346346
347347signals:
348348 // / The track has changed.
@@ -414,7 +414,7 @@ private slots:
414414 void onPlaybackStatusUpdated ();
415415 // call instead of setting bpPosition
416416 void setPosition (qlonglong position);
417- void requestPositionUpdate () { this ->pPosition .requestUpdate (); };
417+ void requestPositionUpdate () { this ->pPosition .requestUpdate (); }
418418
419419 // clang-format off
420420 Q_OBJECT_BINDABLE_PROPERTY (MprisPlayer, QString, bIdentity, &MprisPlayer::identityChanged);
0 commit comments