Searched refs:aclAttribute (Results 1 – 5 of 5) sorted by relevance
50 auto aclAttribute = m_collection.attribute<Akonadi::ImapAclAttribute>(); in doStart() local52 if (aclAttribute == nullptr) { in doStart()55 KIMAP::Acl::Rights imapRights = aclAttribute->rights().value(userName().toUtf8()); in doStart()149 auto aclAttribute = c.attribute<Akonadi::ImapAclAttribute>(); in doStart() local151 if (aclAttribute) { in doStart()152 const QMap<QByteArray, KIMAP::Acl::Rights> rights = aclAttribute->rights(); in doStart()153 const QMap<QByteArray, KIMAP::Acl::Rights> oldRights = aclAttribute->oldRights(); in doStart()
140 …auto const aclAttribute = m_collection.attribute<Akonadi::ImapAclAttribute>(Akonadi::Collection::A… in onGetAclDone() local141 const QMap<QByteArray, KIMAP::Acl::Rights> oldRights = aclAttribute->rights(); in onGetAclDone()143 aclAttribute->setRights(acl->allRights()); in onGetAclDone()189 …auto aclAttribute = m_collection.attribute<Akonadi::ImapAclAttribute>(Akonadi::Collection::AddIfMi… in onRightsReceived() local190 const KIMAP::Acl::Rights oldRights = aclAttribute->myRights(); in onRightsReceived()192 aclAttribute->setMyRights(imapRights); in onRightsReceived()
532 const auto aclAttribute = col.attribute<Akonadi::ImapAclAttribute>(); in myRights() local533 if (aclAttribute) { in myRights()535 if (aclAttribute->myRights() != KIMAP::Acl::None) { in myRights()536 return aclAttribute->myRights(); in myRights()539 return aclAttribute->rights().value(userName().toUtf8()); in myRights()
103 auto aclAttribute = new Akonadi::ImapAclAttribute(); in shouldCollectionRetrieveMetadata_data() local104 aclAttribute->setRights(rightsMap); in shouldCollectionRetrieveMetadata_data()105 parentCollection.addAttribute(aclAttribute); in shouldCollectionRetrieveMetadata_data()
454 …auto aclAttribute = collection.attribute<Akonadi::ImapAclAttribute>(Akonadi::Collection::AddIfMiss… in applyRights() local455 const KIMAP::Acl::Rights oldRights = aclAttribute->myRights(); in applyRights()457 aclAttribute->setMyRights(imapRights); in applyRights()