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
 
- Public Member Functions inherited from Kleo::KeyFilter

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

Member Function Documentation

◆ availableMatchContexts()

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

Implements Kleo::KeyFilter.

Definition at line 552 of file defaultkeyfilter.cpp.

◆ bgColor()

QColor DefaultKeyFilter::bgColor ( ) const
overridevirtual

Implements Kleo::KeyFilter.

Definition at line 527 of file defaultkeyfilter.cpp.

◆ bold()

bool DefaultKeyFilter::bold ( ) const

Definition at line 567 of file defaultkeyfilter.cpp.

◆ canAuthenticate()

DefaultKeyFilter::TriState DefaultKeyFilter::canAuthenticate ( ) const

Definition at line 622 of file defaultkeyfilter.cpp.

◆ canCertify()

DefaultKeyFilter::TriState DefaultKeyFilter::canCertify ( ) const

Definition at line 617 of file defaultkeyfilter.cpp.

◆ canEncrypt()

DefaultKeyFilter::TriState DefaultKeyFilter::canEncrypt ( ) const

Definition at line 607 of file defaultkeyfilter.cpp.

◆ canSign()

DefaultKeyFilter::TriState DefaultKeyFilter::canSign ( ) const

Definition at line 612 of file defaultkeyfilter.cpp.

◆ cardKey()

DefaultKeyFilter::TriState DefaultKeyFilter::cardKey ( ) const

Definition at line 652 of file defaultkeyfilter.cpp.

◆ description()

QString DefaultKeyFilter::description ( ) const
overridevirtual

Implements Kleo::KeyFilter.

Definition at line 707 of file defaultkeyfilter.cpp.

◆ disabled()

DefaultKeyFilter::TriState DefaultKeyFilter::disabled ( ) const

Definition at line 597 of file defaultkeyfilter.cpp.

◆ expired()

DefaultKeyFilter::TriState DefaultKeyFilter::expired ( ) const

Definition at line 587 of file defaultkeyfilter.cpp.

◆ fgColor()

QColor DefaultKeyFilter::fgColor ( ) const
overridevirtual

Implements Kleo::KeyFilter.

Definition at line 522 of file defaultkeyfilter.cpp.

◆ font()

QFont DefaultKeyFilter::font ( ) const

Definition at line 547 of file defaultkeyfilter.cpp.

◆ fontDescription()

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

Implements Kleo::KeyFilter.

Definition at line 328 of file defaultkeyfilter.cpp.

◆ hasAuthenticate()

DefaultKeyFilter::TriState DefaultKeyFilter::hasAuthenticate ( ) const

Definition at line 642 of file defaultkeyfilter.cpp.

◆ hasCertify()

DefaultKeyFilter::TriState DefaultKeyFilter::hasCertify ( ) const

Definition at line 637 of file defaultkeyfilter.cpp.

◆ hasEncrypt()

DefaultKeyFilter::TriState DefaultKeyFilter::hasEncrypt ( ) const

Definition at line 627 of file defaultkeyfilter.cpp.

◆ hasSecret()

DefaultKeyFilter::TriState DefaultKeyFilter::hasSecret ( ) const

Definition at line 657 of file defaultkeyfilter.cpp.

◆ hasSign()

DefaultKeyFilter::TriState DefaultKeyFilter::hasSign ( ) const

Definition at line 632 of file defaultkeyfilter.cpp.

◆ icon()

QString DefaultKeyFilter::icon ( ) const
overridevirtual

Implements Kleo::KeyFilter.

Definition at line 537 of file defaultkeyfilter.cpp.

◆ id()

QString DefaultKeyFilter::id ( ) const
overridevirtual

Implements Kleo::KeyFilter.

Definition at line 542 of file defaultkeyfilter.cpp.

◆ invalid()

DefaultKeyFilter::TriState DefaultKeyFilter::invalid ( ) const

Definition at line 592 of file defaultkeyfilter.cpp.

◆ isBad()

DefaultKeyFilter::TriState DefaultKeyFilter::isBad ( ) const

Definition at line 697 of file defaultkeyfilter.cpp.

