kmail

mailcomposerIface.h

00001 #ifndef MAILCOMPOSERIFACE_H
00002 #define MAILCOMPOSERIFACE_H
00003 
00004 #include <dcopobject.h>
00005 #include <kurl.h>
00006 
00013 class MailComposerIface : virtual public DCOPObject
00014 {
00015     K_DCOP
00016   k_dcop:
00022     virtual void send(int how) = 0;
00026     virtual void addAttachment(KURL url,TQString comment) = 0;
00030     virtual void setBody (TQString body) = 0;
00043     virtual void addAttachment(const TQString &name,
00044                               const TQCString &cte,
00045                               const TQByteArray &data,
00046                               const TQCString &type,
00047                               const TQCString &subType,
00048                               const TQCString &paramAttr,
00049                               const TQString &paramValue,
00050                               const TQCString &contDisp) = 0;
00051 };
00052 
00053 #endif