headingobj.h
changeset 428 9ae68208e2ff
parent 408 c2a05fa925a1
child 471 9c26d66d4c53
     1.1 --- a/headingobj.h	Mon Feb 12 09:28:47 2007 +0000
     1.2 +++ b/headingobj.h	Mon Feb 19 12:01:52 2007 +0000
     1.3 @@ -15,7 +15,7 @@
     1.4      virtual void positionBBox();
     1.5  	virtual void calcBBoxSize();
     1.6  private:
     1.7 -    QGraphicsTextItem* newLine(QString);		// generate new textline
     1.8 +    QGraphicsSimpleTextItem* newLine(QString);		// generate new textline
     1.9  public:    
    1.10      virtual void setText(QString);
    1.11      virtual QString text();
    1.12 @@ -30,7 +30,7 @@
    1.13  protected:
    1.14      QString heading;
    1.15      int textwidth;								// width for formatting text
    1.16 -    QList <QGraphicsTextItem*> textline;		// a part of e.g. the parabel
    1.17 +    QList <QGraphicsSimpleTextItem*> textline;	// a part of e.g. the parabel
    1.18      QColor color;
    1.19      QFont font;
    1.20  };