akonadi/kmime
Akonadi::MessageFolderAttribute Class Reference
Message folder information. More...
#include <messagefolderattribute.h>
Inherits Attribute.
Public Member Functions | |
| MessageFolderAttribute (const MessageFolderAttribute &other) | |
| MessageFolderAttribute () | |
| ~MessageFolderAttribute () | |
| MessageFolderAttribute * | clone () const |
| void | deserialize (const QByteArray &data) |
| bool | isOutboundFolder () const |
| QByteArray | serialized () const |
| void | setOutboundFolder (bool outbound) |
| QByteArray | type () const |
Detailed Description
Message folder information.
Used eg. by mail clients to decide how to display the content of such collections
- Since:
- 4.4
Definition at line 34 of file messagefolderattribute.h.
Constructor & Destructor Documentation
| MessageFolderAttribute::MessageFolderAttribute | ( | ) |
Creates an empty folder attribute.
Definition at line 33 of file messagefolderattribute.cpp.
| MessageFolderAttribute::MessageFolderAttribute | ( | const MessageFolderAttribute & | other | ) |
Copy constructor.
Definition at line 38 of file messagefolderattribute.cpp.
| MessageFolderAttribute::~MessageFolderAttribute | ( | ) |
Destructor.
Definition at line 44 of file messagefolderattribute.cpp.
Member Function Documentation
| bool MessageFolderAttribute::isOutboundFolder | ( | ) | const |
Indicates if the folder is supposed to contain mostly outbound messages.
In such a case mail clients display the recipient address, otherwise they display the sender address.
- Returns:
- true if the folder contains outbound messages
Definition at line 81 of file messagefolderattribute.cpp.
| void MessageFolderAttribute::setOutboundFolder | ( | bool | outbound | ) |
Set if the folder should be considered as containing mostly outbound messages.
Definition at line 86 of file messagefolderattribute.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference