[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Controlling KMail
From: Carsten Pfeiffer <carpdjih () cetus ! zrz ! TU-Berlin ! DE>
Date: 2000-04-04 8:09:55
[Download RAW message or body]
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?
Cheers,
Carsten Pfeiffer
--
http://www.geocities.com/SiliconValley/1632/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic