diff options
Diffstat (limited to 'kplato/kptpertcanvas.cc')
| -rw-r--r-- | kplato/kptpertcanvas.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kplato/kptpertcanvas.cc b/kplato/kptpertcanvas.cc index e269c6ed9..b1f49afb7 100644 --- a/kplato/kptpertcanvas.cc +++ b/kplato/kptpertcanvas.cc @@ -48,8 +48,8 @@ namespace KPlato { -PertCanvas::PertCanvas( TQWidget *tqparent ) - : TQCanvasView( tqparent, "Pert canvas" /*WNorthWestGravity WStaticContents| WResizeNoErase | WRepaintNoErase */), +PertCanvas::PertCanvas( TQWidget *parent ) + : TQCanvasView( parent, "Pert canvas" /*WNorthWestGravity WStaticContents| WResizeNoErase | WRepaintNoErase */), m_verticalGap(20), m_horizontalGap(10), m_itemSize(100,30) @@ -153,7 +153,7 @@ void PertCanvas::drawRelations() TQPtrListIterator<Relation> it(m_relations); for (; it.current(); ++it) { - PertNodeItem *parentItem = m_nodes.find(it.current()->tqparent()); + PertNodeItem *parentItem = m_nodes.find(it.current()->parent()); PertNodeItem *childItem = m_nodes.find(it.current()->child()); if (parentItem && childItem) { @@ -192,7 +192,7 @@ void PertCanvas::mapChildNode(PertNodeItem *parentItem, PertNodeItem *childItem, if (type == Relation::StartStart || type == Relation::FinishFinish) { - // node goes into row below tqparent, at least same col + // node goes into row below parent, at least same col if (chMapped) { m_rows.at(chRow)->at(chCol) = false; |
