Home · All Classes · Grouped Classes · Annotated · Functions

QMailComposerFactory Class Reference

The QMailComposerFactory class creates objects implementing the QMailComposerInterface interface. More...

    #include <QMailComposerFactory>

Static Public Members


Detailed Description

The QMailComposerFactory class creates objects implementing the QMailComposerInterface interface.

The QMailComposerFactory class creates objects that are able to compose mail messages, and that implement the QMailComposerInterface interface. The factory chooses an implementation based on the type of message to be composed.

The QMailComposerInterface class describes the interface supported by classes that can be created by the QMailComposerFactory class. To create a new class that can be created via the QMailComposerFactory, implement a plug-in that derives from QMailComposerPlugin.

See also QMailComposerInterface and QMailComposerPlugin.


Member Function Documentation

QMailComposerInterface * QMailComposerFactory::create ( const QString & key, QWidget * parent = 0 )   [static]

Creates a composer object of the class identified by key, setting the returned object to have the parent widget parent.

QString QMailComposerFactory::defaultKey ( QMailMessage::MessageType type = QMailMessage::AnyType )   [static]

Returns the key identifying the first class found that can create a message containing type content.

QIcon QMailComposerFactory::displayIcon ( const QString & key )   [static]

Returns the display icon for the composer identified by key.

See also QMailComposerInterface::displayIcon().

QString QMailComposerFactory::displayName ( const QString & key )   [static]

Returns the display name for the composer identified by key.

See also QMailComposerInterface::displayName().

QStringList QMailComposerFactory::keys ( QMailMessage::MessageType type = QMailMessage::AnyType )   [static]

Returns a list of keys identifying classes that can create a message containing type content.

QMailMessage::MessageType QMailComposerFactory::messageType ( const QString & key )   [static]

Returns the message type for the composer identified by key.

See also QMailComposerInterface::messageType().

QString QMailComposerFactory::name ( const QString & key )   [static]

Returns the name for the composer identified by key.

See also QMailComposerInterface::name().


Copyright © 2008 Nokia Trademarks
Qtopia 4.3.3