[Kde-pim] RR: Add additional parameter to EntityTreeModel::entityData()

Tobias Koenig tokoe at kde.org
Thu Dec 17 05:07:53 GMT 2009


On Wed, Dec 16, 2009 at 10:35:14PM +0000, David Jarvie wrote:
> On Wednesday 16 Dec 2009 19:54:18 Tobias Koenig wrote:
Hej David,

> > What's wrong with item.parentCollection()?
> 
> I hadn't spotted that method. But what if an item is in virtual
> collections as well - I need to know which collection is its parent in the model.
Why do you need to know that? What is your exact usecase in KAlarm?

Ciao,
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20091217/00f2a34d/attachment.sig>
-------------- next part --------------
_______________________________________________
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