[Kde-pim] libakonadi-kde API questions

Brad Hards bradh at frogmouth.net
Sat Mar 29 21:26:31 GMT 2008


On Sunday 30 March 2008 03:33:42 am Volker Krause wrote:
> > 4) The Monitor has the methods
> > 'monitorItem/Collection/Resource/MimeType/All()' and we decided to add
> > the methods 'unmonitorItem/...()'.
> >    However the word 'unmonitor' doesn't exists, so we should come up
> >    with something else. Aaron said that 'ignore' would be the
> >    counterpart of 'monitor', however ignoreItem() could be misleading
> >    here. Another propose was: monitorItem( Item, bool = true ).
> >    What do you think?
>
> Just for the record: IRC discussion earlier today resulted in
> setFooMonitored( const Foo &foo, bool = true ) as suggested by Till.
Should the bool argument be an enum instead (Monitored, NotMonitored), to 
match the Qt convention?

Brad


_______________________________________________
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