kmail

mailcomposerIface.h
1 #ifndef MAILCOMPOSERIFACE_H
2 #define MAILCOMPOSERIFACE_H
3 
4 #include <dcopobject.h>
5 #include <kurl.h>
6 
13 class MailComposerIface : virtual public DCOPObject
14 {
15  K_DCOP
16 
17  public: MailComposerIface() : DCOPObject("MailComposerIface") {}
18 
19  k_dcop:
25  virtual void send(int how) = 0;
29  virtual void addAttachment(KURL url,TQString comment) = 0;
33  virtual void setBody (TQString body) = 0;
46  virtual void addAttachment(const TQString &name,
47  const TQCString &cte,
48  const TQByteArray &data,
49  const TQCString &type,
50  const TQCString &subType,
51  const TQCString &paramAttr,
52  const TQString &paramValue,
53  const TQCString &contDisp) = 0;
54 };
55 
56 #endif
DCOP interface for mail composer window.
virtual void setBody(TQString body)=0
Set message body.
virtual void addAttachment(KURL url, TQString comment)=0
Add url as attachment with a user-defined comment.
virtual void 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)=0
Add attachment.
virtual void send(int how)=0
Send message.