2 Copyright (c) 2009 Andras Mantia <[email protected]>
27 namespace Acl
35 map['l'] = Lookup;
36 map['r'] = Read;
37 map['s'] = KeepSeen;
38 map['w'] = Write;
39 map['i'] = Insert;
40 map['p'] = Post;
41 map['c'] = Create; //TODO: obsolete, keep it?
42 map['d'] = Delete; //TODO: obsolete, keep it?
43 map['k'] = CreateMailbox;
44 map['x'] = DeleteMailbox;
45 map['t'] = DeleteMessage;
46 map['e'] = Expunge;
47 map['a'] = Admin;
48 map['n'] = WriteShared;
49 map['0'] = Custom0;
50 map['1'] = Custom1;
51 map['2'] = Custom2;
52 map['3'] = Custom3;
53 map['4'] = Custom4;
54 map['5'] = Custom5;
55 map['6'] = Custom6;
56 map['7'] = Custom7;
57 map['8'] = Custom8;
58 map['9'] = Custom9;
61 QMap<char, Right> map;
71 Rights result;
93 QByteArray result;
97 result += globalRights->map.key((Right)right);
106 Rights normalized = rights;
120 Rights denormalized = normalizedRights(rights);
Obsolete as of RFC 4314, replaced by DeleteMessage and Expunge.
View and modify the access control list for the mailbox.
Mailbox is visible to LIST/LSUB commands, SUBSCRIBE mailbox.
Create new child mailboxes, or move a mailbox with this mailbox as the new parent.
Obsolete as of RFC 4314, replaced by CreateMailbox and DeleteMailbox.
Set or clear the \Seen flag on messages in the mailbox, and keep it across sessions.
Set or clear the \Deleted flag on messages in the mailbox.
KIMAP2_EXPORT QByteArray rightsToString(Rights rights)
Convert a set of rights into text format.
KIMAP2_EXPORT Rights normalizedRights(Rights rights)
Returns a rights mask that has no obsolete members anymore, i.e.
KIMAP2_EXPORT Rights denormalizedRights(Rights rights)
Returns a rights mask that contains both obsolete and new flags if one of them is set.
KIMAP2_EXPORT Rights rightsFromString(const QByteArray &string)
Convert the text form of a set of rights into a Rights bitflag.
Set or clear flags other than \Seen and \Deleted on messages in the mailbox.
Perform APPEND and COPY with the mailbox as the target.