summaryrefslogtreecommitdiffstats
path: root/src/connector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/connector.cpp')
-rw-r--r--src/connector.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/connector.cpp b/src/connector.cpp
index febb20c..6d64377 100644
--- a/src/connector.cpp
+++ b/src/connector.cpp
@@ -165,7 +165,7 @@ void Connector::syncWiresWithNodes()
void Connector::setParentContainer( const TQString &cnItemId )
{
-// // We only allow the node to be tqparented once
+// // We only allow the node to be parented once
// if ( p_parentContainer || !ICNDocument->itemWithID(cnItemId) ) return;
p_parentContainer = p_icnDocument->cnItemWithID(cnItemId);
}
@@ -556,7 +556,7 @@ ConnectorData Connector::connectorData() const
{
connectorData.startNodeIsChild = true;
connectorData.startNodeCId = m_startNode->childId();
- connectorData.startNodeParent = m_startNode->tqparentItem()->id();
+ connectorData.startNodeParent = m_startNode->parentItem()->id();
}
else
{
@@ -568,7 +568,7 @@ ConnectorData Connector::connectorData() const
{
connectorData.endNodeIsChild = true;
connectorData.endNodeCId = m_endNode->childId();
- connectorData.endNodeParent = m_endNode->tqparentItem()->id();
+ connectorData.endNodeParent = m_endNode->parentItem()->id();
}
else
{