[Kde-pim] Initializing IndexPolicyAttribute

Will Stephenson wstephenson at kde.org
Mon Dec 5 09:35:30 GMT 2011


On Sunday 04 December 2011 19:59:56 Kevin Krammer wrote:
> On Sunday, 2011-12-04, Andras Mantia wrote:
> > Kevin Krammer wrote:
> > > Can you elaborate on this? I don't see any special mail collections
> > > use
> > > in the patch.
> > > 
> > > Do you mean that for whatever reason the collection for the a
> > > special
> > > IMAP folder is missing the respective attribute?
> > 
> > What I mean is that Inbox,Sent,Trash inside an IMAP resource is not
> > marked as special collection. You can look at the attributes of the
> > Inbox folder in akonadiconsole.
> > So Akonadi::SpecialMailCollections::self()->defaultCollection(
> > Akonadi::SpecialMailCollections::Inbox ); will return only the main
> > Inbox
> > for the local folder.
> > As I see it is possible to register multiple collection as special ones,
> > but this is not done atm.
> 
> I see.
> Then we have to find a way to correctly set the special collections
> attribute.
> 
> I guess the IMAP resource could always set the Inbox folder as Inbox, the
> code handling identities should probably do the others.

What is the definition of a special collection?  I infer that the local 
folders are there as a a set of collections with roles that are necessary to 
KMail running, but is that all?  I see that Constantin Berzan wrote the 
specialcollections code as part of a GSoC but don't see any high level 
documentation for it.

Will


_______________________________________________
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