summaryrefslogtreecommitdiffstats
path: root/kresources/birthdays
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/birthdays')
-rw-r--r--kresources/birthdays/resourcekabc.cpp6
-rw-r--r--kresources/birthdays/resourcekabcconfig.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/kresources/birthdays/resourcekabc.cpp b/kresources/birthdays/resourcekabc.cpp
index 65830782e..b52a09824 100644
--- a/kresources/birthdays/resourcekabc.cpp
+++ b/kresources/birthdays/resourcekabc.cpp
@@ -67,7 +67,7 @@ extern "C"
}
ResourceKABC::ResourceKABC( const KConfig* config )
- : ResourceCalendar( config ), mCalendar( TQString::fromLatin1( "UTC" ) ),
+ : ResourceCalendar( config ), mCalendar( TQString::tqfromLatin1( "UTC" ) ),
mAlarmDays( 0 ), mAlarm( true ), mUseCategories( false )
{
if ( config ) {
@@ -80,7 +80,7 @@ ResourceKABC::ResourceKABC( const KConfig* config )
}
ResourceKABC::ResourceKABC()
- : ResourceCalendar( 0 ), mCalendar( TQString::fromLatin1( "UTC" ) ),
+ : ResourceCalendar( 0 ), mCalendar( TQString::tqfromLatin1( "UTC" ) ),
mAlarmDays( 0 ), mAlarm( true ), mUseCategories( false )
{
init();
@@ -151,7 +151,7 @@ bool ResourceKABC::doLoad()
bool hasCategory = false;
TQStringList categories = (*it).categories();
for ( strIt = mCategories.begin(); strIt != endStrIt; ++strIt )
- if ( categories.contains( *strIt ) ) {
+ if ( categories.tqcontains( *strIt ) ) {
hasCategory = true;
break;
}
diff --git a/kresources/birthdays/resourcekabcconfig.cpp b/kresources/birthdays/resourcekabcconfig.cpp
index 2f7671dc7..ec33aaba6 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.contains( it.current()->text( 0 ) ) ) {
+ if ( categories.tqcontains( it.current()->text( 0 ) ) ) {
TQCheckListItem *item = static_cast<TQCheckListItem*>( it.current() );
item->setOn( true );
}