summaryrefslogtreecommitdiffstats
path: root/kaddressbook/distributionlistpicker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/distributionlistpicker.cpp')
-rw-r--r--kaddressbook/distributionlistpicker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kaddressbook/distributionlistpicker.cpp b/kaddressbook/distributionlistpicker.cpp
index 5810276e6..9b4d3f727 100644
--- a/kaddressbook/distributionlistpicker.cpp
+++ b/kaddressbook/distributionlistpicker.cpp
@@ -97,7 +97,7 @@ void KPIM::DistributionListPickerDialog::slotUser1()
if ( name.isEmpty() )
return;
- validName = !listNames.tqcontains( name );
+ validName = !listNames.contains( name );
if ( validName )
{
@@ -107,7 +107,7 @@ void KPIM::DistributionListPickerDialog::slotUser1()
m_book->insertAddressee( list );
m_listBox->insertItem( name );
- TQListBoxItem* item = m_listBox->tqfindItem( name );
+ TQListBoxItem* item = m_listBox->findItem( name );
m_listBox->setSelected( item, true );
}
else