noteobj.h
author insilmaril
Thu May 17 20:19:03 2007 +0000 (2007-05-17)
changeset 488 bd28847feede
parent 186 2e9f9acde92a
child 613 8fb5b3956b3e
permissions -rw-r--r--
minor bugfixes
insilmaril@0
     1
#ifndef NOTEOBJ_H
insilmaril@0
     2
#define NOTEOBJ_H
insilmaril@0
     3
insilmaril@0
     4
#include <qstring.h>
insilmaril@0
     5
insilmaril@0
     6
class NoteObj;
insilmaril@0
     7
insilmaril@0
     8
#include "misc.h"
insilmaril@0
     9
insilmaril@474
    10
/*! \brief The text note belonging to one OrnamentedObj */
insilmaril@474
    11
insilmaril@474
    12
insilmaril@0
    13
class NoteObj:public xmlObj
insilmaril@0
    14
{
insilmaril@0
    15
public:
insilmaril@0
    16
	NoteObj();
insilmaril@186
    17
	NoteObj(const QString&);
insilmaril@0
    18
	void copy (NoteObj);
insilmaril@0
    19
	void clear();
insilmaril@0
    20
	void setNote (const QString&);
insilmaril@0
    21
	QString getNote();
insilmaril@186
    22
	QString getNoteASCII();
insilmaril@186
    23
	QString getNoteOpenDoc();
insilmaril@0
    24
	void setFontHint (const QString&);
insilmaril@0
    25
	QString getFontHint ();
insilmaril@0
    26
	void setFilenameHint (const QString&);
insilmaril@0
    27
	QString getFilenameHint ();
insilmaril@0
    28
	bool isEmpty();
insilmaril@0
    29
	QString	saveToDir();
insilmaril@0
    30
insilmaril@0
    31
private:
insilmaril@0
    32
	QString note;
insilmaril@0
    33
	QString fonthint;
insilmaril@0
    34
	QString filenamehint;
insilmaril@0
    35
};
insilmaril@0
    36
#endif