◆ isDeVS()

DefaultKeyFilter::TriState DefaultKeyFilter::isDeVS ( ) const

Definition at line 692 of file defaultkeyfilter.cpp.

◆ isOpenPGP()

DefaultKeyFilter::TriState DefaultKeyFilter::isOpenPGP ( ) const

Definition at line 662 of file defaultkeyfilter.cpp.

◆ italic()

bool DefaultKeyFilter::italic ( ) const

Definition at line 562 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 532 of file defaultkeyfilter.cpp.

◆ ownerTrust()

DefaultKeyFilter::LevelState DefaultKeyFilter::ownerTrust ( ) const

Definition at line 672 of file defaultkeyfilter.cpp.

◆ ownerTrustReferenceLevel()

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

Definition at line 677 of file defaultkeyfilter.cpp.

◆ qualified()

DefaultKeyFilter::TriState DefaultKeyFilter::qualified ( ) const

Definition at line 647 of file defaultkeyfilter.cpp.

◆ revoked()

DefaultKeyFilter::TriState DefaultKeyFilter::revoked ( ) const

Definition at line 582 of file defaultkeyfilter.cpp.

◆ root()

DefaultKeyFilter::TriState DefaultKeyFilter::root ( ) const

Definition at line 602 of file defaultkeyfilter.cpp.

◆ setBgColor()

void DefaultKeyFilter::setBgColor ( const QColor & value)

Definition at line 342 of file defaultkeyfilter.cpp.

◆ setBold()

void DefaultKeyFilter::setBold ( bool value)

Definition at line 377 of file defaultkeyfilter.cpp.

◆ setCanAuthenticate()

void DefaultKeyFilter::setCanAuthenticate ( const TriState value)

Definition at line 437 of file defaultkeyfilter.cpp.

◆ setCanCertify()

void DefaultKeyFilter::setCanCertify ( const TriState value)

Definition at line 432 of file defaultkeyfilter.cpp.

◆ setCanEncrypt()

void DefaultKeyFilter::setCanEncrypt ( const TriState value)

Definition at line 422 of file defaultkeyfilter.cpp.

◆ setCanSign()

void DefaultKeyFilter::setCanSign ( const TriState value)

Definition at line 427 of file defaultkeyfilter.cpp.

◆ setCardKey()

void DefaultKeyFilter::setCardKey ( const TriState value)

Definition at line 467 of file defaultkeyfilter.cpp.

◆ setDescription()

void DefaultKeyFilter::setDescription ( const QString & description)

Definition at line 712 of file defaultkeyfilter.cpp.

◆ setDisabled()

void DefaultKeyFilter::setDisabled ( const TriState value)

Definition at line 412 of file defaultkeyfilter.cpp.

◆ setExpired()

void DefaultKeyFilter::setExpired ( const TriState value)

Definition at line 402 of file defaultkeyfilter.cpp.

◆ setFgColor()

void DefaultKeyFilter::setFgColor ( const QColor & value)

Definition at line 337 of file defaultkeyfilter.cpp.

◆ setFont()

void DefaultKeyFilter::setFont ( const QFont & value)

Definition at line 392 of file defaultkeyfilter.cpp.

◆ setHasAuthenticate()

void DefaultKeyFilter::setHasAuthenticate ( const TriState value)

Definition at line 457 of file defaultkeyfilter.cpp.

◆ setHasCertify()

void DefaultKeyFilter::setHasCertify ( const TriState value)

Definition at line 452 of file defaultkeyfilter.cpp.

◆ setHasEncrypt()

void DefaultKeyFilter::setHasEncrypt ( const TriState value)

Definition at line 442 of file defaultkeyfilter.cpp.

◆ setHasSecret()

void DefaultKeyFilter::setHasSecret ( const TriState value)

Definition at line 472 of file defaultkeyfilter.cpp.

◆ setHasSign()

void DefaultKeyFilter::setHasSign ( const TriState value)

Definition at line 447 of file defaultkeyfilter.cpp.

◆ setIcon()

