BluezQt::MediaPlayerTrack

Search for usage in LXR

BluezQt::MediaPlayerTrack Class Reference

#include <BluezQt/MediaPlayerTrack>

Public Member Functions

 MediaPlayerTrack ()
 
 MediaPlayerTrack (const MediaPlayerTrack &other)
 
virtual ~MediaPlayerTrack ()
 
QString album () const
 
QString artist () const
 
quint32 duration () const
 
QString genre () const
 
bool isValid () const
 
quint32 numberOfTracks () const
 
MediaPlayerTrackoperator= (const MediaPlayerTrack &other)
 
QString title () const
 
quint32 trackNumber () const
 

Detailed Description

Media player track.

This class represents a track in media player.

Constructor & Destructor Documentation

◆ MediaPlayerTrack() [1/2]

BluezQt::MediaPlayerTrack::MediaPlayerTrack ( )
explicit

Creates a new invalid MediaPlayerTrack object.

Definition at line 28 of file mediaplayertrack.cpp.

◆ ~MediaPlayerTrack()

BluezQt::MediaPlayerTrack::~MediaPlayerTrack ( )
virtual

Destroys a MediaPlayerTrack object.

Definition at line 50 of file mediaplayertrack.cpp.

◆ MediaPlayerTrack() [2/2]

BluezQt::MediaPlayerTrack::MediaPlayerTrack ( const MediaPlayerTrack & other)

Copy constructor.

Parameters
other

Definition at line 54 of file mediaplayertrack.cpp.

Member Function Documentation

◆ album()

QString BluezQt::MediaPlayerTrack::album ( ) const

Returns an album of the track.

Returns
track album

Definition at line 82 of file mediaplayertrack.cpp.

◆ artist()

QString BluezQt::MediaPlayerTrack::artist ( ) const

Returns an artist of the track.

Returns
track artist

Definition at line 77 of file mediaplayertrack.cpp.

◆ duration()

quint32 BluezQt::MediaPlayerTrack::duration ( ) const

Returns a duration of the track.

Returns
track duration

Definition at line 102 of file mediaplayertrack.cpp.

◆ genre()

QString BluezQt::MediaPlayerTrack::genre ( ) const

Returns a genre of the track.

Returns
track genre

Definition at line 87 of file mediaplayertrack.cpp.

◆ isValid()

bool BluezQt::MediaPlayerTrack::isValid ( ) const

Returns whether the track is valid.

Returns
true if track is valid

Definition at line 67 of file mediaplayertrack.cpp.

◆ numberOfTracks()

quint32 BluezQt::MediaPlayerTrack::numberOfTracks ( ) const

Returns a total number of tracks.

Returns
total number of tracks

Definition at line 92 of file mediaplayertrack.cpp.

◆ operator=()

MediaPlayerTrack & BluezQt::MediaPlayerTrack::operator= ( const MediaPlayerTrack & other)

Copy assignment operator.

Parameters
other

Definition at line 59 of file mediaplayertrack.cpp.

◆ title()

QString BluezQt::MediaPlayerTrack::title ( ) const

Returns a title of the track.

Returns
track title

Definition at line 72 of file mediaplayertrack.cpp.

◆ trackNumber()

quint32 BluezQt::MediaPlayerTrack::trackNumber ( ) const

Returns a track number of the track.

Returns
track number

Definition at line 97 of file mediaplayertrack.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:46 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.