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 407a6ff06..7eb8d2a06 100644
--- a/korn/dcopdrop.cpp
+++ b/korn/dcopdrop.cpp
@@ -74,7 +74,7 @@ bool DCOPDrop::readConfigGroup( const KConfigGroup &cfg )
bool DCOPDrop::readConfigGroup( const TQMap< TQString, TQString > &map, const Protocol * )
{
- if( !map.contains( "dcopname" ) )
+ if( !map.tqcontains( "dcopname" ) )
//The mapping MUST contain dcopname.
kdDebug() << "mapping is niet compleet" << endl;
@@ -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->contains( id->getId() ) )
+ if( _msgList->tqcontains( id->getId() ) )
_msgList->erase( id->getId() );
}
@@ -162,7 +162,7 @@ int DCOPDrop::addMessage( const TQString& subject, const TQString& message )
mailsubject->setSender( TQString( "DCOP: %1" ).arg( *_name ) );
mailsubject->setHeader( message, true );
mailsubject->setSize( message.length() );
- mailsubject->setDate( TQDateTime::currentDateTime().toTime_t() );
+ mailsubject->setDate( TQDateTime::tqcurrentDateTime().toTime_t() );
_msgList->insert( id->getId(), mailsubject );
@@ -173,7 +173,7 @@ int DCOPDrop::addMessage( const TQString& subject, const TQString& message )
bool DCOPDrop::removeMessage( int id )
{
- if( ! _msgList->contains( id ) )
+ if( ! _msgList->tqcontains( id ) )
return false;
delete (*_msgList)[ id ];