37 #include "kmfoldermbox.h"
40 #include <tdeapplication.h>
43 #include <tqdatetime.h>
50 : FolderJob( msg, jt, folder )
55 MboxJob::MboxJob( TQPtrList<KMMessage>& msgList, const TQString& sets,
57 : FolderJob( msgList, sets, jt, folder )
70 TQTimer::singleShot( 0, this, TQ_SLOT(startJob()) );
75 MboxJob::setParent( const KMFolderMbox *parent )
77 mParent = const_cast<KMFolderMbox* >( parent );
85 assert( (msg && ( mParent || msg->parent() )) );
89 kdDebug(5006)<<msg<<endl;
90 kdDebug(5006)<< this<<endl;
91 kdDebug(5006)<< "Done"<<endl;
94 emit messageRetrieved( msg );
99 mParent->removeMsg( mMsgList );
104 mParent->addMsg( mMsgList.first() );
105 emit messageStored( mMsgList.first() );
112 kdDebug(5006)<<k_funcinfo<< "### Serious problem! "<<endl;
124 #include "mboxjob.moc"
void setComplete(bool v) Set if the message is a complete message.
|