kmail

MailComposerIface Class Reference

#include <mailcomposerIface.h>

Inheritance diagram for MailComposerIface:

KMComposeWin List of all members.

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.


DCOP Member Functions

virtual void send (int how)=0
virtual void addAttachment (KURL url, QString comment)=0
virtual void setBody (QString body)=0
virtual void addAttachment (const QString &name, const QCString &cte, const QByteArray &data, const QCString &type, const QCString &subType, const QCString &paramAttr, const QString &paramValue, const QCString &contDisp)=0

Member Function Documentation

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

Send message.

Parameters:
how 0 for deafult method, 1 for sending now, 2 for sending later.

Implemented in KMComposeWin.

virtual void MailComposerIface::addAttachment ( KURL  url,
QString  comment 
) [pure virtual]

Add url as attachment with a user-defined comment.

Implemented in KMComposeWin.

virtual void MailComposerIface::setBody ( QString  body  )  [pure virtual]

Set message body.

Implemented in KMComposeWin.

virtual void MailComposerIface::addAttachment ( const QString &  name,
const QCString &  cte,
const QByteArray &  data,
const QCString &  type,
const QCString &  subType,
const QCString &  paramAttr,
const QString &  paramValue,
const QCString &  contDisp 
) [pure virtual]

Add attachment.

Parameters:
name Name of Attachment
cte Content Transfer Encoding
data Data to be attached
type MIME content type
subType MIME content sub type
paramAttr Attribute name of parameter of content type
paramValue Value of parameter of content type
contDisp Content disposition

Implemented in KMComposeWin.


The documentation for this class was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys