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 00017 public: MailComposerIface() : DCOPObject("MailComposerIface") {} 00018 00019 k_dcop: 00025 virtual void send(int how) = 0; 00029 virtual void addAttachment(KURL url,TQString comment) = 0; 00033 virtual void setBody (TQString body) = 0; 00046 virtual void addAttachment(const TQString &name, 00047 const TQCString &cte, 00048 const TQByteArray &data, 00049 const TQCString &type, 00050 const TQCString &subType, 00051 const TQCString ¶mAttr, 00052 const TQString ¶mValue, 00053 const TQCString &contDisp) = 0; 00054 }; 00055 00056 #endif