[Kde-pim] Availability of attributes

Christian Mollekopf chrigi_1 at fastmail.fm
Mon Mar 7 07:37:33 GMT 2011


Hi,

I need to know in the trash job, if an item/collection already has an 
attribute or not. I know that I have to fetch the attribute if I need the 
content of the attribute, but I'm not sure if I need to fetch it as well if I 
just need to know if the entity has the attribute using:

item.hasAttribute<Akonadi::EntityDeletedAttribute>()

?

Cheers,

Chris
_______________________________________________
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