noteobj.h
author insilmaril
Tue, 05 Sep 2006 09:30:16 +0000
branchqt4-port
changeset 21 b091563e28e6
parent 0 7a96bd401351
child 186 2e9f9acde92a
permissions -rw-r--r--
More undo/redo commands. Undo debug output still enabled
     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