trackChanged()

Emitted when a new track is selected for playback.

Synopsis:

#include <qplayer/qplayer.h>

void trackChanged( Track track );

Arguments:

track
The new "current" track, which is either playing now or will be played when playback resumes.

Description:

Emitted when a new track is selected for playback. This happens when the user skips to another tracksession item or when the player moves to another track automatically, either because the previous track finished playing or a playback error occurred. In all these cases, the object in track contains information on the newly selected track.