diff options
Diffstat (limited to 'kplato/kptcanvasitem.cpp')
-rw-r--r-- | kplato/kptcanvasitem.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kplato/kptcanvasitem.cpp b/kplato/kptcanvasitem.cpp index 152fd837f..a792443d3 100644 --- a/kplato/kptcanvasitem.cpp +++ b/kplato/kptcanvasitem.cpp @@ -587,7 +587,7 @@ void PertRelationItem::drawShape(TQPainter &p) { //kdDebug()<<k_funcinfo<<" "<<m_rel->parent()->name()<<" to "<<m_rel->child()->name()<<endl; // cannot use polygon's drawShape() as it doesn't use the pen - setBrush(Qt::NoBrush); + setBrush(TQt::NoBrush); TQPointArray a = poly; int size = a.size()-1; for(int i = 0; i < size; ++i) @@ -611,7 +611,7 @@ TQPointArray PertRelationItem::areaPoints () const TQPointArray pa(4); int pw = (pen().width()+1)/2; if ( pw < 1 ) pw = 1; - if ( pen() == Qt::NoPen ) pw = 0; + if ( pen() == TQt::NoPen ) pw = 0; pa[0] = TQPoint(left-pw,top-pw); pa[1] = pa[0] + TQPoint(right-left+pw*2,0); pa[2] = pa[1] + TQPoint(0,bottom-top+pw*2); |