X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;f=vymtext.h;fp=vymtext.h;h=0000000000000000000000000000000000000000;hb=d483bd8e6523c23c6f1d8908a2e0611c2bc9ff4f;hp=c3d359f0d0e2f124dfbb3220f54f2148a92fb271;hpb=7dfa3fe589d1722d49681f42cdb0bf1e6efb5223;p=sven%2Fvym.git diff --git a/vymtext.h b/vymtext.h deleted file mode 100644 index c3d359f..0000000 --- a/vymtext.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef VYMTEXT_H -#define VYMTEXT_H - -#include -#include - -// class VymText; - -#include "xmlobj.h" - -/*! \brief base class for headings of branches and vymnotes */ - - -class VymText:public XMLObj -{ -public: - enum TextMode {AutoText, PlainText, RichText}; - VymText(); - VymText(const VymText &vt); - VymText(const QString &s); - bool operator== (const VymText &other); - void operator= (const VymText &); - virtual void copy (const VymText &); - virtual void clear(); - void setText (const QString&); - void setRichText (const QString&); - void setPlainText (const QString&); - void setAutoText (const QString &); - QString getText() const; - QString getTextASCII() const; - QString getTextASCII(QString igdent, const int &width=0) const; - void setRichText(bool b); - bool isRichText() const; - void setFontHint (const QString&); - QString getFontHint () const; - void setFilenameHint (const QString&); - QString getFilenameHint () const; - bool isEmpty(); - void setColor(QColor color); - QColor getColor(); - QString getAttributes(); - QString saveToDir(); - -protected: - QString text; - QString fonthint; - QString filenamehint; - TextMode textmode; - QColor color; // used for plaintext -}; -#endif