Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

QMailViewerPluginInterface Class Reference
[QtMessagingModule, QtPimModule]

The QMailViewerPluginInterface class defines the interface to plug-ins that provide mail message viewers. More...

    #include <QMailViewerPluginInterface>

Inherited by QMailViewerPlugin.

Public Functions


Detailed Description

The QMailViewerPluginInterface class defines the interface to plug-ins that provide mail message viewers.

The QMailViewerPluginInterface class defines the interface to mail message viewer plug-ins. Plug-ins will typically inherit from QMailViewerPlugin rather than this class.

See also QMailViewerPlugin, QMailViewerInterface, and QMailViewerFactory.


Member Function Documentation

QMailViewerInterface * QMailViewerPluginInterface::create ( QWidget * parent )   [pure virtual]

Creates an instance of the message viewer class provided by the plug-in, setting the returned object to have the parent widget parent.

bool QMailViewerPluginInterface::isSupported ( QMailMessage::ContentType type, QMailViewerFactory::PresentationType pres ) const   [pure virtual]

Returns true if the viewer provided by this plug-in can display a mail message with type content using the presentation type pres; otherwise returns false.

QString QMailViewerPluginInterface::key () const   [pure virtual]

Returns a string identifying this plug-in.


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3