diff options
author | Michele Calgaro <[email protected]> | 2023-11-24 10:56:29 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-25 01:09:37 +0900 |
commit | 49d88f1853b0e3f7676c3d09d68a8c4ae4b2f6dc (patch) | |
tree | c2164e013e8b50b0cb39e6a55ebb4f3403aefdc5 /tdecachegrind | |
parent | 11ec7d48f6886e33ee25332e8a20c1265905a2d5 (diff) | |
download | tdesdk-49d88f1853b0e3f7676c3d09d68a8c4ae4b2f6dc.tar.gz tdesdk-49d88f1853b0e3f7676c3d09d68a8c4ae4b2f6dc.zip |
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 30ea27ebf399fff691cefe16c9e16a1809f0fffe)
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() ); } |