Canorus 0.0
bookmark.h
Go to the documentation of this file.
1
8#ifndef BOOKMARK_H_
9#define BOOKMARK_H_
10
11#include <QString>
12#include "score/mark.h"
13
14class CABookMark: public CAMark {
15public:
16 CABookMark( const QString text, CAMusElement *m );
17 virtual ~CABookMark();
18
19 inline const QString text() { return _text; }
20 inline void setText( const QString t ) { _text = t; }
21
23 int compare(CAMusElement *elt);
24
25private:
26 QString _text;
27};
28
29#endif /* BOOKMARK_H_ */
A bookmark shortcut.
Definition: bookmark.h:14
CABookMark * clone(CAMusElement *elt=0)
Definition: bookmark.cpp:25
const QString text()
Definition: bookmark.h:19
QString _text
Definition: bookmark.h:26
void setText(const QString t)
Definition: bookmark.h:20
CABookMark(const QString text, CAMusElement *m)
Definition: bookmark.cpp:17
int compare(CAMusElement *elt)
Definition: bookmark.cpp:29
virtual ~CABookMark()
Definition: bookmark.cpp:22
Marks that depend on other music elements.
Definition: mark.h:15
An abstract class which represents every music element in the score.
Definition: muselement.h:21