akonadi/kmime
#include <messagefolderattribute.h>
Inherits Akonadi::Attribute.
Public Member Functions | |
MessageFolderAttribute () | |
MessageFolderAttribute (const MessageFolderAttribute &other) | |
~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() [1/2]
MessageFolderAttribute::MessageFolderAttribute | ( | ) |
Creates an empty folder attribute.
Definition at line 33 of file messagefolderattribute.cpp.
◆ MessageFolderAttribute() [2/2]
MessageFolderAttribute::MessageFolderAttribute | ( | const MessageFolderAttribute & | other | ) |
Copy constructor.
Definition at line 38 of file messagefolderattribute.cpp.
◆ ~MessageFolderAttribute()
MessageFolderAttribute::~MessageFolderAttribute | ( | ) |
Destructor.
Definition at line 44 of file messagefolderattribute.cpp.
Member Function Documentation
◆ clone()
MessageFolderAttribute * MessageFolderAttribute::clone | ( | ) | const |
Definition at line 55 of file messagefolderattribute.cpp.
◆ deserialize()
void MessageFolderAttribute::deserialize | ( | const QByteArray & | data | ) |
Definition at line 73 of file messagefolderattribute.cpp.
◆ isOutboundFolder()
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 82 of file messagefolderattribute.cpp.
◆ serialized()
QByteArray MessageFolderAttribute::serialized | ( | ) | const |
Definition at line 60 of file messagefolderattribute.cpp.
◆ setOutboundFolder()
void MessageFolderAttribute::setOutboundFolder | ( | bool | outbound | ) |
Set if the folder should be considered as containing mostly outbound messages.
Definition at line 87 of file messagefolderattribute.cpp.
◆ type()
QByteArray MessageFolderAttribute::type | ( | ) | const |
Definition at line 49 of file messagefolderattribute.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.