Canorus  0.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
text.h
Go to the documentation of this file.
1 
8 #ifndef TEXT_H_
9 #define TEXT_H_
10 
11 #include <QString>
12 #include "core/mark.h"
13 
14 class CAText : public CAMark {
15 public:
16  CAText( const QString text, CAPlayable *m );
17  virtual ~CAText();
18 
19  inline const QString text() { return _text; }
20  inline void setText( const QString t ) { _text = t; }
21 
22  CAText* clone(CAMusElement* elt=0);
23  int compare(CAMusElement *elt);
24 
25 private:
26  QString _text;
27 };
28 
29 #endif /* TEXT_H_ */