Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fermata.h
Go to the documentation of this file.
1 
8 #ifndef FERMATA_H_
9 #define FERMATA_H_
10 
11 #include "core/mark.h"
12 
13 class CAPlayable;
14 class CABarline;
15 
16 class CAFermata : public CAMark {
17 public:
23  };
24 
27  virtual ~CAFermata();
28 
29  CAFermata *clone(CAMusElement* elt=0);
30  int compare( CAMusElement* );
31 
32  inline CAFermataType fermataType() { return _fermataType; }
33  inline void setFermataType( CAFermataType t ) { _fermataType = t; }
34 
35  static const QString fermataTypeToString( CAFermataType t );
36  static CAFermataType fermataTypeFromString( const QString r );
37 
38 private:
40 };
41 
42 #endif /* FERMATA_H_ */
Definition: fermata.h:22
CAFermataType
Definition: fermata.h:18
CAFermata(CAPlayable *m, CAFermataType t=NormalFermata)
Definition: fermata.cpp:20
Marks that depend on other music elements.
Definition: mark.h:15
void setFermataType(CAFermataType t)
Definition: fermata.h:33
static CAFermataType fermataTypeFromString(const QString r)
Definition: fermata.cpp:65
Definition: fermata.h:21
CAFermataType fermataType()
Definition: fermata.h:32
Definition: fermata.h:20
An abstract class which represents every music element in the score.
Definition: muselement.h:20
Definition: fermata.h:19
Fermata mark.
Definition: fermata.h:16
Playable instances of music elements.
Definition: playable.h:18
int compare(CAMusElement *)
Definition: fermata.cpp:41
virtual ~CAFermata()
Definition: fermata.cpp:30
CAFermataType _fermataType
Definition: fermata.h:39
Music element which represents a barline in the score.
Definition: barline.h:17
CAFermata * clone(CAMusElement *elt=0)
Definition: fermata.cpp:33
static const QString fermataTypeToString(CAFermataType t)
Definition: fermata.cpp:52