summaryrefslogtreecommitdiffstats
path: root/kplato/kptpertcanvas.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kptpertcanvas.cc')
-rw-r--r--kplato/kptpertcanvas.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/kplato/kptpertcanvas.cc b/kplato/kptpertcanvas.cc
index 198d4593..e269c6ed 100644
--- a/kplato/kptpertcanvas.cc
+++ b/kplato/kptpertcanvas.cc
@@ -103,7 +103,7 @@ void PertCanvas::draw(Project& project)
PertNodeItem *PertCanvas::createNodeItem(Node *node)
{
- PertNodeItem *item = m_nodes.tqfind(node);
+ PertNodeItem *item = m_nodes.find(node);
if (!item)
{
if ( node->type() == Node::Type_Project)
@@ -153,8 +153,8 @@ void PertCanvas::drawRelations()
TQPtrListIterator<Relation> it(m_relations);
for (; it.current(); ++it)
{
- PertNodeItem *parentItem = m_nodes.tqfind(it.current()->tqparent());
- PertNodeItem *childItem = m_nodes.tqfind(it.current()->child());
+ PertNodeItem *parentItem = m_nodes.find(it.current()->tqparent());
+ PertNodeItem *childItem = m_nodes.find(it.current()->child());
if (parentItem && childItem)
{
PertRelationItem *item = new PertRelationItem(this, parentItem, childItem, it.current());