summaryrefslogtreecommitdiffstats
path: root/src/node.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-29 16:35:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-29 16:35:31 +0900
commit671d0469ada4df2d833d41d065793a06f4d87a65 (patch)
tree08f73c8f83ba7b8bdad08cdec881878a332ab6bf /src/node.cpp
parent15796910975130bce11a662cbe259913d791942f (diff)
downloadktechlab-671d0469ada4df2d833d41d065793a06f4d87a65.tar.gz
ktechlab-671d0469ada4df2d833d41d065793a06f4d87a65.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/node.cpp')
-rw-r--r--src/node.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/node.cpp b/src/node.cpp
index 6155c06..d259c08 100644
--- a/src/node.cpp
+++ b/src/node.cpp
@@ -298,8 +298,8 @@ void Node::setParentItem( CNItem *parentItem )
setLevel(p_parentItem->level());
- connect( p_parentItem, TQT_SIGNAL(movedBy(double, double )), this, TQT_SLOT(moveBy(double, double)) );
- connect( p_parentItem, TQT_SIGNAL(removed(Item*)), this, TQT_SLOT(removeNode(Item*)) );
+ connect( p_parentItem, TQ_SIGNAL(movedBy(double, double )), this, TQ_SLOT(moveBy(double, double)) );
+ connect( p_parentItem, TQ_SIGNAL(removed(Item*)), this, TQ_SLOT(removeNode(Item*)) );
}
@@ -393,9 +393,9 @@ bool Node::handleNewConnector( Connector * connector )
return false;
}
- connect( this, TQT_SIGNAL(removed(Node*)), connector, TQT_SLOT(removeConnector(Node*)) );
- connect( connector, TQT_SIGNAL(removed(Connector*)), this, TQT_SLOT(checkForRemoval(Connector*)) );
- connect( connector, TQT_SIGNAL(selected(bool)), this, TQT_SLOT(setNodeSelected(bool)) );
+ connect( this, TQ_SIGNAL(removed(Node*)), connector, TQ_SLOT(removeConnector(Node*)) );
+ connect( connector, TQ_SIGNAL(removed(Connector*)), this, TQ_SLOT(checkForRemoval(Connector*)) );
+ connect( connector, TQ_SIGNAL(selected(bool)), this, TQ_SLOT(setNodeSelected(bool)) );
if ( !isChildNode() )
p_icnDocument->slotRequestAssignNG();