summaryrefslogtreecommitdiffstats
path: root/kresources/birthdays
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/birthdays')
-rw-r--r--kresources/birthdays/resourcekabc.cpp2
-rw-r--r--kresources/birthdays/resourcekabcconfig.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kresources/birthdays/resourcekabc.cpp b/kresources/birthdays/resourcekabc.cpp
index f3be66d83..db0a7b77d 100644
--- a/kresources/birthdays/resourcekabc.cpp
+++ b/kresources/birthdays/resourcekabc.cpp
@@ -151,7 +151,7 @@ bool ResourceKABC::doLoad()
bool hasCategory = false;
TQStringList categories = (*it).categories();
for ( strIt = mCategories.begin(); strIt != endStrIt; ++strIt )
- if ( categories.tqcontains( *strIt ) ) {
+ if ( categories.contains( *strIt ) ) {
hasCategory = true;
break;
}
diff --git a/kresources/birthdays/resourcekabcconfig.cpp b/kresources/birthdays/resourcekabcconfig.cpp
index 20a9aaf48..1f55138f1 100644
--- a/kresources/birthdays/resourcekabcconfig.cpp
+++ b/kresources/birthdays/resourcekabcconfig.cpp
@@ -92,7 +92,7 @@ void ResourceKABCConfig::loadSettings( KRES::Resource *resource )
const TQStringList categories = res->categories();
TQListViewItemIterator it( mCategoryView );
while ( it.current() ) {
- if ( categories.tqcontains( it.current()->text( 0 ) ) ) {
+ if ( categories.contains( it.current()->text( 0 ) ) ) {
TQCheckListItem *item = static_cast<TQCheckListItem*>( it.current() );
item->setOn( true );
}