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

MessagesService Class Reference

Provides the Qt Extended Messages viewing service. More...

    #include <MessagesService>

Inherits QtopiaAbstractService.

Public Slots

Additional Inherited Members


Detailed Description

Provides the Qt Extended Messages viewing service.

The Messages service enables applications to request the display of messages of various types.


Member Function Documentation

void MessagesService::composeMessage ( QMailMessage::MessageType type, QMailAddressList to, QString subject, QString text )   [slot]

Compose a message of type type, with the supplied properties. If type is QMailMessage::AnyType, the type will be determined by inspecting the types of the addresses in to. The message will be addressed to each of the recipients in to, the subject will be preset to subject, and the message text will be preset to text.

This slot corresponds to the QCop service message Messages::composeMessage(QMailMessage::MessageType, QMailAddressList, QString, QString).

void MessagesService::composeMessage ( QMailMessage::MessageType type, QMailAddressList to, QString subject, QString text, QContentList attachments, QMailMessage::AttachmentsAction action )   [slot]

This is an overloaded member function, provided for convenience.

Compose a message of type type, with the supplied properties. If type is QMailMessage::AnyType, the type will be determined by inspecting the types of the addresses in to, and by the existence of attachments. The message will be addressed to each of the recipients in to, the message subject will be set to subject, and the message text will be preset to text. All the documents listed in attachments will be added to the message as attachments. If action is MessagesService::LinkToAttachments, the attachments will be created as links to the source document; otherwise, the data of the documents will be stored directly in the message parts. If action is MessagesService::CopyAndDeleteAttachments, the source document will be deleted after the data is copied.

This slot corresponds to the QCop service message Messages::composeMessage(QMailMessage::MessageType, QMailAddressList, QString, QString, QContentList, QMailMessage::AttachmentsAction).

void MessagesService::composeMessage ( QMailMessage message )   [slot]

This is an overloaded member function, provided for convenience.

Compose a message in the appropriate composer, where all composer fields are preset with the data from the matching field of message.

This slot corresponds to the QCop service message Messages::composeMessage(QMailMessage).

void MessagesService::replyToMessage ( QMailMessageId id )   [slot]

Reply to the message with the supplied id.

This slot corresponds to the QCop service message Messages::replyToMessage(QMailMessageId).

void MessagesService::viewMessage ( QMailMessageId id )   [slot]

Show the message with the supplied id.

This slot corresponds to the QCop service message Messages::viewMessage(QMailMessageId).

void MessagesService::viewMessages ()   [slot]

Show the default selection of messages, equivalent to that displayed when the Messages application is started by a direct user action.

This slot corresponds to the QCop service message Messages::viewMessages().

void MessagesService::viewNewMessages ( bool userRequest )   [slot]

Show the newly arrived messages. If userRequest is true, the request will be treated as if arising from a direct user action; otherwise, the user will be requested to confirm the action before proceeding.

This slot corresponds to the QCop service message Messages::viewNewMessages().


Copyright © 2009 Trolltech Trademarks
Qt Extended 4.4.3