[Kde-pim] How to create a virtual/search folder programmatically for address books?

Shaheed Haque srhaque at theiet.org
Tue Feb 28 23:08:04 GMT 2012


Thanks Peter, I'll give that a spin.

On 28 February 2012 15:59, Peter Grasch <grasch at simon-listens.org> wrote:
> Am Dienstag, 28. Februar 2012, 15:45:46 schrieb Shaheed Haque:
>> Hi all,
>>
>> Can some kind soul point out any docs (or code) that creates  a
>> virtual/search folder programmatically?
>
> simontouch does that to display mails of a given user (mail address):
>
> https://projects.kde.org/projects/playground/accessibility/simon-
> tools/repository/revisions/master/entry/simon-touch/communicationcentral.cpp
> (have a look at messageCollectionSearchJobFinished())
>
> This creates persistent search folders that will be automatically updated.
>
> The code is more/less reverse engineered out of mailcommons SearchRule /
> SearchPattern so all credit goes to those guys of course.
>
> Best regards,
> Peter
> _______________________________________________
> 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/
_______________________________________________
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