From f4fae92b6768541e2952173c3d4b09040f95bf7e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 16 Feb 2011 20:17:18 +0000 Subject: 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 --- kmail/messagecopyhelper.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kmail/messagecopyhelper.cpp') 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 list; - for ( TQValueList::ConstIterator it = msgs.constBegin(); it != msgs.constEnd(); ++it ) { + for ( TQValueList::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 rv; + TQValueList 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 rv; + TQValueList 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::ConstIterator it = sernums.begin(); it != sernums.end(); ++it ) { + for ( TQValueList::ConstIterator it = sernums.begin(); it != sernums.end(); ++it ) { KMMsgDict::instance()->getLocation( *it, &f, &index ); if ( !f ) // not found continue; -- cgit v1.2.1