[Kde-pim] Journal replacement trickiness

Mike Arthur mike at mikearthur.co.uk
Tue Jul 22 17:59:40 BST 2008


Hey guys,
I've found an illusive bug in my blog kresource I'm trying to fix tonight.

I've created a KCal::Journal locally which is then converted into another 
object (KBlog::BlogPost) and sent to a server then the slot gives me back my 
server object (KBlog::BlogPost) which I can convert into a KCal::Journal and 
all is fine except the UID is different from the KOrganizer created 
KCal::Journal so I'm wondering what I should be doing.

I guess it's one of:
a) delete the old KCal::Journal and add the "new" one
b) set the old KCal::Journal's uid to that of the new one
c) something else

I've tried a) and b) but a) gave me a segfault (even when using deleteJournal 
and emitting resourceChanged) and b) duplicated the KCal::Journal.

Any ideas?
-- 
Cheers,
Mike Arthur
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list