diff options
Diffstat (limited to 'src/cnitemgroup.cpp')
-rw-r--r-- | src/cnitemgroup.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cnitemgroup.cpp b/src/cnitemgroup.cpp index 7252c91..7a8c746 100644 --- a/src/cnitemgroup.cpp +++ b/src/cnitemgroup.cpp @@ -98,7 +98,7 @@ bool CNItemGroup::addTQCanvasItem( TQCanvasItem *qcanvasItem ) { ConnectorLine *connectorLine = dynamic_cast<ConnectorLine*>(qcanvasItem); if (connectorLine) - connector = connectorLine->tqparent(); + connector = connectorLine->parent(); } if (connector) return addConnector(connector); @@ -135,7 +135,7 @@ void CNItemGroup::setItems( TQCanvasItemList list ) } case ItemDocument::RTTI::ConnectorLine: { - connectorRemoveList.remove( (dynamic_cast<ConnectorLine*>(*it))->tqparent() ); + connectorRemoveList.remove( (dynamic_cast<ConnectorLine*>(*it))->parent() ); break; } default: @@ -234,7 +234,7 @@ void CNItemGroup::removeTQCanvasItem( TQCanvasItem *qcanvasItem ) { ConnectorLine *connectorLine = dynamic_cast<ConnectorLine*>(qcanvasItem); if (connectorLine) - connector = connectorLine->tqparent(); + connector = connectorLine->parent(); } if (connector) return removeConnector(connector); |