noteobj.h
author insilmaril
Wed Jul 27 18:56:32 2005 +0000 (2005-07-27)
changeset 138 9079931da6c3
child 186 2e9f9acde92a
permissions -rw-r--r--
1.7.2 fixed undo to select the right object before undoCommand
     1 #ifndef NOTEOBJ_H
     2 #define NOTEOBJ_H
     3 
     4 #include <qstring.h>
     5 
     6 class NoteObj;
     7 
     8 #include "misc.h"
     9 
    10 class NoteObj:public xmlObj
    11 {
    12 public:
    13 	NoteObj();
    14 	void copy (NoteObj);
    15 	void clear();
    16 	void setNote (const QString&);
    17 	QString getNote();
    18 	void setFontHint (const QString&);
    19 	QString getFontHint ();
    20 	void setFilenameHint (const QString&);
    21 	QString getFilenameHint ();
    22 	bool isEmpty();
    23 	QString	saveToDir();
    24 
    25 private:
    26 	QString note;
    27 	QString fonthint;
    28 	QString filenamehint;
    29 };
    30 #endif