The QMessageAccount class represents a messaging account in the messaging store. More...
#include <QMessageAccount>
This class was introduced in Qt Mobility 1.0.
QMessageAccount () | |
QMessageAccount ( const QMessageAccountId & id ) | |
QMessageAccount ( const QMessageAccount & other ) | |
virtual | ~QMessageAccount () |
QMessageAccountId | id () const |
QMessage::TypeFlags | messageTypes () const |
QString | name () const |
QMessageAccountId | defaultAccount ( QMessage::Type type ) |
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().
Creates an empty and invalid account object.
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().
Constructs a copy of other.
This function was introduced in Qt Mobility 1.0.
Destroys the account object.
Returns the default account for messages of type type.
This function was introduced in Qt Mobility 1.0.
Returns the identifier for this account.
This function was introduced in Qt Mobility 1.0.
Returns the types of messages this account handles.
This function was introduced in Qt Mobility 1.0.
Returns the name of the account for display purposes.
This function was introduced in Qt Mobility 1.0.
© 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.