noteobj.h
author insilmaril
Thu Nov 08 15:28:03 2007 +0000 (2007-11-08)
changeset 618 9d9da416206e
parent 613 8fb5b3956b3e
child 746 ee6b0f3a4c2f
permissions -rw-r--r--
1.11.2 split up of xml helper functions. started to work on attributes
     1 #ifndef NOTEOBJ_H
     2 #define NOTEOBJ_H
     3 
     4 #include <qstring.h>
     5 
     6 class NoteObj;
     7 
     8 #include "xmlobj.h"
     9 
    10 /*! \brief The text note belonging to one OrnamentedObj */
    11 
    12 
    13 class NoteObj:public XMLObj
    14 {
    15 public:
    16 	NoteObj();
    17 	NoteObj(const QString&);
    18 	void copy (NoteObj);
    19 	void clear();
    20 	void setNote (const QString&);
    21 	QString getNote();
    22 	QString getNoteASCII();
    23 	QString getNoteASCII(const QString &indent, const int &width);
    24 	QString getNoteOpenDoc();
    25 	void setFontHint (const QString&);
    26 	QString getFontHint ();
    27 	void setFilenameHint (const QString&);
    28 	QString getFilenameHint ();
    29 	bool isEmpty();
    30 	QString	saveToDir();
    31 
    32 private:
    33 	QString note;
    34 	QString fonthint;
    35 	QString filenamehint;
    36 };
    37 #endif