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

List:       kde-devel
Subject:    Re: VCal-ConDuit
From:       Herwin Jan Steehouwer <herwinjs () palet ! nl>
Date:       1998-07-15 15:43:14
[Download RAW message or body]



On Wed, 15 Jul 1998, Preston Brown wrote:

> 
> On Wed, 15 Jul 1998, Herwin Jan Steehouwer wrote:
> 
> > Hye !
> > 
> > I wanne rewrite the VCal-Conduit ( KPilot ) Dan Pilone and Preston Brown,
> > because it realy don't work. it don't work for my PalmIII and KOrganizer.
> > I have almost redesigned the palm->vcal, but ( also my question )
> > deleteVObject(VObject*) or clearVObject() totaly mess up my .cvs (
> > Korganizer ) file.. when a entry is deleted,  it flushed or breaks the
> > half of the file..
> 
> Basically you can't use deleteVObject while you are iterating over the
> list, I believe.  So some of the code that I wrote in there is broken.
> Here is what I propose:
> 
> Use the X-PILOTSTAT field (which has the identifier KPilotStat I believe,
> check out versit/vobject.h) so that when you want to delete something, you
> don't really delete it, but MARK it deleted (I suggest using a status of 3
> for deleted).  Then, when KOrganizer reads in entries, I'll skip over all
> of those that have an X-PILOTSTAT of 3.  How does that sound?

That sounds OK to me !

that will i also use for the ToDo-Conduit i want to write !

Tanx !!

Herwin Jan
> 
> ---
>   Preston Brown          
>   Red Hat Software, Inc. 
>   pbrown@redhat.com      
> 
> 

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

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