summaryrefslogtreecommitdiffstats
path: root/kmail/kmfoldermaildir.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/kmfoldermaildir.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/kmfoldermaildir.cpp')
-rw-r--r--kmail/kmfoldermaildir.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmail/kmfoldermaildir.cpp b/kmail/kmfoldermaildir.cpp
index 09800a94d..2ec8326ed 100644
--- a/kmail/kmfoldermaildir.cpp
+++ b/kmail/kmfoldermaildir.cpp
@@ -291,7 +291,7 @@ int KMFolderMaildir::compact( unsigned int startIndex, int nbMessages, const TQS
continue;
// first, make sure this isn't in the 'new' subdir
- if ( entryList.contains( filename ) )
+ if ( entryList.tqcontains( filename ) )
moveInternal(subdirNew + filename, subdirCur + filename, mi);
// construct a valid filename. if it's already valid, then
@@ -310,7 +310,7 @@ int KMFolderMaildir::compact( unsigned int startIndex, int nbMessages, const TQS
// we can't have any New messages at this point
if (mi->isNew())
{
- mi->setStatus(KMMsgStatusUnread);
+ mi->seStatus(KMMsgStatusUnread);
setDirty( true );
}
#endif
@@ -385,7 +385,7 @@ if( fileD0.open( IO_WriteOnly ) ) {
msgParent->getMsg( idx );
}
- aMsg->setStatusFields();
+ aMsg->seStatusFields();
if (aMsg->headerField("Content-Type").isEmpty()) // This might be added by
aMsg->removeHeaderField("Content-Type"); // the line above
@@ -404,7 +404,7 @@ if( fileD0.open( IO_WriteOnly ) ) {
if (len <= 0)
{
- kdDebug(5006) << "Message added to folder `" << name() << "' contains no data. Ignoring it." << endl;
+ kdDebug(5006) << "Message added to folder `" << name() << "' tqcontains no data. Ignoring it." << endl;
return 0;
}
@@ -480,7 +480,7 @@ if( fileD0.open( IO_WriteOnly ) ) {
if (aMsg->getMsgSerNum() <= 0)
aMsg->setMsgSerNum();
else
- replaceMsgSerNum( aMsg->getMsgSerNum(), &aMsg->toMsgBase(), idx );
+ tqreplaceMsgSerNum( aMsg->getMsgSerNum(), &aMsg->toMsgBase(), idx );
// write index entry if desired
if (mAutoCreateIndex)
@@ -893,13 +893,13 @@ int KMFolderMaildir::createIndexFromContents()
correctUnreadMsgsCount();
if (kmkernel->outboxFolder() == folder() && count() > 0)
- KMessageBox::information(0, i18n("Your outbox contains messages which were "
+ KMessageBox::information(0, i18n("Your outbox tqcontains messages which were "
"most-likely not created by KMail;\nplease remove them from there if you "
"do not want KMail to send them."));
needsCompact = true;
- invalidateFolder();
+ tqinvalidateFolder();
return 0;
}
@@ -1106,7 +1106,7 @@ void KMFolderMaildir::msgStatusChanged(const KMMsgStatus oldStatus,
}
/*virtual*/
-Q_INT64 KMFolderMaildir::doFolderSize() const
+TQ_INT64 KMFolderMaildir::doFolderSize() const
{
if ( mCurrentlyCheckingFolderSize )
{