Home · All Classes · Grouped Classes · Annotated · Functions

QMailId Class Reference

The QMailId class defines the 64bit database ID's for message store elements. More...

    #include <QMailId>

Public Functions


Detailed Description

The QMailId class defines the 64bit database ID's for message store elements.

The QMailID class represents the message store identifiers for QMailMessages and QMailFolders. A QMailId can be either valid or invalid. A message or folder with a valid ID is expected to exist on the store and have a quint64 value greater than 0.

See also QMailMessage.


Member Function Documentation

QMailId::QMailId ()

Constructs a new invalid QMailId.

QMailId::QMailId ( const quint64 & id )

Explicitly constructs a new QMailId from a quint64 id.

QMailId::QMailId ( const QMailId & other )

Constructs a QMailId that is a copy of the QMailId other.

QMailId::~QMailId ()   [virtual]

Destroys the QMailId.

void QMailId::deserialize ( Stream & stream )

Reads the contents of a QMailId from stream.

bool QMailId::isValid () const

Returns true if this QMailId is valid or false otherwise. A valid QMailId is one which is expected to exist on the message store.

void QMailId::serialize ( Stream & stream ) const

Writes the contents of a QMailId to a stream.

quint64 QMailId::toULongLong () const

Returns the quint64 representation of the QMailId.

QMailId::operator QVariant () const

Returns the QVariant representation of this QMailId.

bool QMailId::operator!= ( const QMailId & other ) const

Returns true if this QMailId does not equal the QMailId other, and false otherwise.

bool QMailId::operator< ( const QMailId & other ) const

Returns true if this QMailId is less than the value of other, and false otherwise.

QMailId & QMailId::operator= ( const QMailId & other )

Assignes the value of this QMailId to the value of the QMailId other.

bool QMailId::operator== ( const QMailId & other ) const

Returns true if this QMailId equals the QMailId other, and false otherwise.


Copyright © 2007 Trolltech Trademarks
Qtopia 4.3.0