summaryrefslogtreecommitdiffstats
path: root/kcachegrind/kcachegrind/sourceitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcachegrind/kcachegrind/sourceitem.cpp')
-rw-r--r--kcachegrind/kcachegrind/sourceitem.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kcachegrind/kcachegrind/sourceitem.cpp b/kcachegrind/kcachegrind/sourceitem.cpp
index 9556c038..6bfc33ac 100644
--- a/kcachegrind/kcachegrind/sourceitem.cpp
+++ b/kcachegrind/kcachegrind/sourceitem.cpp
@@ -314,7 +314,7 @@ void SourceItem::paintArrows(TQPainter *p, const TQColorGroup &cg, int width)
const BackgroundMode bgmode = lv->viewport()->backgroundMode();
const TQColorGroup::ColorRole crole
= TQPalette::backgroundRoleFromMode( bgmode );
- if ( cg.brush( crole ) != lv->tqcolorGroup().brush( crole ) )
+ if ( cg.brush( crole ) != lv->colorGroup().brush( crole ) )
p->fillRect( 0, 0, width, height(), cg.brush( crole ) );
else
sv->paintEmptyArea( p, TQRect( 0, 0, width, height() ) );
@@ -391,13 +391,13 @@ void SourceItem::paintArrows(TQPainter *p, const TQColorGroup &cg, int width)
p->drawConvexPolygon(a);
p->setPen(c.light());
- p->tqdrawPolyline(a, 0, 5);
+ p->drawPolyline(a, 0, 5);
p->setPen(c.dark());
- p->tqdrawPolyline(a, 4, 2);
+ p->drawPolyline(a, 4, 2);
p->setPen(c.light());
- p->tqdrawPolyline(a, 5, 2);
+ p->drawPolyline(a, 5, 2);
p->setPen(c.dark());
- p->tqdrawPolyline(a, 6, 2);
+ p->drawPolyline(a, 6, 2);
}
// draw inner vertical line for start/stop