[Kde-pim] Using an EntityMimeTypeFilterModel to show Items only

Kevin Krammer krammer at kde.org
Sun Aug 26 02:14:42 BST 2012


Hi Marcus,

On Sunday, 2012-08-26, Marcus Harrison wrote:
> Hello everyone,
> I've started writing an E-mail client using Akonadi and I'm having trouble.
> I'm trying to configure a model that only contains E-mail items, not
> collections.

Depending on what effect you want to achieve, check
EntityTreeModel::setCollectionFetchStrategy() and value 
InvisibleCollectionFetch

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20120826/8dc5015c/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