kmail
MailComposerIface Class Reference
DCOP interface for mail composer window. More...
#include <mailcomposerIface.h>
Inherits DCOPObject.
Inherited by KMComposeWin.
DCOP Member Functions | |
virtual void | send (int how)=0 |
virtual void | addAttachment (KURL url, TQString comment)=0 |
virtual void | setBody (TQString body)=0 |
virtual void | addAttachment (const TQString &name, const TQCString &cte, const TQByteArray &data, const TQCString &type, const TQCString &subType, const TQCString ¶mAttr, const TQString ¶mValue, const TQCString &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, | |
TQString | comment | |||
) | [pure virtual] |
Add url as attachment with a user-defined comment.
virtual void MailComposerIface::setBody | ( | TQString | body | ) | [pure virtual] |
Set message body.
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:
-
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: