noteobj.h
branchqt4-port
changeset 4 ec3d2962893d
child 186 2e9f9acde92a
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/noteobj.h	Tue Jun 13 13:54:53 2006 +0000
     1.3 @@ -0,0 +1,30 @@
     1.4 +#ifndef NOTEOBJ_H
     1.5 +#define NOTEOBJ_H
     1.6 +
     1.7 +#include <qstring.h>
     1.8 +
     1.9 +class NoteObj;
    1.10 +
    1.11 +#include "misc.h"
    1.12 +
    1.13 +class NoteObj:public xmlObj
    1.14 +{
    1.15 +public:
    1.16 +	NoteObj();
    1.17 +	void copy (NoteObj);
    1.18 +	void clear();
    1.19 +	void setNote (const QString&);
    1.20 +	QString getNote();
    1.21 +	void setFontHint (const QString&);
    1.22 +	QString getFontHint ();
    1.23 +	void setFilenameHint (const QString&);
    1.24 +	QString getFilenameHint ();
    1.25 +	bool isEmpty();
    1.26 +	QString	saveToDir();
    1.27 +
    1.28 +private:
    1.29 +	QString note;
    1.30 +	QString fonthint;
    1.31 +	QString filenamehint;
    1.32 +};
    1.33 +#endif