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.

Definition at line 26 of file mediaplayertrack.h.

Constructor & Destructor Documentation

◆ MediaPlayerTrack() [1/2]

BluezQt::MediaPlayerTrack::MediaPlayerTrack ( )

Creates a new invalid MediaPlayerTrack object.

Definition at line 28 of file mediaplayertrack.cpp.

◆ ~MediaPlayerTrack()

BluezQt::MediaPlayerTrack::~MediaPlayerTrack ( )

Destroys a MediaPlayerTrack object.

Definition at line 50 of file mediaplayertrack.cpp.

◆ MediaPlayerTrack() [2/2]

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

Copy constructor.


Definition at line 54 of file mediaplayertrack.cpp.

Member Function Documentation

◆ album()

QString BluezQt::MediaPlayerTrack::album ( ) const

Returns an album of the track.

track album

Definition at line 82 of file mediaplayertrack.cpp.

◆ artist()

QString BluezQt::MediaPlayerTrack::artist ( ) const

Returns an artist of the track.

track artist

Definition at line 77 of file mediaplayertrack.cpp.

◆ duration()

quint32 BluezQt::MediaPlayerTrack::duration ( ) const

Returns a duration of the track.

track duration

Definition at line 102 of file mediaplayertrack.cpp.

◆ genre()

QString BluezQt::MediaPlayerTrack::genre ( ) const

Returns a genre of the track.

track genre

Definition at line 87 of file mediaplayertrack.cpp.

◆ isValid()

bool BluezQt::MediaPlayerTrack::isValid ( ) const

Returns whether the track is valid.

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.

total number of tracks

Definition at line 92 of file mediaplayertrack.cpp.

◆ operator=()

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

Copy assignment operator.


Definition at line 59 of file mediaplayertrack.cpp.

◆ title()

QString BluezQt::MediaPlayerTrack::title ( ) const

Returns a title of the track.

track title

Definition at line 72 of file mediaplayertrack.cpp.

◆ trackNumber()

quint32 BluezQt::MediaPlayerTrack::trackNumber ( ) const

Returns a track number of the track.

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 Fri May 24 2024 11:52:41 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.