author | insilmaril |
Thu, 18 Mar 2010 11:46:52 +0000 | |
changeset 839 | fbb927bbdda3 |
parent 746 | ee6b0f3a4c2f |
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