Home
last modified time | relevance | path

Searched refs:aclAttribute (Results 1 – 5 of 5) sorted by relevance

/dports/deskutils/kdepim-runtime/kdepim-runtime-21.12.3/resources/imap/
H A Dchangecollectiontask.cpp50 auto aclAttribute = m_collection.attribute<Akonadi::ImapAclAttribute>(); in doStart() local
52 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() local
151 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()
H A Dretrievecollectionmetadatatask.cpp140 …auto const aclAttribute = m_collection.attribute<Akonadi::ImapAclAttribute>(Akonadi::Collection::A… in onGetAclDone() local
141 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() local
190 const KIMAP::Acl::Rights oldRights = aclAttribute->myRights(); in onRightsReceived()
192 aclAttribute->setMyRights(imapRights); in onRightsReceived()
H A Dresourcetask.cpp532 const auto aclAttribute = col.attribute<Akonadi::ImapAclAttribute>(); in myRights() local
533 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()
/dports/deskutils/kdepim-runtime/kdepim-runtime-21.12.3/resources/imap/autotests/
H A Dtestretrievecollectionmetadatatask.cpp103 auto aclAttribute = new Akonadi::ImapAclAttribute(); in shouldCollectionRetrieveMetadata_data() local
104 aclAttribute->setRights(rightsMap); in shouldCollectionRetrieveMetadata_data()
105 parentCollection.addAttribute(aclAttribute); in shouldCollectionRetrieveMetadata_data()
/dports/deskutils/kdepim-runtime/kdepim-runtime-21.12.3/resources/kolab/
H A Dkolabretrievecollectionstask.cpp454 …auto aclAttribute = collection.attribute<Akonadi::ImapAclAttribute>(Akonadi::Collection::AddIfMiss… in applyRights() local
455 const KIMAP::Acl::Rights oldRights = aclAttribute->myRights(); in applyRights()
457 aclAttribute->setMyRights(imapRights); in applyRights()