kmail
mailcomposerIface.h
Go to the documentation of this file.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,QString comment) = 0; 00030 virtual void setBody (QString body) = 0; 00043 virtual void addAttachment(const QString &name, 00044 const QCString &cte, 00045 const QByteArray &data, 00046 const QCString &type, 00047 const QCString &subType, 00048 const QCString ¶mAttr, 00049 const QString ¶mValue, 00050 const QCString &contDisp) = 0; 00051 }; 00052 00053 #endif