summaryrefslogtreecommitdiffstats
path: root/kaddressbook/phoneeditwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-21 11:50:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 11:42:03 +0900
commit3b25eb314a3cc15e6643b8467d0e6345c10e7415 (patch)
tree450bb13c8e440007bd6a80d0ad09b212539431bb /kaddressbook/phoneeditwidget.cpp
parentf26a304e63a25d11fec3f7896de72fccd64527a5 (diff)
downloadtdepim-3b25eb31.tar.gz
tdepim-3b25eb31.zip
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 762dc98fa6b143629c75b3bbe277228fb04e8324)
Diffstat (limited to 'kaddressbook/phoneeditwidget.cpp')
-rw-r--r--kaddressbook/phoneeditwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kaddressbook/phoneeditwidget.cpp b/kaddressbook/phoneeditwidget.cpp
index 963af05a..b1d87f41 100644
--- a/kaddressbook/phoneeditwidget.cpp
+++ b/kaddressbook/phoneeditwidget.cpp
@@ -183,7 +183,7 @@ PhoneEditWidget::PhoneEditWidget( TQWidget *parent, const char *name )
mRemoveButton->setMaximumSize( mRemoveButton->sizeHint() );
layout->addWidget( mRemoveButton, 1, 1 );
- mMapper = new TQSignalMapper( TQT_TQOBJECT(this) );
+ mMapper = new TQSignalMapper( this );
connect( mMapper, TQT_SIGNAL( mapped( int ) ), TQT_SLOT( changed( int ) ) );
connect( mAddButton, TQT_SIGNAL( clicked() ), TQT_SLOT( add() ) );
@@ -271,7 +271,7 @@ void PhoneEditWidget::recreateNumberWidgets()
PhoneNumberWidget *wdg = new PhoneNumberWidget( this );
wdg->setNumber( *it );
- mMapper->setMapping( TQT_TQOBJECT(wdg), counter );
+ mMapper->setMapping( wdg, counter );
connect( wdg, TQT_SIGNAL( modified() ), mMapper, TQT_SLOT( map() ) );
mWidgetLayout->addWidget( wdg );