![]() |
Home | ![]() |
The Location class contains a specification of the location of a message part with the message that contains it. More...
#include <QMailMessagePartContainer>
This class is under development and is subject to change.
Location () | |
Location ( const QString & description ) | |
Location ( const Location & other ) | |
QMailMessageId | containingMessageId () const |
bool | isValid ( bool extended = true ) const |
void | setContainingMessageId ( const QMailMessageId & id ) |
QString | toString ( bool extended ) const |
bool | operator== ( const QMailMessagePartContainer::Location & other ) const |
The Location class contains a specification of the location of a message part with the message that contains it.
A Location object is used to refer to a single part within a multi-part message. The location can be used to reference a part within a QMailMessage object, via the partAt function.
Creates an empty part location object.
Creates a part location object referring to the location given by description.
See also toString().
Creates a part location object containing a copy of other.
Returns the identifier of the message that contains the part with this location.
See also setContainingMessageId().
Returns true if the location object contains the location of a valid message part. If extended is true, the location must also contain a valid message identifier.
Sets the identifier of the message that contains the part with this location to id.
See also containingMessageId().
Returns a textual representation of the part location. If extended is true, the representation contains the identifier of the containing message.
Returns true if other is referring to the same location
Copyright © 2010 QtSoftware | Messaging Framework |