diff options
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(); } |