kmail

MailComposerIface Class Referenceabstract

#include <mailcomposerIface.h>

Inherits DCOPObject.

Inherited by KMComposeWin.

Detailed Description

DCOP interface for mail composer window.

The address header fields are set, when the composer is constructed. KMailIface::openComposer() returns a reference to the DCOP interface of the new composer window, which provides the functions defined in the MailComposerIface.

Definition at line 13 of file mailcomposerIface.h.

Member Function Documentation

◆ addAttachment [1/2]

virtual void MailComposerIface::addAttachment ( const TQString &  name,
const TQCString &  cte,
const TQByteArray &  data,
const TQCString &  type,
const TQCString &  subType,
const TQCString &  paramAttr,
const TQString &  paramValue,
const TQCString &  contDisp 
)
pure virtual

Add attachment.

Parameters
nameName of Attachment
cteContent Transfer Encoding
dataData to be attached
typeMIME content type
subTypeMIME content sub type
paramAttrAttribute name of parameter of content type
paramValueValue of parameter of content type
contDispContent disposition

◆ addAttachment [2/2]

virtual void MailComposerIface::addAttachment ( KURL  url,
TQString  comment 
)
pure virtual

Add url as attachment with a user-defined comment.

◆ send

virtual void MailComposerIface::send ( int  how)
pure virtual

Send message.


Parameters
how0 for deafult method, 1 for sending now, 2 for sending later.

◆ setBody

virtual void MailComposerIface::setBody ( TQString  body)
pure virtual

Set message body.


The documentation for this class was generated from the following file: