summaryrefslogtreecommitdiffstats
path: root/kaddressbook/distributionlisteditor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/distributionlisteditor.cpp')
-rw-r--r--kaddressbook/distributionlisteditor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kaddressbook/distributionlisteditor.cpp b/kaddressbook/distributionlisteditor.cpp
index 485b77975..2c6d39c95 100644
--- a/kaddressbook/distributionlisteditor.cpp
+++ b/kaddressbook/distributionlisteditor.cpp
@@ -159,7 +159,7 @@ KPIM::DistributionListEditor::EditorWidget::EditorWidget( KABC::AddressBook* boo
d->addressBook = book;
Q_ASSERT( d->addressBook );
d->lastLineId = 0;
- d->mapper = new TQSignalMapper( this );
+ d->mapper = new TQSignalMapper( TQT_TQOBJECT(this) );
connect( d->mapper, TQT_SIGNAL( mapped( int ) ),
this, TQT_SLOT( lineTextChanged( int ) ) );
setCaption( i18n( "Edit Distribution List" ) );
@@ -250,7 +250,7 @@ KPIM::DistributionListEditor::Line* KPIM::DistributionListEditor::EditorWidgetPr
addressees.append( line );
TQObject::connect( line, TQT_SIGNAL( textChanged() ),
mapper, TQT_SLOT( map() ) );
- mapper->setMapping( line, ++lastLineId );
+ mapper->setMapping( TQT_TQOBJECT(line), ++lastLineId );
line->setShown( true );
return line;
}
@@ -261,7 +261,7 @@ void KPIM::DistributionListEditor::EditorWidget::slotOk()
const KPIM::DistributionList existing = KPIM::DistributionList::findByName( d->addressBook, name );
if ( !existing.isEmpty() && existing.uid() != d->distListUid )
{
- KMessageBox::error( this, i18n( "A distribution list with the name %1 already exists. Please choose another name." ).arg( name ), i18n( "Name in Use" ) );
+ KMessageBox::error( this, i18n( "A distribution list with the name %1 already exists. Please choose another name." ).tqarg( name ), i18n( "Name in Use" ) );
return;
}