The QMessageContentContainerId class provides a unique identifier for QMessageContentContainer internet media (MIME) type entities, within the scope of the containing message. More...
#include <QMessageContentContainerId>
This class was introduced in Qt Mobility 1.0.
QMessageContentContainerId () | |
QMessageContentContainerId ( const QMessageContentContainerId & other ) | |
QMessageContentContainerId ( const QString & id ) | |
~QMessageContentContainerId () | |
bool | isValid () const |
QString | toString () const |
typedef | QMessageContentContainerIdList |
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.
See also QMessageContentContainer.
Creates an invalid identifier, toString() will return a null string;
Constructs a copy of other.
This function was introduced in Qt Mobility 1.0.
Constructs an identifier from id.
This function was introduced in Qt Mobility 1.0.
See also toString().
Destroys the identifier.
Returns true if this identifier is valid; otherwise returns false.
This function was introduced in Qt Mobility 1.0.
Returns the string representation of this identifier.
A null string should be returned if and only if the identifier is invalid.
String representations of identifiers should not be used to test for equality, instead the equality operator should be used.
This function was introduced in Qt Mobility 1.0.
Qt-style synonym for QList<QMessageContentContainerId>