summaryrefslogtreecommitdiffstats
path: root/kmail/actionscheduler.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/actionscheduler.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/actionscheduler.cpp')
-rw-r--r--kmail/actionscheduler.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kmail/actionscheduler.cpp b/kmail/actionscheduler.cpp
index 0af6cdd4f..6975b3fcd 100644
--- a/kmail/actionscheduler.cpp
+++ b/kmail/actionscheduler.cpp
@@ -157,8 +157,8 @@ void ActionScheduler::setSourceFolder( KMFolder *srcFolder )
{
srcFolder->open("actionschedsrc");
if (mSrcFolder) {
- disconnect( mSrcFolder, TQT_SIGNAL(msgAdded(KMFolder*, Q_UINT32)),
- this, TQT_SLOT(msgAdded(KMFolder*, Q_UINT32)) );
+ disconnect( mSrcFolder, TQT_SIGNAL(msgAdded(KMFolder*, TQ_UINT32)),
+ this, TQT_SLOT(msgAdded(KMFolder*, TQ_UINT32)) );
disconnect( mSrcFolder, TQT_SIGNAL(closed()),
this, TQT_SLOT(folderClosedOrExpunged()) );
disconnect( mSrcFolder, TQT_SIGNAL(expunged(KMFolder*)),
@@ -170,8 +170,8 @@ void ActionScheduler::setSourceFolder( KMFolder *srcFolder )
for (i = 0; i < mSrcFolder->count(); ++i)
enqueue( mSrcFolder->getMsgBase( i )->getMsgSerNum() );
if (mSrcFolder) {
- connect( mSrcFolder, TQT_SIGNAL(msgAdded(KMFolder*, Q_UINT32)),
- this, TQT_SLOT(msgAdded(KMFolder*, Q_UINT32)) );
+ connect( mSrcFolder, TQT_SIGNAL(msgAdded(KMFolder*, TQ_UINT32)),
+ this, TQT_SLOT(msgAdded(KMFolder*, TQ_UINT32)) );
connect( mSrcFolder, TQT_SIGNAL(closed()),
this, TQT_SLOT(folderClosedOrExpunged()) );
connect( mSrcFolder, TQT_SIGNAL(expunged(KMFolder*)),
@@ -230,9 +230,9 @@ void ActionScheduler::tempCloseFolders()
mOpenFolders.clear();
}
-void ActionScheduler::execFilters(const TQValueList<Q_UINT32> serNums)
+void ActionScheduler::execFilters(const TQValueList<TQ_UINT32> serNums)
{
- TQValueListConstIterator<Q_UINT32> it;
+ TQValueListConstIterator<TQ_UINT32> it;
for (it = serNums.begin(); it != serNums.end(); ++it)
execFilters( *it );
}
@@ -250,7 +250,7 @@ void ActionScheduler::execFilters(KMMsgBase* msgBase)
execFilters( msgBase->getMsgSerNum() );
}
-void ActionScheduler::execFilters(Q_UINT32 serNum)
+void ActionScheduler::execFilters(TQ_UINT32 serNum)
{
if (mResult != ResultOk) {
if ((mResult != ResultCriticalError) &&
@@ -279,7 +279,7 @@ void ActionScheduler::execFilters(Q_UINT32 serNum)
}
}
-KMMsgBase *ActionScheduler::messageBase(Q_UINT32 serNum)
+KMMsgBase *ActionScheduler::messageBase(TQ_UINT32 serNum)
{
int idx = -1;
KMFolder *folder = 0;
@@ -299,7 +299,7 @@ KMMsgBase *ActionScheduler::messageBase(Q_UINT32 serNum)
return msg;
}
-KMMessage *ActionScheduler::message(Q_UINT32 serNum)
+KMMessage *ActionScheduler::message(TQ_UINT32 serNum)
{
int idx = -1;
KMFolder *folder = 0;
@@ -380,7 +380,7 @@ void ActionScheduler::finish()
void ActionScheduler::fetchMessage()
{
- TQValueListIterator<Q_UINT32> mFetchMessageIt = mFetchSerNums.begin();
+ TQValueListIterator<TQ_UINT32> mFetchMessageIt = mFetchSerNums.begin();
while (mFetchMessageIt != mFetchSerNums.end()) {
if (!MessageProperty::transferInProgress(*mFetchMessageIt))
break;
@@ -454,7 +454,7 @@ void ActionScheduler::messageFetched( KMMessage *msg )
serNumS.setNum( msg->getMsgSerNum() );
KMMessage *newMsg = new KMMessage;
newMsg->fromString(msg->asString());
- newMsg->setStatus(msg->status());
+ newMsg->seStatus(msg->status());
newMsg->setComplete(msg->isComplete());
newMsg->setHeaderField( "X-KMail-Filtered", serNumS );
mSrcFolder->addMsg( newMsg );
@@ -466,13 +466,13 @@ void ActionScheduler::messageFetched( KMMessage *msg )
return;
}
-void ActionScheduler::msgAdded( KMFolder*, Q_UINT32 serNum )
+void ActionScheduler::msgAdded( KMFolder*, TQ_UINT32 serNum )
{
if (!mIgnore)
enqueue( serNum );
}
-void ActionScheduler::enqueue(Q_UINT32 serNum)
+void ActionScheduler::enqueue(TQ_UINT32 serNum)
{
if (mResult != ResultOk)
return; // An error has already occurred don't even try to process this msg