# HG changeset patch # User insilmaril # Date 1185788827 0 # Node ID df32d920b04e1517d4533174b37ffec30ae5a62a # Parent b44cc0d3ed4a69fd3226c3b01d0208817413175e 1.9.4 New base class for XML based file parsing (vym & Freemind) diff -r b44cc0d3ed4a -r df32d920b04e headingobj.h --- a/headingobj.h Mon Jul 30 09:47:07 2007 +0000 +++ b/headingobj.h Mon Jul 30 09:47:07 2007 +0000 @@ -17,7 +17,8 @@ virtual void positionBBox(); virtual void calcBBoxSize(); private: - QGraphicsSimpleTextItem* newLine(QString); // generate new textline +// QGraphicsSimpleTextItem* newLine(QString); // generate new textline + QGraphicsTextItem* newLine(QString); // generate new textline public: virtual void setText(QString); virtual QString text(); @@ -32,7 +33,8 @@ protected: QString heading; int textwidth; // width for formatting text - QList textline; // a part of e.g. the parabel +// QList textline; // a part of e.g. the parabel + QList textline; // a part of e.g. the parabel QColor color; QFont font; };