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>
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.