summaryrefslogtreecommitdiffstats
path: root/src/electronics/ecnode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/electronics/ecnode.cpp')
-rw-r--r--src/electronics/ecnode.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/electronics/ecnode.cpp b/src/electronics/ecnode.cpp
index b4079e8..385b98e 100644
--- a/src/electronics/ecnode.cpp
+++ b/src/electronics/ecnode.cpp
@@ -132,11 +132,11 @@ void ECNode::setNodeChanged()
}
-void ECNode::setParentItem( CNItem * tqparentItem )
+void ECNode::setParentItem( CNItem * parentItem )
{
- Node::setParentItem(tqparentItem);
+ Node::setParentItem(parentItem);
- if ( Component * component = dynamic_cast<Component*>(tqparentItem) )
+ if ( Component * component = dynamic_cast<Component*>(parentItem) )
{
connect( component, TQT_SIGNAL(elementDestroyed(Element* )), this, TQT_SLOT(removeElement(Element* )) );
connect( component, TQT_SIGNAL(switchDestroyed( Switch* )), this, TQT_SLOT(removeSwitch( Switch* )) );