Changeset View
Changeset View
Standalone View
Standalone View
src/utils/formatting.h
Show First 20 Lines • Show All 131 Lines • ▼ Show 20 Line(s) | |||||
132 | KLEO_EXPORT QString summaryLine(const GpgME::Key &key); | 132 | KLEO_EXPORT QString summaryLine(const GpgME::Key &key); | ||
133 | 133 | | |||
134 | KLEO_EXPORT QIcon iconForUid(const GpgME::UserID &uid); | 134 | KLEO_EXPORT QIcon iconForUid(const GpgME::UserID &uid); | ||
135 | 135 | | |||
136 | /* The compliance mode of the gnupg system. Empty if compliance | 136 | /* The compliance mode of the gnupg system. Empty if compliance | ||
137 | * mode is not set. */ | 137 | * mode is not set. */ | ||
138 | KLEO_EXPORT QString complianceMode(); | 138 | KLEO_EXPORT QString complianceMode(); | ||
139 | 139 | | |||
140 | /* Is the given key in compliance with CO_DE_VS? */ | ||||
141 | KLEO_EXPORT bool isKeyDeVs(const GpgME::Key &key); | ||||
142 | | ||||
140 | /* A sentence if the key confirms to the current compliance mode */ | 143 | /* A sentence if the key confirms to the current compliance mode */ | ||
141 | KLEO_EXPORT QString complianceStringForKey(const GpgME::Key &key); | 144 | KLEO_EXPORT QString complianceStringForKey(const GpgME::Key &key); | ||
142 | } | 145 | } | ||
143 | } | 146 | } | ||
144 | 147 | | |||
145 | #endif /* __KLEOPATRA_UTILS_FORMATTING_H__ */ | 148 | #endif /* __KLEOPATRA_UTILS_FORMATTING_H__ */ |