Changeset View
Changeset View
Standalone View
Standalone View
src/uiserver/signencryptfilescommand.h
Context not available. | |||||
50 | enum Operation { | 50 | enum Operation { | ||
---|---|---|---|---|---|
51 | SignDisallowed = 0, | 51 | SignDisallowed = 0, | ||
52 | SignAllowed = 1, | 52 | SignAllowed = 1, | ||
53 | SignForced = 2, | 53 | SignSelected = 2, | ||
54 | 54 | | |||
55 | SignMask = SignAllowed | SignForced, | 55 | SignMask = SignAllowed | SignSelected, | ||
56 | 56 | | |||
57 | EncryptDisallowed = 0, | 57 | EncryptDisallowed = 0, | ||
58 | EncryptAllowed = 4, | 58 | EncryptAllowed = 4, | ||
59 | EncryptForced = 8, | 59 | EncryptSelected = 8, | ||
60 | 60 | | |||
61 | EncryptMask = EncryptAllowed | EncryptForced | 61 | EncryptMask = EncryptAllowed | EncryptSelected | ||
62 | }; | 62 | }; | ||
63 | 63 | | |||
64 | private: | 64 | private: | ||
65 | virtual unsigned int operation() const | 65 | virtual unsigned int operation() const | ||
66 | { | 66 | { | ||
67 | return SignForced | EncryptForced; | 67 | return SignSelected | EncryptSelected; | ||
68 | } | 68 | } | ||
69 | private: | 69 | private: | ||
70 | int doStart() Q_DECL_OVERRIDE; | 70 | int doStart() Q_DECL_OVERRIDE; | ||
Context not available. | |||||
98 | } | 98 | } | ||
99 | unsigned int operation() const Q_DECL_OVERRIDE | 99 | unsigned int operation() const Q_DECL_OVERRIDE | ||
100 | { | 100 | { | ||
101 | return SignAllowed | EncryptForced; | 101 | return SignAllowed | EncryptSelected; | ||
102 | } | 102 | } | ||
103 | }; | 103 | }; | ||
104 | 104 | | |||
Context not available. | |||||
111 | } | 111 | } | ||
112 | unsigned int operation() const Q_DECL_OVERRIDE | 112 | unsigned int operation() const Q_DECL_OVERRIDE | ||
113 | { | 113 | { | ||
114 | return SignForced | EncryptAllowed; | 114 | return SignSelected | EncryptAllowed; | ||
115 | } | 115 | } | ||
116 | }; | 116 | }; | ||
117 | 117 | | |||
Context not available. |