summaryrefslogtreecommitdiffstats
path: root/kaddressbook/features
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/features')
-rw-r--r--kaddressbook/features/distributionlistwidget.cpp4
-rw-r--r--kaddressbook/features/resourceselection.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/kaddressbook/features/distributionlistwidget.cpp b/kaddressbook/features/distributionlistwidget.cpp
index 7ce25beb7..fc8af3abd 100644
--- a/kaddressbook/features/distributionlistwidget.cpp
+++ b/kaddressbook/features/distributionlistwidget.cpp
@@ -255,9 +255,9 @@ void DistributionListWidget::selectionContactViewChanged()
bool DistributionListWidget::alreadyExists( const TQString& distrListName ) const
{
#ifdef KDEPIM_NEW_DISTRLISTS
- return core()->distributionListNames().tqcontains( distrListName );
+ return core()->distributionListNames().contains( distrListName );
#else
- return mManager->listNames().tqcontains( distrListName );
+ return mManager->listNames().contains( distrListName );
#endif
}
diff --git a/kaddressbook/features/resourceselection.cpp b/kaddressbook/features/resourceselection.cpp
index edbb37a08..0629052ab 100644
--- a/kaddressbook/features/resourceselection.cpp
+++ b/kaddressbook/features/resourceselection.cpp
@@ -241,7 +241,7 @@ void ResourceSelection::add()
if ( !ok )
return;
- TQString type = types[ descs.tqfindIndex( desc ) ];
+ TQString type = types[ descs.findIndex( desc ) ];
// Create new resource
KABC::Resource *resource = mManager->createResource( type );
@@ -410,7 +410,7 @@ void ResourceSelection::slotSubresourceAdded( KPIM::ResourceABC *resource,
const TQString& subResource )
{
kdDebug(5720) << k_funcinfo << resource->resourceName() << " " << subResource << endl;
- TQListViewItem *i = mListView->tqfindItem( resource->resourceName(), 0 );
+ TQListViewItem *i = mListView->findItem( resource->resourceName(), 0 );
if ( !i )
// Not found
return;