noteobj.h
author insilmaril
Thu Jun 01 11:19:57 2006 +0000 (2006-06-01)
changeset 343 f5c1cdf79e6e
parent 0 7a96bd401351
child 474 d9add21ee9d3
permissions -rw-r--r--
added warningdialog.ui
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