summaryrefslogtreecommitdiffstats
path: root/kmail/messageproperty.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /kmail/messageproperty.cpp
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz
tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/messageproperty.cpp')
-rw-r--r--kmail/messageproperty.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmail/messageproperty.cpp b/kmail/messageproperty.cpp
index 91261540f..b8b37f915 100644
--- a/kmail/messageproperty.cpp
+++ b/kmail/messageproperty.cpp
@@ -42,14 +42,14 @@ TQMap<const KMMsgBase*, long > MessageProperty::sSerialCache;
bool MessageProperty::filtering( TQ_UINT32 serNum )
{
- return sFolders.tqcontains( serNum );
+ return sFolders.contains( serNum );
}
void MessageProperty::setFiltering( TQ_UINT32 serNum, bool filter )
{
assert(!filtering(serNum) || !filter);
if (filter && !filtering(serNum))
- sFolders.tqreplace(serNum, TQGuardedPtr<KMFolder>(0) );
+ sFolders.replace(serNum, TQGuardedPtr<KMFolder>(0) );
else if (!filter)
sFolders.remove(serNum);
}
@@ -66,7 +66,7 @@ void MessageProperty::setFiltering( const KMMsgBase *msgBase, bool filter )
KMFolder* MessageProperty::filterFolder( TQ_UINT32 serNum )
{
- TQMap<TQ_UINT32, TQGuardedPtr<KMFolder> >::const_iterator it = sFolders.tqfind( serNum );
+ TQMap<TQ_UINT32, TQGuardedPtr<KMFolder> >::const_iterator it = sFolders.find( serNum );
return it == sFolders.constEnd() ? 0 : (*it).operator->();
}
@@ -87,7 +87,7 @@ void MessageProperty::setFilterFolder( const KMMsgBase *msgBase, KMFolder* folde
ActionScheduler* MessageProperty::filterHandler( TQ_UINT32 serNum )
{
- TQMap<TQ_UINT32, TQGuardedPtr<ActionScheduler> >::const_iterator it = sHandlers.tqfind( serNum );
+ TQMap<TQ_UINT32, TQGuardedPtr<ActionScheduler> >::const_iterator it = sHandlers.find( serNum );
return it == sHandlers.constEnd() ? 0 : (*it).operator->();
}
@@ -111,14 +111,14 @@ void MessageProperty::setFilterHandler( const KMMsgBase *msgBase, ActionSchedule
bool MessageProperty::transferInProgress( TQ_UINT32 serNum )
{
- TQMap<TQ_UINT32, int >::const_iterator it = sTransfers.tqfind( serNum );
+ TQMap<TQ_UINT32, int >::const_iterator it = sTransfers.find( serNum );
return it == sTransfers.constEnd() ? false : *it;
}
void MessageProperty::setTransferInProgress( TQ_UINT32 serNum, bool transfer, bool force )
{
int transferInProgress = 0;
- TQMap<TQ_UINT32, int >::const_iterator it = sTransfers.tqfind( serNum );
+ TQMap<TQ_UINT32, int >::const_iterator it = sTransfers.find( serNum );
if (it != sTransfers.constEnd())
transferInProgress = *it;
if ( force && !transfer )
@@ -145,7 +145,7 @@ void MessageProperty::setTransferInProgress( const KMMsgBase *msgBase, bool tran
TQ_UINT32 MessageProperty::serialCache( const KMMsgBase *msgBase )
{
- TQMap<const KMMsgBase*, long >::const_iterator it = sSerialCache.tqfind( msgBase );
+ TQMap<const KMMsgBase*, long >::const_iterator it = sSerialCache.find( msgBase );
return it == sSerialCache.constEnd() ? 0 : *it;
}