author | insilmaril |
Tue Dec 04 12:32:56 2007 +0000 (2007-12-04) | |
changeset 626 | 96c8e6860e0c |
parent 613 | 8fb5b3956b3e |
child 746 | ee6b0f3a4c2f |
permissions | -rw-r--r-- |
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@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@613 | 23 |
QString getNoteASCII(const QString &indent, const int &width); |
insilmaril@186 | 24 |
QString getNoteOpenDoc(); |
insilmaril@0 | 25 |
void setFontHint (const QString&); |
insilmaril@0 | 26 |
QString getFontHint (); |
insilmaril@0 | 27 |
void setFilenameHint (const QString&); |
insilmaril@0 | 28 |
QString getFilenameHint (); |
insilmaril@0 | 29 |
bool isEmpty(); |
insilmaril@0 | 30 |
QString saveToDir(); |
insilmaril@0 | 31 |
|
insilmaril@0 | 32 |
private: |
insilmaril@0 | 33 |
QString note; |
insilmaril@0 | 34 |
QString fonthint; |
insilmaril@0 | 35 |
QString filenamehint; |
insilmaril@0 | 36 |
}; |
insilmaril@0 | 37 |
#endif |