static const QString restTypeToString(CARestType)
Definition: rest.cpp:64
CARestType _restType
Definition: rest.h:38
Represents a rest in the score.
Definition: rest.h:15
Class which represents a voice in the staff.
Definition: voice.h:22
CARestType
Definition: rest.h:17
CARest(CARestType type, CAPlayableLength length, CAVoice *voice, int timeStart, int timeLength=-1)
Definition: rest.cpp:25
CAVoice * voice()
Definition: playable.h:31
virtual int timeStart()
Definition: muselement.h:48
static CARestType restTypeFromString(const QString)
Definition: rest.cpp:78
Musical length of notes and rests.
Definition: playablelength.h:16
CARest * clone(CAVoice *voice=0)
Definition: rest.cpp:37
virtual int timeLength()
Definition: muselement.h:50
~CARest()
Definition: rest.cpp:34
An abstract class which represents every music element in the score.
Definition: muselement.h:20
Playable instances of music elements.
Definition: playable.h:18
Represents a staff in the sheet.
Definition: staff.h:24
CARestType restType()
Definition: rest.h:28
void setRestType(CARestType type)
Definition: rest.h:29
static QList< CARest * > composeRests(int timeLength, int timeStart, CAVoice *voice=0, CARestType=Hidden)
Definition: rest.cpp:96
int compare(CAMusElement *elt)
Definition: rest.cpp:48