QtMobility Reference Documentation

QMessageAccount Class Reference

The QMessageAccount class represents a messaging account in the messaging store. More...

 #include <QMessageAccount>

This class was introduced in Qt Mobility 1.0.

Public Functions

QMessageAccount ()
QMessageAccount ( const QMessageAccountId & id )
QMessageAccount ( const QMessageAccount & other )
virtual ~QMessageAccount ()
QMessageAccountId id () const
QMessage::TypeFlags messageTypes () const
QString name () const

Static Public Members

QMessageAccountId defaultAccount ( QMessage::Type type )

Detailed Description

The QMessageAccount class represents a messaging account in the messaging store.

A QMessageAccount is a logical entity that groups messages according to the method by which they are sent and received. An account may either transmit messages receive messages or both.

The QMessageAccount class is used for accessing properties of the account related to dealing with the account's folders and messages, rather than for modifying the account itself.

See also QMessageManager::account().

Member Function Documentation

QMessageAccount::QMessageAccount ()

Creates an empty and invalid account object.

QMessageAccount::QMessageAccount ( const QMessageAccountId & id )

Convenience constructor that creates a QMessageAccount by loading the data from the messaging store as specified by the QMessageAccountId id. If the account does not exist in the store, then this constructor will create an empty and invalid QMessageAccount.

This function was introduced in Qt Mobility 1.0.

See also QMessageManager::account().

QMessageAccount::QMessageAccount ( const QMessageAccount & other )

Constructs a copy of other.

This function was introduced in Qt Mobility 1.0.

QMessageAccount::~QMessageAccount () [virtual]

Destroys the account object.

QMessageAccountId QMessageAccount::defaultAccount ( QMessage::Type type ) [static]

Returns the default account for messages of type type.

This function was introduced in Qt Mobility 1.0.

QMessageAccountId QMessageAccount::id () const

Returns the identifier for this account.

This function was introduced in Qt Mobility 1.0.

QMessage::TypeFlags QMessageAccount::messageTypes () const

Returns the types of messages this account handles.

This function was introduced in Qt Mobility 1.0.

QString QMessageAccount::name () const

Returns the name of the account for display purposes.

This function was introduced in Qt Mobility 1.0.

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.