Store information about an audio compact disc. More...
Publicly inherits QObject.
CompactDisc | ( const CompactDiscID& id, QString& title, QString& artist, QString* tracks, int progLength, int* progTracks ); | |
const char* | artist | ( ); |
void | changeProgram | ( int length, int* tracks ); |
const CompactDiscID& | id | ( ); |
int | isEqual | ( const CompactDiscID& cid ); |
int | isEqual | ( const CompactDisc& cd ); |
Program* | program | ( ); |
const char* | title | ( ); |
const char* | track | ( int track ); |
~CompactDisc | ( ); |
void | saveDiscInfo | ( ); |
void | setArtist | ( const char* artist ); |
void | setTitle | ( const char* title ); |
void | setTrack | ( int track, const char* name ); |
CompactDisc | ( CompactDisc& cd ); | |
CompactDisc& | operator= | ( CompactDisc& cd ); |
void | updateArtist | ( const char* artist ); |
void | updateTitle | ( const char* title ); |
void | updateTrack | ( int track, const char* name ); |
QString | _artist; |
CompactDiscID | _id; |
Program* | _program; |
QString | _title; |
QString* | _tracks; |
Store information about an audio compact disc.
Maintain the title, artist, and track names for an audio compact disc. Each CompactDisc has an associated ComapctDiscID that uniquely identifies it within the Database.Create a CompactDisc.
Return the disc's artist.
Return a reference to our CompactDiscID.
Is our CompactDiscID equal to id?
Return the disc's title.
Return the name of track number track on the disc.
Delete a CompactDisc.
Update the CompactDisc's entry in the Database.
Set the disc's artist to artist.
Set the disc's title to title.
Set the name of track number track to name.
Emitted when the disc's artist changes.
Emitted when the disc's title changes.
Emitted when the name of a track on the disc changes.