diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 10:56:29 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 10:56:29 +0900 |
commit | 30ea27ebf399fff691cefe16c9e16a1809f0fffe (patch) | |
tree | ff889240db5856c0ce7548b36abb72f68e6a7bb1 /tdecachegrind | |
parent | c8b88871bd2cadd2575ab2c7d3eb166f2fffd0ab (diff) | |
download | tdesdk-30ea27ebf399fff691cefe16c9e16a1809f0fffe.tar.gz tdesdk-30ea27ebf399fff691cefe16c9e16a1809f0fffe.zip |
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdecachegrind')
-rw-r--r-- | tdecachegrind/tdecachegrind/callgraphview.cpp | 4 | ||||
-rw-r--r-- | tdecachegrind/tdecachegrind/treemap.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/tdecachegrind/tdecachegrind/callgraphview.cpp b/tdecachegrind/tdecachegrind/callgraphview.cpp index 8a023eb6..bf87b28a 100644 --- a/tdecachegrind/tdecachegrind/callgraphview.cpp +++ b/tdecachegrind/tdecachegrind/callgraphview.cpp @@ -805,7 +805,7 @@ GraphNode* GraphExporter::node(TraceFunction* f) 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; 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); if (StoredDrawParams::selected() && _view->hasFocus()) { - _view->style().tqdrawPrimitive( TQStyle::PE_FocusRect, &p, r, + _view->style().drawPrimitive( TQStyle::PE_FocusRect, &p, r, _view->colorGroup()); } diff --git a/tdecachegrind/tdecachegrind/treemap.cpp b/tdecachegrind/tdecachegrind/treemap.cpp index f70f4a4f..9f771d51 100644 --- a/tdecachegrind/tdecachegrind/treemap.cpp +++ b/tdecachegrind/tdecachegrind/treemap.cpp @@ -2178,7 +2178,7 @@ void TreeMapWidget::drawTreeMap() if (hasFocus()) { TQPainter p(this); - style().tqdrawPrimitive( TQStyle::PE_FocusRect, &p, + style().drawPrimitive( TQStyle::PE_FocusRect, &p, TQRect(0, 0, TQWidget::width(), TQWidget::height()), colorGroup() ); } |