Libkleo
16#include "kleo_export.h"
22#include <gpgme++/key.h>
30class KLEO_EXPORT DefaultKeyFilter :
public KeyFilter
34 ~DefaultKeyFilter()
override;
48 LevelDoesNotMatter = 0,
56 bool matches(
const GpgME::Key &key, MatchContexts ctx)
const override;
57 bool matches(
const GpgME::UserID &userID, MatchContexts ctx)
const override;
59 unsigned int specificity()
const override;
60 void setSpecificity(
unsigned int value);
62 void setId(
const QString &value);
63 KeyFilter::MatchContexts availableMatchContexts()
const override;
64 void setMatchContexts(KeyFilter::MatchContexts value);
66 QColor fgColor()
const override;
67 void setFgColor(
const QColor &value);
69 QColor bgColor()
const override;
70 void setBgColor(
const QColor &value);
72 FontDescription fontDescription()
const override;
74 void setName(
const QString &value);
76 void setIcon(
const QString &value);
78 void setFont(
const QFont &value);
79 QString description()
const override;
80 void setDescription(
const QString &description);
82 TriState revoked()
const;
83 TriState expired()
const;
84 TriState invalid()
const;
85 TriState disabled()
const;
86 TriState root()
const;
87 TriState canEncrypt()
const;
88 TriState canSign()
const;
89 TriState canCertify()
const;
90 TriState canAuthenticate()
const;
91 TriState hasEncrypt()
const;
92 TriState hasSign()
const;
93 TriState hasCertify()
const;
94 TriState hasAuthenticate()
const;
95 TriState qualified()
const;
96 TriState cardKey()
const;
97 TriState hasSecret()
const;
98 TriState isOpenPGP()
const;
99 TriState wasValidated()
const;
100 TriState isDeVS()
const;
101 TriState isBad()
const;
103 LevelState ownerTrust()
const;
104 GpgME::Key::OwnerTrust ownerTrustReferenceLevel()
const;
106 LevelState validity()
const;
107 GpgME::UserID::Validity validityReferenceLevel()
const;
110 bool strikeOut()
const;
111 bool useFullFont()
const;
113 void setRevoked(
const TriState);
114 void setExpired(
const TriState);
115 void setInvalid(
const TriState);
116 void setDisabled(
const TriState);
117 void setRoot(
const TriState);
118 void setCanEncrypt(
const TriState);
119 void setCanSign(
const TriState);
120 void setCanCertify(
const TriState);
121 void setCanAuthenticate(
const TriState);
122 void setHasEncrypt(
const TriState);
123 void setHasSign(
const TriState);
124 void setHasCertify(
const TriState);
125 void setHasAuthenticate(
const TriState);
126 void setQualified(
const TriState);
127 void setCardKey(
const TriState);
128 void setHasSecret(
const TriState);
129 void setIsOpenPGP(
const TriState);
130 void setWasValidated(
const TriState);
131 void setIsDeVs(
const TriState);
132 void setIsBad(
const TriState);
137 void setValidIfSMIME(TriState value);
138 TriState validIfSMIME()
const;
140 void setOwnerTrust(
const LevelState);
141 void setOwnerTrustReferenceLevel(
const GpgME::Key::OwnerTrust);
143 void setValidity(
const LevelState);
144 void setValidityReferenceLevel(
const GpgME::UserID::Validity);
146 void setItalic(
bool value);
147 void setBold(
bool value);
148 void setStrikeOut(
bool value);
149 void setUseFullFont(
bool value);
153 const std::unique_ptr<Private> d;
TriState
Used for bool checks.
LevelState
Used for level checks.
An abstract base class key filters.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:11 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.