summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/connectionitems.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/connectionitems.cpp')
-rw-r--r--kdevdesigner/designer/connectionitems.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kdevdesigner/designer/connectionitems.cpp b/kdevdesigner/designer/connectionitems.cpp
index 9f1c3fa6..895b35ee 100644
--- a/kdevdesigner/designer/connectionitems.cpp
+++ b/kdevdesigner/designer/connectionitems.cpp
@@ -258,7 +258,7 @@ void SenderItem::setSenderEx( TQObject *sender )
void SenderItem::senderChanged( const TQString &sender )
{
- TQObject *o = formWindow->child( sender, "TQObject" );
+ TQObject *o = formWindow->child( sender, TQOBJECT_OBJECT_NAME_STRING );
if ( !o )
o = formWindow->findAction( sender );
if ( !o )
@@ -315,7 +315,7 @@ void ReceiverItem::setReceiverEx( TQObject *receiver )
void ReceiverItem::receiverChanged( const TQString &receiver )
{
- TQObject *o = formWindow->child( receiver, "TQObject" );
+ TQObject *o = formWindow->child( receiver, TQOBJECT_OBJECT_NAME_STRING );
if ( !o )
o = formWindow->findAction( receiver );
if ( !o )