| Home · All Classes · Grouped Classes · Annotated · 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 mail content that viewer objects may be able to display.
| Constant | Value | Description |
|---|---|---|
| QMailViewerFactory::StaticContent | 0 | Mail content that is not animated, such as plain text and HTML. |
| QMailViewerFactory::SmilContent | 1 | Content marked up via Synchronized Multimedia Integration Language. |
| QMailViewerFactory::AnyContent | 2 | Do not specify the type of content to be viewed. |
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.
See also QMailViewerFactory::ContentType.
Returns a list of keys identifying classes that can display a message containing type content.
See also QMailViewerFactory::ContentType.
| Copyright © 2008 Nokia | Trademarks | Qtopia 4.3.3 |