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_ */
CAMusElement::Mark
@ Mark
Definition:
muselement.h:37
playable.h
CAText::text
const QString text()
Definition:
text.h:19
CAText::~CAText
virtual ~CAText()
Definition:
text.cpp:25
CAPlayable
Playable instances of music elements.
Definition:
playable.h:18
CAText::setText
void setText(const QString t)
Definition:
text.h:20
CAText::compare
int compare(CAMusElement *elt)
Definition:
text.cpp:32
CAMark::markType
CAMarkType markType()
Definition:
mark.h:45
text.h
CAText::CAText
CAText(const QString text, CAPlayable *m)
Definition:
text.cpp:20
CAText::clone
CAText * clone(CAMusElement *elt=0)
Definition:
text.cpp:28
CAMusElement
An abstract class which represents every music element in the score.
Definition:
muselement.h:21
CAText::_text
QString _text
Definition:
text.h:26
CAMusElement::isPlayable
bool isPlayable()
Definition:
muselement.cpp:78
CAText
Text sign.
Definition:
text.h:14
CAMark
Marks that depend on other music elements.
Definition:
mark.h:15
CAMark::Text
@ Text
Definition:
mark.h:19
CAMusElement::musElementType
CAMusElementType musElementType()
Definition:
muselement.h:46
mark.h
Generated by
1.8.20