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

QMailNewMmsHandler Class Reference
[QtMessagingModule]

The QMailNewMmsHandler class provides a convenient interface for responding to new MMS arrival notifications emitted by the message server. More...

    #include <QMailNewMmsHandler>

This class is under development and is subject to change.

Inherits QMailNewMessageHandler.

Public Functions

Additional Inherited Members


Detailed Description

The QMailNewMmsHandler class provides a convenient interface for responding to new MMS arrival notifications emitted by the message server.

When a new MMS is retrieved by the message server, the NewMmsArrival::arrived(QDSActionRequest) service request is emitted. If a process registers to handle this request and instantiates a QMailNewMmsHandler object, the handler object will process the service request and emit the newCountChanged() signal.

In response to the newCountChanged() signal, the handler process should invoke the setHandled() slot, to communicate whether or not they have handled the event to the message server. If any handler process reports the event as handled, then the count of new MMS messages will be reset, and those messages will have the QMailMessage::New status flag unset.

Note: if a process instantiates a QMailNewMmsHandler, it will not do anything unless the process is also registered to handle the NewMmsArrival service.


Member Function Documentation

QMailNewMmsHandler::QMailNewMmsHandler ( QObject * parent = 0 )

Constructs a new handler for the NewMmsArrival service, with the specified parent.

QMailMessage::MessageType QMailNewMmsHandler::messageType () const   [virtual]

Returns QMailMessage::Mms, the type of messages handled by QMailNewMmsHandler.

Reimplemented from QMailNewMessageHandler.


Copyright © 2009 Nokia Trademarks
Qt Extended 4.4.3