Kleo::DefaultKeyFilter

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
 
QString description () const override
 
TriState disabled () const
 
TriState expired () const
 
QColor fgColor () const override
 
QFont font () const
 
FontDescription fontDescription () const override
 
TriState hasAuthenticate () const
 
TriState hasCertify () const
 
TriState hasEncrypt () const
 
TriState hasSecret () const
 
TriState hasSign () 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
 
bool matches (const GpgME::UserID &userID, 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 setDescription (const QString &description)
 
void setDisabled (const TriState)
 
void setExpired (const TriState)
 
void setFgColor (const QColor &value)
 
void setFont (const QFont &value)
 
void setHasAuthenticate (const TriState)
 
void setHasCertify (const TriState)
 
void setHasEncrypt (const TriState)
 
void setHasSecret (const TriState)
 
void setHasSign (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.

Constructor & Destructor Documentation

◆ DefaultKeyFilter()

DefaultKeyFilter::DefaultKeyFilter ( )

Definition at line 86 of file defaultkeyfilter.cpp.

Member Function Documentation

◆ availableMatchContexts()

KeyFilter::MatchContexts DefaultKeyFilter::availableMatchContexts ( ) const
overridevirtual

Implements Kleo::KeyFilter.

Definition at line 574 of file defaultkeyfilter.cpp.

◆ bgColor()

QColor DefaultKeyFilter::bgColor ( ) const
overridevirtual

Implements Kleo::KeyFilter.

Definition at line 549 of file defaultkeyfilter.cpp.

◆ bold()

bool DefaultKeyFilter::bold ( ) const

Definition at line 589 of file defaultkeyfilter.cpp.

◆ canAuthenticate()

DefaultKeyFilter::TriState DefaultKeyFilter::canAuthenticate ( ) const

Definition at line 644 of file defaultkeyfilter.cpp.

◆ canCertify()

DefaultKeyFilter::TriState DefaultKeyFilter::canCertify ( ) const

Definition at line 639 of file defaultkeyfilter.cpp.

◆ canEncrypt()

DefaultKeyFilter::TriState DefaultKeyFilter::canEncrypt ( ) const

Definition at line 629 of file defaultkeyfilter.cpp.

◆ canSign()

DefaultKeyFilter::TriState DefaultKeyFilter::canSign ( ) const

Definition at line 634 of file defaultkeyfilter.cpp.

◆ cardKey()

DefaultKeyFilter::TriState DefaultKeyFilter::cardKey ( ) const

Definition at line 674 of file defaultkeyfilter.cpp.

◆ description()

QString DefaultKeyFilter::description ( ) const
overridevirtual

Implements Kleo::KeyFilter.

Definition at line 729 of file defaultkeyfilter.cpp.

◆ disabled()

DefaultKeyFilter::TriState DefaultKeyFilter::disabled ( ) const

Definition at line 619 of file defaultkeyfilter.cpp.

◆ expired()

DefaultKeyFilter::TriState DefaultKeyFilter::expired ( ) const

Definition at line 609 of file defaultkeyfilter.cpp.

◆ fgColor()

QColor DefaultKeyFilter::fgColor ( ) const
overridevirtual

Implements Kleo::KeyFilter.

Definition at line 544 of file defaultkeyfilter.cpp.

◆ font()

QFont DefaultKeyFilter::font ( ) const

Definition at line 569 of file defaultkeyfilter.cpp.

◆ fontDescription()

KeyFilter::FontDescription DefaultKeyFilter::fontDescription ( ) const
overridevirtual

Implements Kleo::KeyFilter.

Definition at line 350 of file defaultkeyfilter.cpp.

◆ hasAuthenticate()

DefaultKeyFilter::TriState DefaultKeyFilter::hasAuthenticate ( ) const

Definition at line 664 of file defaultkeyfilter.cpp.

◆ hasCertify()

DefaultKeyFilter::TriState DefaultKeyFilter::hasCertify ( ) const

Definition at line 659 of file defaultkeyfilter.cpp.

◆ hasEncrypt()

DefaultKeyFilter::TriState DefaultKeyFilter::hasEncrypt ( ) const

Definition at line 649 of file defaultkeyfilter.cpp.

◆ hasSecret()

DefaultKeyFilter::TriState DefaultKeyFilter::hasSecret ( ) const

Definition at line 679 of file defaultkeyfilter.cpp.

◆ hasSign()

DefaultKeyFilter::TriState DefaultKeyFilter::hasSign ( ) const

Definition at line 654 of file defaultkeyfilter.cpp.

◆ icon()

QString DefaultKeyFilter::icon ( ) const
overridevirtual

Implements Kleo::KeyFilter.

Definition at line 559 of file defaultkeyfilter.cpp.

◆ id()

QString DefaultKeyFilter::id ( ) const
overridevirtual

Implements Kleo::KeyFilter.

Definition at line 564 of file defaultkeyfilter.cpp.

◆ invalid()

DefaultKeyFilter::TriState DefaultKeyFilter::invalid ( ) const

Definition at line 614 of file defaultkeyfilter.cpp.

◆ isBad()

DefaultKeyFilter::TriState DefaultKeyFilter::isBad ( ) const

Definition at line 719 of file defaultkeyfilter.cpp.

◆ isDeVS()

DefaultKeyFilter::TriState DefaultKeyFilter::isDeVS ( ) const

Definition at line 714 of file defaultkeyfilter.cpp.

◆ isOpenPGP()

DefaultKeyFilter::TriState DefaultKeyFilter::isOpenPGP ( ) const

Definition at line 684 of file defaultkeyfilter.cpp.

◆ italic()

bool DefaultKeyFilter::italic ( ) const

Definition at line 584 of file defaultkeyfilter.cpp.

◆ matches() [1/2]

bool Kleo::DefaultKeyFilter::matches ( const GpgME::Key & key,
MatchContexts ctx ) const
overridevirtual

Implements Kleo::KeyFilter.

◆ matches() [2/2]

bool Kleo::DefaultKeyFilter::matches ( const GpgME::UserID & userID,
MatchContexts ctx ) const
overridevirtual

Implements Kleo::KeyFilter.

◆ name()

QString DefaultKeyFilter::name ( ) const
overridevirtual

Implements Kleo::KeyFilter.

Definition at line 554 of file defaultkeyfilter.cpp.

◆ ownerTrust()

DefaultKeyFilter::LevelState DefaultKeyFilter::ownerTrust ( ) const

Definition at line 694 of file defaultkeyfilter.cpp.

◆ ownerTrustReferenceLevel()

GpgME::Key::OwnerTrust DefaultKeyFilter::ownerTrustReferenceLevel ( ) const

Definition at line 699 of file defaultkeyfilter.cpp.

◆ qualified()

DefaultKeyFilter::TriState DefaultKeyFilter::qualified ( ) const

Definition at line 669 of file defaultkeyfilter.cpp.

◆ revoked()

DefaultKeyFilter::TriState DefaultKeyFilter::revoked ( ) const

Definition at line 604 of file defaultkeyfilter.cpp.

◆ root()

DefaultKeyFilter::TriState DefaultKeyFilter::root ( ) const

Definition at line 624 of file defaultkeyfilter.cpp.

◆ setBgColor()

void DefaultKeyFilter::setBgColor ( const QColor & value)

Definition at line 364 of file defaultkeyfilter.cpp.

◆ setBold()

void DefaultKeyFilter::setBold ( bool value)

Definition at line 399 of file defaultkeyfilter.cpp.

◆ setCanAuthenticate()

void DefaultKeyFilter::setCanAuthenticate ( const TriState value)

Definition at line 459 of file defaultkeyfilter.cpp.

◆ setCanCertify()

void DefaultKeyFilter::setCanCertify ( const TriState value)

Definition at line 454 of file defaultkeyfilter.cpp.

◆ setCanEncrypt()

void DefaultKeyFilter::setCanEncrypt ( const TriState value)

Definition at line 444 of file defaultkeyfilter.cpp.

◆ setCanSign()

void DefaultKeyFilter::setCanSign ( const TriState value)

Definition at line 449 of file defaultkeyfilter.cpp.

◆ setCardKey()

void DefaultKeyFilter::setCardKey ( const TriState value)

Definition at line 489 of file defaultkeyfilter.cpp.

◆ setDescription()

void DefaultKeyFilter::setDescription ( const QString & description)

Definition at line 734 of file defaultkeyfilter.cpp.

◆ setDisabled()

void DefaultKeyFilter::setDisabled ( const TriState value)

Definition at line 434 of file defaultkeyfilter.cpp.

◆ setExpired()

void DefaultKeyFilter::setExpired ( const TriState value)

Definition at line 424 of file defaultkeyfilter.cpp.

◆ setFgColor()

void DefaultKeyFilter::setFgColor ( const QColor & value)

Definition at line 359 of file defaultkeyfilter.cpp.

◆ setFont()

void DefaultKeyFilter::setFont ( const QFont & value)

Definition at line 414 of file defaultkeyfilter.cpp.

◆ setHasAuthenticate()

void DefaultKeyFilter::setHasAuthenticate ( const TriState value)

Definition at line 479 of file defaultkeyfilter.cpp.

◆ setHasCertify()

void DefaultKeyFilter::setHasCertify ( const TriState value)

Definition at line 474 of file defaultkeyfilter.cpp.

◆ setHasEncrypt()

void DefaultKeyFilter::setHasEncrypt ( const TriState value)

Definition at line 464 of file defaultkeyfilter.cpp.

◆ setHasSecret()

void DefaultKeyFilter::setHasSecret ( const TriState value)

Definition at line 494 of file defaultkeyfilter.cpp.

◆ setHasSign()

void DefaultKeyFilter::setHasSign ( const TriState value)

Definition at line 469 of file defaultkeyfilter.cpp.

◆ setIcon()

void DefaultKeyFilter::setIcon ( const QString & value)

Definition at line 374 of file defaultkeyfilter.cpp.

◆ setId()

void DefaultKeyFilter::setId ( const QString & value)

Definition at line 379 of file defaultkeyfilter.cpp.

◆ setInvalid()

void DefaultKeyFilter::setInvalid ( const TriState value)

Definition at line 429 of file defaultkeyfilter.cpp.

◆ setIsBad()

void DefaultKeyFilter::setIsBad ( const TriState value)

Definition at line 534 of file defaultkeyfilter.cpp.

◆ setIsDeVs()

void DefaultKeyFilter::setIsDeVs ( const TriState value)

Definition at line 529 of file defaultkeyfilter.cpp.

◆ setIsOpenPGP()

void DefaultKeyFilter::setIsOpenPGP ( const TriState value)

Definition at line 499 of file defaultkeyfilter.cpp.

◆ setItalic()

void DefaultKeyFilter::setItalic ( bool value)

Definition at line 394 of file defaultkeyfilter.cpp.

◆ setMatchContexts()

void DefaultKeyFilter::setMatchContexts ( KeyFilter::MatchContexts value)

Definition at line 384 of file defaultkeyfilter.cpp.

◆ setName()

void DefaultKeyFilter::setName ( const QString & value)

Definition at line 369 of file defaultkeyfilter.cpp.

◆ setOwnerTrust()

void DefaultKeyFilter::setOwnerTrust ( const LevelState value)

Definition at line 509 of file defaultkeyfilter.cpp.

◆ setOwnerTrustReferenceLevel()

void DefaultKeyFilter::setOwnerTrustReferenceLevel ( const GpgME::Key::OwnerTrust value)

Definition at line 514 of file defaultkeyfilter.cpp.

◆ setQualified()

void DefaultKeyFilter::setQualified ( const TriState value)

Definition at line 484 of file defaultkeyfilter.cpp.

◆ setRevoked()

void DefaultKeyFilter::setRevoked ( const TriState value)

Definition at line 419 of file defaultkeyfilter.cpp.

◆ setRoot()

void DefaultKeyFilter::setRoot ( const TriState value)

Definition at line 439 of file defaultkeyfilter.cpp.

◆ setSpecificity()

void DefaultKeyFilter::setSpecificity ( unsigned int value)

Definition at line 389 of file defaultkeyfilter.cpp.

◆ setStrikeOut()

void DefaultKeyFilter::setStrikeOut ( bool value)

Definition at line 404 of file defaultkeyfilter.cpp.

◆ setUseFullFont()

void DefaultKeyFilter::setUseFullFont ( bool value)

Definition at line 409 of file defaultkeyfilter.cpp.

◆ 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 539 of file defaultkeyfilter.cpp.

◆ setValidity()

void DefaultKeyFilter::setValidity ( const LevelState value)

Definition at line 519 of file defaultkeyfilter.cpp.

◆ setValidityReferenceLevel()

void DefaultKeyFilter::setValidityReferenceLevel ( const GpgME::UserID::Validity value)

Definition at line 524 of file defaultkeyfilter.cpp.

◆ setWasValidated()

void DefaultKeyFilter::setWasValidated ( const TriState value)

Definition at line 504 of file defaultkeyfilter.cpp.

◆ specificity()

unsigned int DefaultKeyFilter::specificity ( ) const
overridevirtual

Implements Kleo::KeyFilter.

Definition at line 579 of file defaultkeyfilter.cpp.

◆ strikeOut()

bool DefaultKeyFilter::strikeOut ( ) const

Definition at line 594 of file defaultkeyfilter.cpp.

◆ useFullFont()

bool DefaultKeyFilter::useFullFont ( ) const

Definition at line 599 of file defaultkeyfilter.cpp.

◆ validIfSMIME()

DefaultKeyFilter::TriState DefaultKeyFilter::validIfSMIME ( ) const

Definition at line 724 of file defaultkeyfilter.cpp.

◆ validity()

DefaultKeyFilter::LevelState DefaultKeyFilter::validity ( ) const

Definition at line 704 of file defaultkeyfilter.cpp.

◆ validityReferenceLevel()

GpgME::UserID::Validity DefaultKeyFilter::validityReferenceLevel ( ) const

Definition at line 709 of file defaultkeyfilter.cpp.

◆ wasValidated()

DefaultKeyFilter::TriState DefaultKeyFilter::wasValidated ( ) const

Definition at line 689 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-2024 The KDE developers.
Generated on Fri Jul 12 2024 11:51:37 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.