Canorus
0.0
src
score
text.h
Go to the documentation of this file.
1
8
#ifndef TEXT_H_
9
#define TEXT_H_
10
11
#include <QString>
12
#include "
score/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_ */
CAMark
Marks that depend on other music elements.
Definition:
mark.h:15
CAMusElement
An abstract class which represents every music element in the score.
Definition:
muselement.h:21
CAPlayable
Playable instances of music elements.
Definition:
playable.h:18
CAText
Text sign.
Definition:
text.h:14
CAText::clone
CAText * clone(CAMusElement *elt=0)
Definition:
text.cpp:28
CAText::_text
QString _text
Definition:
text.h:26
CAText::CAText
CAText(const QString text, CAPlayable *m)
Definition:
text.cpp:20
CAText::setText
void setText(const QString t)
Definition:
text.h:20
CAText::text
const QString text()
Definition:
text.h:19
CAText::compare
int compare(CAMusElement *elt)
Definition:
text.cpp:32
CAText::~CAText
virtual ~CAText()
Definition:
text.cpp:25
mark.h
Generated by
1.9.3