summaryrefslogtreecommitdiffstats
path: root/kmail/messageproperty.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kmail/messageproperty.cpp
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/messageproperty.cpp')
-rw-r--r--kmail/messageproperty.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmail/messageproperty.cpp b/kmail/messageproperty.cpp
index e9897cd64..91261540f 100644
--- a/kmail/messageproperty.cpp
+++ b/kmail/messageproperty.cpp
@@ -18,11 +18,11 @@
In addition, as a special exception, the copyright holders give
permission to link the code of this program with any edition of
- the Qt library by Trolltech AS, Norway (or with modified versions
- of Qt that use the same license as Qt), and distribute linked
+ the TQt library by Trolltech AS, Norway (or with modified versions
+ of TQt that use the same license as TQt), and distribute linked
combinations including the two. You must obey the GNU General
Public License in all respects for all of the code used other than
- Qt. If you modify this file, you may extend this exception to
+ TQt. If you modify this file, you may extend this exception to
your version of the file, but you are not obligated to do so. If
you do not wish to do so, delete this exception statement from
your version.
@@ -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.find( serNum );
+ TQMap<TQ_UINT32, TQGuardedPtr<KMFolder> >::const_iterator it = sFolders.tqfind( 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.find( serNum );
+ TQMap<TQ_UINT32, TQGuardedPtr<ActionScheduler> >::const_iterator it = sHandlers.tqfind( 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.find( serNum );
+ TQMap<TQ_UINT32, int >::const_iterator it = sTransfers.tqfind( 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.find( serNum );
+ TQMap<TQ_UINT32, int >::const_iterator it = sTransfers.tqfind( 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.find( msgBase );
+ TQMap<const KMMsgBase*, long >::const_iterator it = sSerialCache.tqfind( msgBase );
return it == sSerialCache.constEnd() ? 0 : *it;
}