summaryrefslogtreecommitdiffstats
path: root/korn/dcopdrop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korn/dcopdrop.cpp')
-rw-r--r--korn/dcopdrop.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/korn/dcopdrop.cpp b/korn/dcopdrop.cpp
index 9cc4a9f05..aea90103e 100644
--- a/korn/dcopdrop.cpp
+++ b/korn/dcopdrop.cpp
@@ -74,11 +74,11 @@ bool DCOPDrop::readConfigGroup( const KConfigGroup &cfg )
bool DCOPDrop::readConfigGroup( const TQMap< TQString, TQString > &map, const Protocol * )
{
- if( !map.tqcontains( "dcopname" ) )
+ if( !map.contains( "dcopname" ) )
//The mapping MUST contain dcopname.
kdDebug() << "mapping is niet compleet" << endl;
- this->setDCOPName( *map.tqfind( "dcopname" ) );
+ this->setDCOPName( *map.find( "dcopname" ) );
return true;
}
@@ -125,7 +125,7 @@ bool DCOPDrop::deleteMails( TQPtrList<const KornMailId> * ids, bool * )
for( const KornMailId *it = ids->first(); it; it = ids->next() )
{
const KornIntId* id = dynamic_cast< const KornIntId* >( it );
- if( _msgList->tqcontains( id->getId() ) )
+ if( _msgList->contains( id->getId() ) )
_msgList->erase( id->getId() );
}
@@ -173,7 +173,7 @@ int DCOPDrop::addMessage( const TQString& subject, const TQString& message )
bool DCOPDrop::removeMessage( int id )
{
- if( ! _msgList->tqcontains( id ) )
+ if( ! _msgList->contains( id ) )
return false;
delete (*_msgList)[ id ];