summaryrefslogtreecommitdiffstats
path: root/kresources/kolab/knotes/resourcekolab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/kolab/knotes/resourcekolab.cpp')
-rw-r--r--kresources/kolab/knotes/resourcekolab.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kresources/kolab/knotes/resourcekolab.cpp b/kresources/kolab/knotes/resourcekolab.cpp
index cf386218a..132decdf5 100644
--- a/kresources/kolab/knotes/resourcekolab.cpp
+++ b/kresources/kolab/knotes/resourcekolab.cpp
@@ -178,12 +178,12 @@ KCal::Journal* ResourceKolab::addNote( const TQString& data, const TQString& sub
Q_ASSERT( journal );
bool addedOk = journal &&
- !mUidMap.tqcontains( journal->uid() ) &&
+ !mUidMap.contains( journal->uid() ) &&
addNote( journal, subresource, sernum );
// for debugging
- if ( journal && mUidMap.tqcontains( journal->uid() ) ) {
- kdDebug(5500) << "mUidMap already tqcontains " << journal->uid() << endl;
+ if ( journal && mUidMap.contains( journal->uid() ) ) {
+ kdDebug(5500) << "mUidMap already contains " << journal->uid() << endl;
}
if ( !addedOk ) {
@@ -232,7 +232,7 @@ bool ResourceKolab::addNote( KCal::Journal *journal, const TQString &subresource
bool ResourceKolab::deleteNote( KCal::Journal* journal )
{
const TQString uid = journal->uid();
- if ( !mUidMap.tqcontains( uid ) )
+ if ( !mUidMap.contains( uid ) )
// Odd
return false;
@@ -271,7 +271,7 @@ void ResourceKolab::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?
@@ -352,7 +352,7 @@ void ResourceKolab::fromKMailAddSubresource( const TQString& type,
// Not ours
return;
- if ( mSubResources.tqcontains( subResource ) )
+ if ( mSubResources.contains( subResource ) )
// Already registered
return;
@@ -372,7 +372,7 @@ void ResourceKolab::fromKMailDelSubresource( const TQString& type,
// Not ours
return;
- if ( !mSubResources.tqcontains( subResource ) )
+ if ( !mSubResources.contains( subResource ) )
// Not registered
return;
@@ -440,7 +440,7 @@ TQStringList ResourceKolab::subresources() const
bool ResourceKolab::subresourceActive( const TQString& res ) const
{
- if ( mSubResources.tqcontains( res ) ) {
+ if ( mSubResources.contains( res ) ) {
return mSubResources[ res ].active();
}
@@ -452,7 +452,7 @@ bool ResourceKolab::subresourceActive( const TQString& res ) const
bool ResourceKolab::subresourceWritable( const TQString& res ) const
{
- if ( mSubResources.tqcontains( res ) ) {
+ if ( mSubResources.contains( res ) ) {
return mSubResources[ res ].writable();
}