Contents
QMessageContentContainerId Class Reference
The QMessageContentContainerId class provides a unique identifier for QMessageContentContainer internet media (MIME) type entities, within the scope of the containing message. More...
#include <QMessageContentContainerId>
Public Functions
QMessageContentContainerId () | |
QMessageContentContainerId ( const QMessageContentContainerId & other ) | |
QMessageContentContainerId ( const QString & id ) | |
~QMessageContentContainerId () | |
bool | isValid () const |
QString | toString () const |
Detailed Description
The QMessageContentContainerId class provides a unique identifier for QMessageContentContainer internet media (MIME) type entities, within the scope of the containing message.
A QMessageContentContainerId can be constructed from a string, or converted to a string with toString().
The identifier of the containing (parent) message is return by messageId()
A QMessageContentContainerId instance can be tested for validity with isValid(), and compared to other instances for equality.
If the object a QMessageContentContainerId identifies is removed then the identifier may be reused.
If the QMessageContentContainerId refers to an object that has a parent container, and the contents of that parent container are modified by removing or prepending contents (i.e. message attachments are removed or a message body is created) or the parent container itself is removed then the identifier may become invalid, or be reused to reference a different object entirely.