[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Controlling KMail
From:       Sven Radej <sven () lisa ! exp ! univie ! ac ! at>
Date:       2000-04-05 18:23:16
[Download RAW message or body]

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
"<function name> called.").
-- 
Sven Radej      radej@kde.org
KDE developer   Visit http://www.kde.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic