noteobj.h
author insilmaril
Tue May 26 11:24:51 2009 +0000 (2009-05-26)
changeset 774 2f002657dada
parent 617 7ee5bf3647d3
child 842 bec082472471
permissions -rw-r--r--
added missing new files
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@617
     8
#include "xmlobj.h"
insilmaril@0
     9
insilmaril@474
    10
/*! \brief The text note belonging to one OrnamentedObj */
insilmaril@474
    11
insilmaril@474
    12
insilmaril@617
    13
class NoteObj:public XMLObj
insilmaril@0
    14
{
insilmaril@0
    15
public:
insilmaril@0
    16
	NoteObj();
insilmaril@186
    17
	NoteObj(const QString&);
insilmaril@746
    18
	void operator= (const NoteObj &);
insilmaril@0
    19
	void copy (NoteObj);
insilmaril@0
    20
	void clear();
insilmaril@0
    21
	void setNote (const QString&);
insilmaril@746
    22
	QString getNote() const;
insilmaril@186
    23
	QString getNoteASCII();
insilmaril@746
    24
	QString getNoteASCII(const QString &indent, const int &width=0);
insilmaril@186
    25
	QString getNoteOpenDoc();
insilmaril@0
    26
	void setFontHint (const QString&);
insilmaril@746
    27
	QString getFontHint () const;
insilmaril@0
    28
	void setFilenameHint (const QString&);
insilmaril@746
    29
	QString getFilenameHint () const;
insilmaril@0
    30
	bool isEmpty();
insilmaril@0
    31
	QString	saveToDir();
insilmaril@0
    32
insilmaril@0
    33
private:
insilmaril@0
    34
	QString note;
insilmaril@0
    35
	QString fonthint;
insilmaril@0
    36
	QString filenamehint;
insilmaril@0
    37
};
insilmaril@0
    38
#endif