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

List:       kde-pim
Subject:    [Kde-pim] Journal replacement trickiness
From:       Mike Arthur <mike () mikearthur ! co ! uk>
Date:       2008-07-22 16:59:40
Message-ID: 200807221759.40644.mike () mikearthur ! co ! uk
[Download RAW message or body]

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@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

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