Maintain an ordered list of tracks to be played. More...
Publicly inherits QObject.
Program | ( const CompactDiscID& id ); | ||||||||||||||||
Program | ( const int length, const int* tracks ); | ||||||||||||||||
bool | isEnd | ( ); | |||||||||||||||
bool | isStart | ( ); | |||||||||||||||
int | next | ( ); | |||||||||||||||
QListordered | ( );
| int | previous | ( );
| int | reset | ( );
| void | shuffle | ( );
| void | unshuffle | ( );
| | ~Program | ( );
| |
Program | ( const Program& prog ); | |
Program& | operator= | ( const Program& prog ); |
void | updateStep | ( int step ); |
QList_orderedTracks;
| unsigned int | _step;
| QList | _tracks;
| |
Maintain an ordered list of tracks to be played.
The Program class contains an ordered list of tracks on an audio disc. Each track in the program is considered to be a step. The program step can be reset to the beginning of the program, incremented, and decremented. Each operation that changes the program step returns the new current track number. This is the abstract base class for all types of Programs.Check to see if we are at the end of the Program.
Check to see if we are at the start of the Program.
Increment the program step, and return the new current track.
Return the list of programmed tracks in order.
Decrement the program step, and return the new current track.
Reset the program step, and return the new current track.
Re-shuffle the tracks.
Unshuffle the tracks.
Emitted when the program step changes.