[Kde-pim] Re: KCalCore + Observers

David Jarvie djarvie at kde.org
Tue May 3 09:58:51 BST 2011


On Tue, May 3, 2011 8:12 am, Patrick Ohly wrote:
> The disadvantage is that the observer classes can be used in apps which
> do not use QObject.
>
> A possible compromise is this:
>       * Switch libkcalcore to the signal/slot version of the API,
>         removing the register/removeObserver() calls and these Observer
>         base classes. Requires adding QObject as base class of some
>         classes (ReccurenceRule).

Basing classes on QObject would make them unable to be copied, which would
break a lot of code.

-- 
David Jarvie.
KDE developer.
KAlarm author - http://www.astrojar.org.uk/kalarm

_______________________________________________
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