summaryrefslogtreecommitdiffstats
path: root/kresources/scalix/knotes/resourcescalix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/scalix/knotes/resourcescalix.cpp')
-rw-r--r--kresources/scalix/knotes/resourcescalix.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kresources/scalix/knotes/resourcescalix.cpp b/kresources/scalix/knotes/resourcescalix.cpp
index b9d5b54ca..69922283e 100644
--- a/kresources/scalix/knotes/resourcescalix.cpp
+++ b/kresources/scalix/knotes/resourcescalix.cpp
@@ -166,7 +166,7 @@ KCal::Journal* ResourceScalix::addNote( const TQString& data, const TQString& su
journal = static_cast<KCal::Journal*>( formatter.fromString( data ) );
Q_ASSERT( journal );
- if( journal && !mUidMap.tqcontains( journal->uid() ) )
+ if( journal && !mUidMap.contains( journal->uid() ) )
if ( addNote( journal, subresource, sernum ) )
return journal;
else
@@ -212,7 +212,7 @@ bool ResourceScalix::addNote( KCal::Journal* journal,
bool ResourceScalix::deleteNote( KCal::Journal* journal )
{
const TQString uid = journal->uid();
- if ( !mUidMap.tqcontains( uid ) )
+ if ( !mUidMap.contains( uid ) )
// Odd
return false;
@@ -253,7 +253,7 @@ void ResourceScalix::incidenceUpdated( KCal::IncidenceBase* i )
{
TQString subResource;
TQ_UINT32 sernum;
- if ( mUidMap.tqcontains( i->uid() ) ) {
+ if ( mUidMap.contains( i->uid() ) ) {
subResource = mUidMap[ i->uid() ].resource();
sernum = mUidMap[ i->uid() ].serialNumber();
} else { // can this happen?
@@ -327,7 +327,7 @@ void ResourceScalix::fromKMailAddSubresource( const TQString& type,
// Not ours
return;
- if ( mSubResources.tqcontains( subResource ) )
+ if ( mSubResources.contains( subResource ) )
// Already registered
return;
@@ -347,7 +347,7 @@ void ResourceScalix::fromKMailDelSubresource( const TQString& type,
// Not ours
return;
- if ( !mSubResources.tqcontains( subResource ) )
+ if ( !mSubResources.contains( subResource ) )
// Not registered
return;
@@ -411,7 +411,7 @@ TQStringList ResourceScalix::subresources() const
bool ResourceScalix::subresourceActive( const TQString& res ) const
{
- if ( mSubResources.tqcontains( res ) ) {
+ if ( mSubResources.contains( res ) ) {
return mSubResources[ res ].active();
}