From 4bff0b57c61dcee5074d6dc0c02d7f61eeb7202d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 29 Dec 2023 16:35:31 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit 671d0469ada4df2d833d41d065793a06f4d87a65) --- src/electronics/ecnode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/electronics/ecnode.cpp') diff --git a/src/electronics/ecnode.cpp b/src/electronics/ecnode.cpp index 77633a2..28af164 100644 --- a/src/electronics/ecnode.cpp +++ b/src/electronics/ecnode.cpp @@ -138,8 +138,8 @@ void ECNode::setParentItem( CNItem * parentItem ) if ( Component * component = dynamic_cast(parentItem) ) { - connect( component, TQT_SIGNAL(elementDestroyed(Element* )), this, TQT_SLOT(removeElement(Element* )) ); - connect( component, TQT_SIGNAL(switchDestroyed( Switch* )), this, TQT_SLOT(removeSwitch( Switch* )) ); + connect( component, TQ_SIGNAL(elementDestroyed(Element* )), this, TQ_SLOT(removeElement(Element* )) ); + connect( component, TQ_SIGNAL(switchDestroyed( Switch* )), this, TQ_SLOT(removeSwitch( Switch* )) ); } } -- cgit v1.2.3