Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QMailViewerFactory class creates objects implementing the QMailViewerInterface interface. More...
#include <QMailViewerFactory>
The QMailViewerFactory class creates objects implementing the QMailViewerInterface interface.
The QMailViewerFactory class creates objects that are able to display mail messages, and implement the QMailViewerInterface interface. The factory chooses an implementation based on the type of message to be displayed.
The QMailViewerInterface class describes the interface supported by classes that can be created by the QMailViewerFactory class. To create a new class that can be created via the QMailViewerFactory, implement a plug-in that derives from QMailViewerPlugin.
See also QMailViewerInterface and QMailViewerPlugin.
This enum defines the types of presentation that message viewer components may implement.
Constant | Value | Description |
---|---|---|
QMailViewerFactory::AnyPresentation | 0 | Do not specify the type of presentation to be employed. |
QMailViewerFactory::StandardPresentation | 1 | Present the message in the standard fashion for the relevant content type. |
QMailViewerFactory::ConversationPresentation | 2 | Present the message in the context of a conversation with a contact. |
QMailViewerFactory::UserPresentation | 64 | The first value that can be used for application-specific purposes. |
Creates a viewer object of the class identified by key, setting the returned object to have the parent widget parent.
Returns the key identifying the first class found that can display message containing type content, using the presentation type pres.
Returns a list of keys identifying classes that can display a message containing type content, using the presentation type pres.
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |