summaryrefslogtreecommitdiffstats
path: root/kaddressbook/phoneeditwidget.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 12:33:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 12:43:48 +0900
commit3b3f9ec8f31978030c17309fae48335bea5c1587 (patch)
tree0b493383a1501860371aacd792ec6fc08d595824 /kaddressbook/phoneeditwidget.cpp
parent99e6e1d1f43610c3573e9824a2a8a38f69930cd0 (diff)
downloadtdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.tar.gz
tdepim-3b3f9ec8f31978030c17309fae48335bea5c1587.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kaddressbook/phoneeditwidget.cpp')
-rw-r--r--kaddressbook/phoneeditwidget.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kaddressbook/phoneeditwidget.cpp b/kaddressbook/phoneeditwidget.cpp
index b1d87f41f..e4857ae7b 100644
--- a/kaddressbook/phoneeditwidget.cpp
+++ b/kaddressbook/phoneeditwidget.cpp
@@ -56,10 +56,10 @@ PhoneTypeCombo::PhoneTypeCombo( TQWidget *parent )
update();
- connect( this, TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( selected( int ) ) );
- connect( this, TQT_SIGNAL( activated( int ) ),
- this, TQT_SIGNAL( modified() ) );
+ connect( this, TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( selected( int ) ) );
+ connect( this, TQ_SIGNAL( activated( int ) ),
+ this, TQ_SIGNAL( modified() ) );
}
PhoneTypeCombo::~PhoneTypeCombo()
@@ -137,8 +137,8 @@ PhoneNumberWidget::PhoneNumberWidget( TQWidget *parent )
layout->addWidget( mTypeCombo );
layout->addWidget( mNumberEdit );
- connect( mTypeCombo, TQT_SIGNAL( modified() ), TQT_SIGNAL( modified() ) );
- connect( mNumberEdit, TQT_SIGNAL( textChanged( const TQString& ) ), TQT_SIGNAL( modified() ) );
+ connect( mTypeCombo, TQ_SIGNAL( modified() ), TQ_SIGNAL( modified() ) );
+ connect( mNumberEdit, TQ_SIGNAL( textChanged( const TQString& ) ), TQ_SIGNAL( modified() ) );
}
void PhoneNumberWidget::setNumber( const TDEABC::PhoneNumber &number )
@@ -184,10 +184,10 @@ PhoneEditWidget::PhoneEditWidget( TQWidget *parent, const char *name )
layout->addWidget( mRemoveButton, 1, 1 );
mMapper = new TQSignalMapper( this );
- connect( mMapper, TQT_SIGNAL( mapped( int ) ), TQT_SLOT( changed( int ) ) );
+ connect( mMapper, TQ_SIGNAL( mapped( int ) ), TQ_SLOT( changed( int ) ) );
- connect( mAddButton, TQT_SIGNAL( clicked() ), TQT_SLOT( add() ) );
- connect( mRemoveButton, TQT_SIGNAL( clicked() ), TQT_SLOT( remove() ) );
+ connect( mAddButton, TQ_SIGNAL( clicked() ), TQ_SLOT( add() ) );
+ connect( mRemoveButton, TQ_SIGNAL( clicked() ), TQ_SLOT( remove() ) );
}
PhoneEditWidget::~PhoneEditWidget()
@@ -272,7 +272,7 @@ void PhoneEditWidget::recreateNumberWidgets()
wdg->setNumber( *it );
mMapper->setMapping( wdg, counter );
- connect( wdg, TQT_SIGNAL( modified() ), mMapper, TQT_SLOT( map() ) );
+ connect( wdg, TQ_SIGNAL( modified() ), mMapper, TQ_SLOT( map() ) );
mWidgetLayout->addWidget( wdg );
mWidgets.append( wdg );