diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-29 16:35:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-31 22:21:10 +0900 |
commit | 4bff0b57c61dcee5074d6dc0c02d7f61eeb7202d (patch) | |
tree | 08f73c8f83ba7b8bdad08cdec881878a332ab6bf /src/mechanics/mechanicsitem.cpp | |
parent | a082a2596013ce2dc791319f70d0371004a406a5 (diff) | |
download | ktechlab-4bff0b57c61dcee5074d6dc0c02d7f61eeb7202d.tar.gz ktechlab-4bff0b57c61dcee5074d6dc0c02d7f61eeb7202d.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 671d0469ada4df2d833d41d065793a06f4d87a65)
Diffstat (limited to 'src/mechanics/mechanicsitem.cpp')
-rw-r--r-- | src/mechanics/mechanicsitem.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mechanics/mechanicsitem.cpp b/src/mechanics/mechanicsitem.cpp index c02cfa4..d41e888 100644 --- a/src/mechanics/mechanicsitem.cpp +++ b/src/mechanics/mechanicsitem.cpp @@ -118,13 +118,13 @@ void MechanicsItem::reparented( Item *oldItem, Item *newItem ) if (oldMechItem) { m_relativePosition = oldMechItem->absolutePosition() + m_relativePosition; - disconnect( oldMechItem, TQT_SIGNAL(moved()), this, TQT_SLOT(parentMoved()) ); + disconnect( oldMechItem, TQ_SIGNAL(moved()), this, TQ_SLOT(parentMoved()) ); } if (newMechItem) { m_relativePosition = m_relativePosition - newMechItem->absolutePosition(); - connect( newMechItem, TQT_SIGNAL(moved()), this, TQT_SLOT(parentMoved()) ); + connect( newMechItem, TQ_SIGNAL(moved()), this, TQ_SLOT(parentMoved()) ); } updateCanvasPoints(); @@ -137,7 +137,7 @@ void MechanicsItem::childAdded( Item *child ) if (!mechItem) return; - connect( mechItem, TQT_SIGNAL(updateMechanicsInfoCombined()), this, TQT_SLOT(childMoved()) ); + connect( mechItem, TQ_SIGNAL(updateMechanicsInfoCombined()), this, TQ_SLOT(childMoved()) ); updateMechanicsInfoCombined(); } @@ -148,7 +148,7 @@ void MechanicsItem::childRemoved( Item *child ) if (!mechItem) return; - disconnect( mechItem, TQT_SIGNAL(updateMechanicsInfoCombined()), this, TQT_SLOT(childMoved()) ); + disconnect( mechItem, TQ_SIGNAL(updateMechanicsInfoCombined()), this, TQ_SLOT(childMoved()) ); updateMechanicsInfoCombined(); } |