From kde-devel Wed Apr 05 18:23:16 2000 From: Sven Radej Date: Wed, 05 Apr 2000 18:23:16 +0000 To: kde-devel Subject: Re: Controlling KMail X-MARC-Message: https://marc.info/?l=kde-devel&m=95496147902764 On Tue, 04 Apr 2000, Carsten Pfeiffer wrote: >On Tue, Apr 04, 2000 at 09:57:41AM +1000, Don Sanders wrote: > >Hi, > >> I believe Sven has ported KMail over to using DCOP. I don't know whether the >> DCOP interface supports this feature (but Sven would). If it isn't supported >> feel free to implement it :-) > >class KMailIface : virtual public DCOPObject >{ > K_DCOP > >k_dcop: > virtual void checkMail() = 0; > virtual void openReader(KURL messageFile) = 0; > virtual int openComposer(QString to, QString cc, QString bcc, QString >subject, int hidden) = 0; > virtual int send(int composerId, int how) = 0; //0=default,1=now,2=later > virtual int addAttachment(int composerId, KURL url, > QString comment) = 0; > virtual int setBody (int composerId, QString body) = 0; > virtual int ready() = 0; //1=yes, 0=no >}; > >Looks good, doesn't it? :) I'm just wondering where to set the recipient >and subject etc. In the first lines of the body? No, in call to openComposer. Well, itīs far from finished. I thought itī woud be enought to use openComposer for that. And some of this stuff isnīt implemented yet (all you get is " called."). -- Sven Radej radej@kde.org KDE developer Visit http://www.kde.org