diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 12:33:20 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-14 12:43:48 +0900 |
commit | 3b3f9ec8f31978030c17309fae48335bea5c1587 (patch) | |
tree | 0b493383a1501860371aacd792ec6fc08d595824 /kaddressbook/features/distributionlistwidget.cpp | |
parent | 99e6e1d1f43610c3573e9824a2a8a38f69930cd0 (diff) | |
download | tdepim-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/features/distributionlistwidget.cpp')
-rw-r--r-- | kaddressbook/features/distributionlistwidget.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kaddressbook/features/distributionlistwidget.cpp b/kaddressbook/features/distributionlistwidget.cpp index 28a6f8ff7..763248533 100644 --- a/kaddressbook/features/distributionlistwidget.cpp +++ b/kaddressbook/features/distributionlistwidget.cpp @@ -158,19 +158,19 @@ DistributionListWidget::DistributionListWidget( KAB::Core *core, TQWidget *paren mNameCombo = new TQComboBox( this ); topLayout->addWidget( mNameCombo, 0, 0 ); - connect( mNameCombo, TQT_SIGNAL( activated( int ) ), TQT_SLOT( updateContactView() ) ); + connect( mNameCombo, TQ_SIGNAL( activated( int ) ), TQ_SLOT( updateContactView() ) ); mCreateListButton = new TQPushButton( i18n( "New List..." ), this ); topLayout->addWidget( mCreateListButton, 0, 1 ); - connect( mCreateListButton, TQT_SIGNAL( clicked() ), TQT_SLOT( createList() ) ); + connect( mCreateListButton, TQ_SIGNAL( clicked() ), TQ_SLOT( createList() ) ); mEditListButton = new TQPushButton( i18n( "Rename List..." ), this ); topLayout->addWidget( mEditListButton, 0, 2 ); - connect( mEditListButton, TQT_SIGNAL( clicked() ), TQT_SLOT( editList() ) ); + connect( mEditListButton, TQ_SIGNAL( clicked() ), TQ_SLOT( editList() ) ); mRemoveListButton = new TQPushButton( i18n( "Remove List" ), this ); topLayout->addWidget( mRemoveListButton, 0, 3 ); - connect( mRemoveListButton, TQT_SIGNAL( clicked() ), TQT_SLOT( removeList() ) ); + connect( mRemoveListButton, TQ_SIGNAL( clicked() ), TQ_SLOT( removeList() ) ); mContactView = new DistributionListView( this ); mContactView->addColumn( i18n( "Name" ) ); @@ -180,40 +180,40 @@ DistributionListWidget::DistributionListWidget( KAB::Core *core, TQWidget *paren mContactView->setAllColumnsShowFocus( true ); mContactView->setFullWidth( true ); topLayout->addMultiCellWidget( mContactView, 1, 1, 0, 3 ); - connect( mContactView, TQT_SIGNAL( selectionChanged() ), - TQT_SLOT( selectionContactViewChanged() ) ); - connect( mContactView, TQT_SIGNAL( dropped( TQDropEvent*, TQListViewItem* ) ), - TQT_SLOT( dropped( TQDropEvent*, TQListViewItem* ) ) ); + connect( mContactView, TQ_SIGNAL( selectionChanged() ), + TQ_SLOT( selectionContactViewChanged() ) ); + connect( mContactView, TQ_SIGNAL( dropped( TQDropEvent*, TQListViewItem* ) ), + TQ_SLOT( dropped( TQDropEvent*, TQListViewItem* ) ) ); mAddContactButton = new TQPushButton( i18n( "Add Contact" ), this ); mAddContactButton->setEnabled( false ); topLayout->addWidget( mAddContactButton, 2, 0 ); - connect( mAddContactButton, TQT_SIGNAL( clicked() ), TQT_SLOT( addContact() ) ); + connect( mAddContactButton, TQ_SIGNAL( clicked() ), TQ_SLOT( addContact() ) ); mEntryCountLabel = new TQLabel( this ); topLayout->addWidget( mEntryCountLabel, 2, 1 ); mChangeEmailButton = new TQPushButton( i18n( "Change Email..." ), this ); topLayout->addWidget( mChangeEmailButton, 2, 2 ); - connect( mChangeEmailButton, TQT_SIGNAL( clicked() ), TQT_SLOT( changeEmail() ) ); + connect( mChangeEmailButton, TQ_SIGNAL( clicked() ), TQ_SLOT( changeEmail() ) ); mRemoveContactButton = new TQPushButton( i18n( "Remove Contact" ), this ); topLayout->addWidget( mRemoveContactButton, 2, 3 ); - connect( mRemoveContactButton, TQT_SIGNAL( clicked() ), TQT_SLOT( removeContact() ) ); + connect( mRemoveContactButton, TQ_SIGNAL( clicked() ), TQ_SLOT( removeContact() ) ); #ifdef TDEPIM_NEW_DISTRLISTS // When contacts are changed, update both distr list combo and contents of displayed distr list - connect( core, TQT_SIGNAL( contactsUpdated() ), - this, TQT_SLOT( updateNameCombo() ) ); + connect( core, TQ_SIGNAL( contactsUpdated() ), + this, TQ_SLOT( updateNameCombo() ) ); #else mManager = new TDEABC::DistributionListManager( core->addressBook() ); - connect( TDEABC::DistributionListWatcher::self(), TQT_SIGNAL( changed() ), - this, TQT_SLOT( updateNameCombo() ) ); + connect( TDEABC::DistributionListWatcher::self(), TQ_SIGNAL( changed() ), + this, TQ_SLOT( updateNameCombo() ) ); #endif - connect( core->addressBook(), TQT_SIGNAL( addressBookChanged( AddressBook* ) ), - this, TQT_SLOT( updateNameCombo() ) ); + connect( core->addressBook(), TQ_SIGNAL( addressBookChanged( AddressBook* ) ), + this, TQ_SLOT( updateNameCombo() ) ); updateNameCombo(); |