void DefaultKeyFilter::setIcon ( const QString & value)

Definition at line 352 of file defaultkeyfilter.cpp.

◆ setId()

void DefaultKeyFilter::setId ( const QString & value)

Definition at line 357 of file defaultkeyfilter.cpp.

◆ setInvalid()

void DefaultKeyFilter::setInvalid ( const TriState value)

Definition at line 407 of file defaultkeyfilter.cpp.

◆ setIsBad()

void DefaultKeyFilter::setIsBad ( const TriState value)

Definition at line 512 of file defaultkeyfilter.cpp.

◆ setIsDeVs()

void DefaultKeyFilter::setIsDeVs ( const TriState value)

Definition at line 507 of file defaultkeyfilter.cpp.

◆ setIsOpenPGP()

void DefaultKeyFilter::setIsOpenPGP ( const TriState value)

Definition at line 477 of file defaultkeyfilter.cpp.

◆ setItalic()

void DefaultKeyFilter::setItalic ( bool value)

Definition at line 372 of file defaultkeyfilter.cpp.

◆ setMatchContexts()

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

Definition at line 362 of file defaultkeyfilter.cpp.

◆ setName()

void DefaultKeyFilter::setName ( const QString & value)

Definition at line 347 of file defaultkeyfilter.cpp.

◆ setOwnerTrust()

void DefaultKeyFilter::setOwnerTrust ( const LevelState value)

Definition at line 487 of file defaultkeyfilter.cpp.

◆ setOwnerTrustReferenceLevel()

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

Definition at line 492 of file defaultkeyfilter.cpp.

◆ setQualified()

void DefaultKeyFilter::setQualified ( const TriState value)

Definition at line 462 of file defaultkeyfilter.cpp.

◆ setRevoked()

void DefaultKeyFilter::setRevoked ( const TriState value)

Definition at line 397 of file defaultkeyfilter.cpp.

◆ setRoot()

void DefaultKeyFilter::setRoot ( const TriState value)

Definition at line 417 of file defaultkeyfilter.cpp.

◆ setSpecificity()

void DefaultKeyFilter::setSpecificity ( unsigned int value)

Definition at line 367 of file defaultkeyfilter.cpp.

◆ setStrikeOut()

void DefaultKeyFilter::setStrikeOut ( bool value)

Definition at line 382 of file defaultkeyfilter.cpp.

◆ setUseFullFont()

void DefaultKeyFilter::setUseFullFont ( bool value)

Definition at line 387 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 517 of file defaultkeyfilter.cpp.

◆ setValidity()

void DefaultKeyFilter::setValidity ( const LevelState value)

Definition at line 497 of file defaultkeyfilter.cpp.

◆ setValidityReferenceLevel()

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

Definition at line 502 of file defaultkeyfilter.cpp.

◆ setWasValidated()

void DefaultKeyFilter::setWasValidated ( const TriState value)

Definition at line 482 of file defaultkeyfilter.cpp.

◆ specificity()

unsigned int DefaultKeyFilter::specificity ( ) const
overridevirtual

Implements Kleo::KeyFilter.

Definition at line 557 of file defaultkeyfilter.cpp.

◆ strikeOut()

bool DefaultKeyFilter::strikeOut ( ) const

Definition at line 572 of file defaultkeyfilter.cpp.

◆ useFullFont()

bool DefaultKeyFilter::useFullFont ( ) const

Definition at line 577 of file defaultkeyfilter.cpp.

◆ validIfSMIME()

DefaultKeyFilter::TriState DefaultKeyFilter::validIfSMIME ( ) const

Definition at line 702 of file defaultkeyfilter.cpp.

◆ validity()

DefaultKeyFilter::LevelState DefaultKeyFilter::validity ( ) const

Definition at line 682 of file defaultkeyfilter.cpp.

◆ validityReferenceLevel()

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

Definition at line 687 of file defaultkeyfilter.cpp.

◆ wasValidated()

DefaultKeyFilter::TriState DefaultKeyFilter::wasValidated ( ) const

Definition at line 667 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 Nov 22 2024 12:00:53 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.