author | insilmaril |
Tue May 26 11:24:51 2009 +0000 (2009-05-26) | |
changeset 774 | 2f002657dada |
parent 617 | 7ee5bf3647d3 |
child 842 | bec082472471 |
permissions | -rw-r--r-- |
1 #ifndef NOTEOBJ_H
2 #define NOTEOBJ_H
4 #include <qstring.h>
6 class NoteObj;
8 #include "xmlobj.h"
10 /*! \brief The text note belonging to one OrnamentedObj */
13 class NoteObj:public XMLObj
14 {
15 public:
16 NoteObj();
17 NoteObj(const QString&);
18 void operator= (const NoteObj &);
19 void copy (NoteObj);
20 void clear();
21 void setNote (const QString&);
22 QString getNote() const;
23 QString getNoteASCII();
24 QString getNoteASCII(const QString &indent, const int &width=0);
25 QString getNoteOpenDoc();
26 void setFontHint (const QString&);
27 QString getFontHint () const;
28 void setFilenameHint (const QString&);
29 QString getFilenameHint () const;
30 bool isEmpty();
31 QString saveToDir();
33 private:
34 QString note;
35 QString fonthint;
36 QString filenamehint;
37 };
38 #endif