diff options
Diffstat (limited to 'kcachegrind/kcachegrind/callgraphview.cpp')
-rw-r--r-- | kcachegrind/kcachegrind/callgraphview.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kcachegrind/kcachegrind/callgraphview.cpp b/kcachegrind/kcachegrind/callgraphview.cpp index b02d441a..bc01da8b 100644 --- a/kcachegrind/kcachegrind/callgraphview.cpp +++ b/kcachegrind/kcachegrind/callgraphview.cpp @@ -376,7 +376,7 @@ TQString GraphOptions::layoutString(Layout l) return TQString("TopDown"); } -GraphOptions::Layout GraphOptions::tqlayout(TQString s) +GraphOptions::Layout GraphOptions::layout(TQString s) { if (s == TQString("Circular")) return Circular; if (s == TQString("LeftRight")) return LeftRight; @@ -562,10 +562,10 @@ void GraphExporter::writeDot() *stream << "digraph \"callgraph\" {\n"; - if (_go->tqlayout() == LeftRight) { + if (_go->layout() == LeftRight) { *stream << TQString(" rankdir=LR;\n"); } - else if (_go->tqlayout() == Circular) { + else if (_go->layout() == Circular) { TraceFunction *f = 0; switch(_item->type()) { case TraceItem::Function: @@ -1095,7 +1095,7 @@ void CanvasNode::drawShape(TQPainter& p) r.setRect(r.x()+2, r.y()+2, r.width()-4, r.height()-4); if (StoredDrawParams::selected() && _view->hasFocus()) { - _view->tqstyle().tqdrawPrimitive( TQStyle::PE_FocusRect, &p, r, + _view->style().tqdrawPrimitive( TQStyle::PE_FocusRect, &p, r, _view->colorGroup()); } @@ -1589,7 +1589,7 @@ void CallGraphView::keyPressEvent(TQKeyEvent* e) TraceFunction* f = 0; TraceCall* c = 0; - // rotate arrow key meaning for LeftRight tqlayout + // rotate arrow key meaning for LeftRight layout int key = e->key(); if (_layout == LeftRight) { switch(key) { @@ -2701,7 +2701,7 @@ void CallGraphView::readViewConfig(KConfig* c, _clusterGroups = g->readBoolEntry("ClusterGroups", DEFAULT_CLUSTERGROUPS); _detailLevel = g->readNumEntry("DetailLevel", DEFAULT_DETAILLEVEL); - _layout = GraphOptions::tqlayout(g->readEntry("Layout", + _layout = GraphOptions::layout(g->readEntry("Layout", layoutString(DEFAULT_LAYOUT))); _zoomPosition = zoomPos(g->readEntry("ZoomPosition", zoomPosString(DEFAULT_ZOOMPOS))); |