summaryrefslogtreecommitdiffstats
path: root/kmail/messagecopyhelper.cpp
diff options
context:
space:
mode:
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;