kmail Library API Documentation

MailComposerIface Class Reference

DCOP interface for mail composer window. More...

#include <mailcomposerIface.h>

List of all members.

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


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

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

Send message.

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

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

Add url as attachment with a user-defined comment.

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

Set message body.

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


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for kmail Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Dec 21 14:25:07 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003