noteobj.h
author insilmaril
Thu, 26 Mar 2009 07:49:17 +0000
changeset 746 ee6b0f3a4c2f
parent 617 7ee5bf3647d3
child 842 bec082472471
permissions -rw-r--r--
Notes work again (to some degree)
     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 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();
    32 
    33 private:
    34 	QString note;
    35 	QString fonthint;
    36 	QString filenamehint;
    37 };
    38 #endif