libkleo
kconfigbasedkeyfilter.cpp
Go to the documentation of this file.
82 KeyFilter::FontDescription KeyFilter::FontDescription::create( const QFont & f, bool b, bool i, bool s ) {
109 KeyFilter::FontDescription KeyFilter::FontDescription::resolve( const FontDescription & other ) const {
137 for ( unsigned int i = 0 ; i < sizeof ownerTrustAndValidityMap / sizeof *ownerTrustAndValidityMap ; ++i )
144 for ( unsigned int i = 0 ; i < sizeof ownerTrustAndValidityMap / sizeof *ownerTrustAndValidityMap ; ++i )
256 const QStringList contexts = config.readEntry( "match-contexts", "any" ).toLower().split( QRegExp( QLatin1String("[^a-zA-Z0-9_-!]+") ), QString::SkipEmptyParts );
265 } else if ( ctx.startsWith( QLatin1Char('!') ) && ctx.mid( 1 ) == QLatin1String(matchMap[i].key) ) {
KeyFilterImplBase()
Definition: kconfigbasedkeyfilter.cpp:151
#define IS_MATCH(what)
GpgME::UserID::Validity mValidityReferenceLevel
Definition: kconfigbasedkeyfilter.h:107
FontDescription resolve(const FontDescription &other) const
Definition: kconfigbasedkeyfilter.cpp:109
Definition: keyfilter.h:63
static FontDescription create(bool bold, bool italic, bool strikeOut)
Definition: kconfigbasedkeyfilter.cpp:74
#define CAN_MATCH(what)
Definition: keyfilter.h:60
MatchContexts mMatchContexts
Definition: kconfigbasedkeyfilter.h:71
virtual QString name() const =0
static UserID::Validity map2Validity(const QString &s)
Definition: kconfigbasedkeyfilter.cpp:143
#define MATCH(member, method)
~KeyFilterImplBase()
Definition: kconfigbasedkeyfilter.cpp:180
Definition: keyfilter.h:61
static const struct @3 ownerTrustAndValidityMap[]
Definition: keyfilter.h:59
#define SET(member, key)
unsigned int mSpecificity
Definition: kconfigbasedkeyfilter.h:72
~FontDescription()
Definition: kconfigbasedkeyfilter.cpp:70
GpgME::Key::OwnerTrust mOwnerTrustReferenceLevel
Definition: kconfigbasedkeyfilter.h:105
TriState mCanAuthenticate
Definition: kconfigbasedkeyfilter.h:91
FontDescription fontDesription() const
Definition: kconfigbasedkeyfilter.cpp:365
KConfigBasedKeyFilter(const KConfigGroup &group)
Definition: kconfigbasedkeyfilter.cpp:182
QFont font(const QFont &base) const
Definition: kconfigbasedkeyfilter.cpp:92
Definition: keyfilter.h:80
static Key::OwnerTrust map2OwnerTrust(const QString &s)
Definition: kconfigbasedkeyfilter.cpp:136
FontDescription()
Definition: kconfigbasedkeyfilter.cpp:58
bool matches(const GpgME::Key &key, MatchContexts ctx) const
Definition: kconfigbasedkeyfilter.cpp:287
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:57:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:57:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.