summaryrefslogtreecommitdiffstats
path: root/korn/dcopdrop.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /korn/dcopdrop.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 ];