headingobj.h
changeset 435 bd71dfb2292c
parent 408 c2a05fa925a1
child 471 9c26d66d4c53
     1.1 --- a/headingobj.h	Fri Dec 08 20:18:56 2006 +0000
     1.2 +++ b/headingobj.h	Wed Mar 21 11:51:38 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  };