author | insilmaril |
Mon, 10 Apr 2006 11:00:19 +0000 | |
changeset 268 | 2a6157d381fe |
parent 186 | 2e9f9acde92a |
child 474 | d9add21ee9d3 |
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@0 | 8 |
#include "misc.h" |
insilmaril@0 | 9 |
|
insilmaril@0 | 10 |
class NoteObj:public xmlObj |
insilmaril@0 | 11 |
{ |
insilmaril@0 | 12 |
public: |
insilmaril@0 | 13 |
NoteObj(); |
insilmaril@186 | 14 |
NoteObj(const QString&); |
insilmaril@0 | 15 |
void copy (NoteObj); |
insilmaril@0 | 16 |
void clear(); |
insilmaril@0 | 17 |
void setNote (const QString&); |
insilmaril@0 | 18 |
QString getNote(); |
insilmaril@186 | 19 |
QString getNoteASCII(); |
insilmaril@186 | 20 |
QString getNoteOpenDoc(); |
insilmaril@0 | 21 |
void setFontHint (const QString&); |
insilmaril@0 | 22 |
QString getFontHint (); |
insilmaril@0 | 23 |
void setFilenameHint (const QString&); |
insilmaril@0 | 24 |
QString getFilenameHint (); |
insilmaril@0 | 25 |
bool isEmpty(); |
insilmaril@0 | 26 |
QString saveToDir(); |
insilmaril@0 | 27 |
|
insilmaril@0 | 28 |
private: |
insilmaril@0 | 29 |
QString note; |
insilmaril@0 | 30 |
QString fonthint; |
insilmaril@0 | 31 |
QString filenamehint; |
insilmaril@0 | 32 |
}; |
insilmaril@0 | 33 |
#endif |