Search for usage in LXR

Kleo::DefaultKeyFilter Class Reference

#include <defaultkeyfilter.h>

Inheritance diagram for Kleo::DefaultKeyFilter:

Public Types

enum  LevelState {
  LevelDoesNotMatter = 0, Is = 1, IsNot = 2, IsAtLeast = 3,
  IsAtMost = 4
enum  TriState { DoesNotMatter = 0, Set = 1, NotSet = 2 }
- Public Types inherited from Kleo::KeyFilter
enum  MatchContext { NoMatchContext = 0x0, Appearance = 0x1, Filtering = 0x2, AnyMatchContext = Appearance | Filtering }
typedef QFlags< MatchContext > MatchContexts

Public Member Functions

KeyFilter::MatchContexts availableMatchContexts () const override
QColor bgColor () const override
bool bold () const
TriState canAuthenticate () const
TriState canCertify () const
TriState canEncrypt () const
TriState canSign () const
TriState cardKey () const
TriState disabled () const
TriState expired () const
QColor fgColor () const override
QFont font () const
FontDescription fontDescription () const override
TriState hasSecret () const
QString icon () const override
QString id () const override
TriState invalid () const
TriState isBad () const
TriState isDeVS () const
TriState isOpenPGP () const
bool italic () const
bool matches (const GpgME::Key &key, MatchContexts ctx) const override
QString name () const override
LevelState ownerTrust () const
GpgME::Key::OwnerTrust ownerTrustReferenceLevel () const
TriState qualified () const
TriState revoked () const
TriState root () const
void setBgColor (const QColor &value)
void setBold (bool value)
void setCanAuthenticate (const TriState)
void setCanCertify (const TriState)
void setCanEncrypt (const TriState)
void setCanSign (const TriState)
void setCardKey (const TriState)
void setDisabled (const TriState)
void setExpired (const TriState)
void setFgColor (const QColor &value)
void setFont (const QFont &value)
void setHasSecret (const TriState)
void setIcon (const QString &value)
void setId (const QString &value)
void setInvalid (const TriState)
void setIsBad (const TriState)
void setIsDeVs (const TriState)
void setIsOpenPGP (const TriState)
void setItalic (bool value)
void setMatchContexts (KeyFilter::MatchContexts value)
void setName (const QString &value)
void setOwnerTrust (const LevelState)
void setOwnerTrustReferenceLevel (const GpgME::Key::OwnerTrust)
void setQualified (const TriState)
void setRevoked (const TriState)
void setRoot (const TriState)
void setSpecificity (unsigned int value)
void setStrikeOut (bool value)
void setUseFullFont (bool value)
void setValidIfSMIME (TriState value)
void setValidity (const LevelState)
void setValidityReferenceLevel (const GpgME::UserID::Validity)
void setWasValidated (const TriState)
unsigned int specificity () const override
bool strikeOut () const
bool useFullFont () const
TriState validIfSMIME () const
LevelState validity () const
GpgME::UserID::Validity validityReferenceLevel () const
TriState wasValidated () const

Detailed Description

Default implementation of key filter class.

Definition at line 30 of file defaultkeyfilter.h.

Member Enumeration Documentation

◆ LevelState

Used for level checks.

Definition at line 46 of file defaultkeyfilter.h.

◆ TriState

Used for bool checks.

Definition at line 37 of file defaultkeyfilter.h.

Member Function Documentation

◆ setValidIfSMIME()

void DefaultKeyFilter::setValidIfSMIME ( DefaultKeyFilter::TriState  value)

If value is Set, then invalid S/MIME certificates do not match.

If value is NotSet, then valid S/MIME certificates do not match.

Definition at line 358 of file defaultkeyfilter.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sun Dec 4 2022 04:13:20 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.