kmfoldermbox.h
virtual FolderJob * doCreateJob(KMMessage *msg, FolderJob::JobType jt, KMFolder *folder, TQString partSpecifier, const AttachmentStrategy *as) const =0
These two methods actually create the jobs.
virtual int create()=0
Create a new folder with the name of this object and open it.
virtual DwString getDwString(int idx)=0
Read a message and returns a DwString.
virtual KMMessage * readMsg(int idx)=0
Load message from file and store it at given index.
bool mFilesLocked
TRUE if the files of the folder are locked (writable)
Definition: folderstorage.h:622
virtual KMFolderType folderType() const
Returns the type of this folder.
Definition: folderstorage.h:96
virtual int expungeContents()=0
Called by KMFolder::expunge() to delete the actual contents.
virtual int removeContents()=0
Called by KMFolder::remove() to delete the actual contents.
virtual int addMsg(KMMessage *msg, int *index_return=0)=0
Add the given message to the folder.
virtual int canAccess()=0
Check folder for permissions Returns zero if readable and writable.
A FolderStorage with an index for faster access to often used message properties.
Definition: kmfolderindex.h:38
virtual IndexStatus indexStatus()=0
Tests whether the contents of this folder is newer than the index.
Definition: kmfolderindex.cpp:470
virtual int createIndexFromContents()=0
Create index file from messages file and fill the message-info list mMsgList.