Eneboo - Documentación para desarrolladores
|
#include <mailfolder.h>
enum MailFolder::PROTOCOL |
enum MailFolder::TYPES |
MailFolder::MailFolder | ( | const QString & | _storageDevice | ) |
MailFolder::~MailFolder | ( | ) | [virtual] |
bool MailFolder::compact | ( | unsigned | level = 0 | ) | [virtual] |
Compacting the folder, level 0 is uncompressed.
virtual QString MailFolder::copyMessage | ( | IndexClass * | idx | ) | [pure virtual] |
Copy a message in this folder.
Implementado en LocalMailFolder.
virtual bool MailFolder::copyMessage | ( | const QStringList & | urls | ) | [pure virtual] |
Implementado en LocalMailFolder.
QString MailFolder::createMessage | ( | ) | [virtual] |
Add a message to the folder.
virtual QString MailFolder::createMessage | ( | const QCString & | text, |
const QCString & | uid, | ||
const QDateTime & | rcvtime, | ||
const QString & | account, | ||
const MessageClass * | parsedMessage = 0 , |
||
bool | bSync = false , |
||
const unsigned | flags = 0 |
||
) | [pure virtual] |
Add a message to the folder.
Implementado en LocalMailFolder.
void MailFolder::crossReferenceIndex | ( | IndexClass * | idx | ) | [protected] |
Set up related-to index id cross-references.
void MailFolder::crossReferenceIndexSet | ( | IndexClass * | idx | ) | [protected] |
Set up parent and related-to index id cross references for a branch.
void MailFolder::decrementUnread | ( | ) |
Decrement the unread messages count.
virtual bool MailFolder::deleteMessage | ( | IndexClass * | idx | ) | [pure virtual] |
Delete a message from the folder.
Implementado en LocalMailFolder.
virtual bool MailFolder::deleteMessage | ( | const QStringList & | urls | ) | [pure virtual] |
Implementado en LocalMailFolder.
QMap< QString, QByteArray > MailFolder::entryCacheBlock | ( | ) |
Folder cache.
Expunge the folder.
Implementado en LocalMailFolder.
IndexClass * MailFolder::findIndex | ( | const QString & | id | ) | [static, protected] |
Globally search for a given index.
int MailFolder::getAccessRights | ( | ) | const |
Get the access rights.
bool MailFolder::getAutoExpunge | ( | ) | const |
Get auto expunge flag.
QString MailFolder::getDescriptorFileName | ( | ) | const |
Get the descriptor file name.
QStringList MailFolder::getEntryList | ( | const QString | url = QString::null | ) | const |
Get a list of folder messages id.
int MailFolder::getFolderProtocol | ( | ) | const |
Get the folder protocol.
int MailFolder::getFolderType | ( | ) | const |
Get the folder type.
QString MailFolder::getIndexFileName | ( | ) | const |
Get the index file name.
unsigned long MailFolder::getLastIndexID | ( | ) | const |
Get the last index id.
int MailFolder::getMessageCount | ( | ) | const |
Number of messages.
virtual QString MailFolder::getMessagesFileName | ( | ) | const [pure virtual] |
Get the file name with the messages.
Implementado en LocalMailFolder.
int MailFolder::getMessagesPlace | ( | ) | const |
Get the message place.
unsigned int MailFolder::getPruneIndexCount | ( | ) | const |
Get the prune index count.
QString MailFolder::getStorageDevice | ( | ) | const |
Storage device (mail folder).
int MailFolder::getUnread | ( | ) | const |
Number of unread messages.
void MailFolder::incrementPruneIndexCount | ( | ) | [protected] |
Increment the prune index count.
void MailFolder::incrementUnread | ( | ) |
Increment the unread messages count.
QDict< IndexClass > & MailFolder::indexIDict | ( | ) |
A fast and easy access way for getting the index.
virtual void MailFolder::loadIndex | ( | ) | [protected, pure virtual] |
Load the index file or build it.
virtual QString MailFolder::moveMessage | ( | IndexClass * | idx | ) | [pure virtual] |
Move a message in this folder.
Implementado en LocalMailFolder.
virtual bool MailFolder::moveMessage | ( | const QStringList & | urls | ) | [pure virtual] |
Implementado en LocalMailFolder.
QString MailFolder::name | ( | ) | const |
The mapped name of the folder.
QString MailFolder::nextIndexID | ( | ) | [static] |
Get the next index id.
bool MailFolder::reparentByRelated | ( | IndexClass * | idx | ) | [protected] |
Check for a related parent and parent index, if appropriate.
bool MailFolder::reparentBySubject | ( | IndexClass * | idx | ) | [protected] |
Check for a common subject and parent index, if appropriate.
void MailFolder::reparentIndex | ( | IndexClass * | idx | ) | [protected] |
Check for parent-son relationship and parent index, if appropriate.
void MailFolder::saveIndex | ( | IndexClass * | index | ) |
Incremental index save.
void MailFolder::saveIndex | ( | ) |
Save index file.
void MailFolder::setLastIndexID | ( | long unsigned | _lastIndexId | ) | [protected] |
Set the last index id.
void MailFolder::setPruneIndexCount | ( | unsigned int | _pruneIndexCount = 0 | ) | [protected] |
Set the prune index count.
void MailFolder::setupFiles | ( | ) | [protected] |
Set all the folder files name.
Check for a common subject.
virtual void MailFolder::sync | ( | ) | [pure virtual] |
Sync the messages from the list.
Implementado en LocalMailFolder.
void MailFolder::syncIndexID | ( | IndexClass * | idx | ) | [protected] |
Sync index-message ids.
Translate a message id into an index id, checking all the folders.
Translate a message id into an index id, checking only one folder.
friend class IndexClass [friend] |
The index class used for building the folder index.
QDict<IndexClass> MailFolder::indexCollection [protected] |
Index dictionary for a quick data access.
unsigned int MailFolder::pruneIndexCount [protected] |
Prune index count.
QPtrList<MessageDevice> MailFolder::syncMessages [protected] |
The message list for being created.