summaryrefslogtreecommitdiffstats
path: root/kmail/messagecopyhelper.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 /kmail/messagecopyhelper.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 'kmail/messagecopyhelper.cpp')
-rw-r--r--kmail/messagecopyhelper.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmail/messagecopyhelper.cpp b/kmail/messagecopyhelper.cpp
index e0a27fc35..4d9983308 100644
--- a/kmail/messagecopyhelper.cpp
+++ b/kmail/messagecopyhelper.cpp
@@ -26,7 +26,7 @@
using namespace KMail;
using namespace KPIM;
-MessageCopyHelper::MessageCopyHelper( const TQValueList< Q_UINT32 > & msgs,
+MessageCopyHelper::MessageCopyHelper( const TQValueList< TQ_UINT32 > & msgs,
KMFolder * dest, bool move, TQObject * parent ) :
TQObject( parent )
{
@@ -37,13 +37,13 @@ MessageCopyHelper::MessageCopyHelper( const TQValueList< Q_UINT32 > & msgs,
int index;
TQPtrList<KMMsgBase> list;
- for ( TQValueList<Q_UINT32>::ConstIterator it = msgs.constBegin(); it != msgs.constEnd(); ++it ) {
+ for ( TQValueList<TQ_UINT32>::ConstIterator it = msgs.constBegin(); it != msgs.constEnd(); ++it ) {
KMMsgDict::instance()->getLocation( *it, &f, &index );
if ( !f ) // not found
continue;
if ( f == dest )
continue; // already there
- if ( !mOpenFolders.contains( f ) ) {// not yet opened
+ if ( !mOpenFolders.tqcontains( f ) ) {// not yet opened
f->open( "messagecopyhelper" );
mOpenFolders.insert( f, 0 );
}
@@ -79,17 +79,17 @@ void MessageCopyHelper::copyCompleted(KMCommand * cmd)
deleteLater();
}
-TQValueList< Q_UINT32 > MessageCopyHelper::serNumListFromMailList(const KPIM::MailList & list)
+TQValueList< TQ_UINT32 > MessageCopyHelper::serNumListFromMailList(const KPIM::MailList & list)
{
- TQValueList<Q_UINT32> rv;
+ TQValueList<TQ_UINT32> rv;
for ( MailList::ConstIterator it = list.constBegin(); it != list.constEnd(); ++it )
rv.append( (*it).serialNumber() );
return rv;
}
-TQValueList< Q_UINT32 > MessageCopyHelper::serNumListFromMsgList(TQPtrList< KMMsgBase > list)
+TQValueList< TQ_UINT32 > MessageCopyHelper::serNumListFromMsgList(TQPtrList< KMMsgBase > list)
{
- TQValueList<Q_UINT32> rv;
+ TQValueList<TQ_UINT32> rv;
KMMsgBase* msg = list.first();
while( msg ) {
rv.append( msg->getMsgSerNum() );
@@ -98,11 +98,11 @@ TQValueList< Q_UINT32 > MessageCopyHelper::serNumListFromMsgList(TQPtrList< KMMs
return rv;
}
-bool MessageCopyHelper::inReadOnlyFolder(const TQValueList< Q_UINT32 > & sernums)
+bool MessageCopyHelper::inReadOnlyFolder(const TQValueList< TQ_UINT32 > & sernums)
{
KMFolder *f = 0;
int index;
- for ( TQValueList<Q_UINT32>::ConstIterator it = sernums.begin(); it != sernums.end(); ++it ) {
+ for ( TQValueList<TQ_UINT32>::ConstIterator it = sernums.begin(); it != sernums.end(); ++it ) {
KMMsgDict::instance()->getLocation( *it, &f, &index );
if ( !f ) // not found
continue;