|
|
@ -805,7 +805,7 @@ GraphNode* GraphExporter::node(TraceFunction* f)
|
|
|
|
|
|
|
|
|
|
|
|
GraphEdge* GraphExporter::edge(TraceFunction* f1, TraceFunction* f2)
|
|
|
|
GraphEdge* GraphExporter::edge(TraceFunction* f1, TraceFunction* f2)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
GraphEdgeMap::Iterator it = _edgeMap.find(tqMakePair(f1, f2));
|
|
|
|
GraphEdgeMap::Iterator it = _edgeMap.find(qMakePair(f1, f2));
|
|
|
|
if (it == _edgeMap.end()) return 0;
|
|
|
|
if (it == _edgeMap.end()) return 0;
|
|
|
|
|
|
|
|
|
|
|
|
return &(*it);
|
|
|
|
return &(*it);
|
|
|
@ -1095,7 +1095,7 @@ void CanvasNode::drawShape(TQPainter& p)
|
|
|
|
r.setRect(r.x()+2, r.y()+2, r.width()-4, r.height()-4);
|
|
|
|
r.setRect(r.x()+2, r.y()+2, r.width()-4, r.height()-4);
|
|
|
|
|
|
|
|
|
|
|
|
if (StoredDrawParams::selected() && _view->hasFocus()) {
|
|
|
|
if (StoredDrawParams::selected() && _view->hasFocus()) {
|
|
|
|
_view->style().tqdrawPrimitive( TQStyle::PE_FocusRect, &p, r,
|
|
|
|
_view->style().drawPrimitive( TQStyle::PE_FocusRect, &p, r,
|
|
|
|
_view->colorGroup());
|
|
|
|
_view->colorGroup());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|