libkleo
kconfigbasedkeyfilter.cpp
Go to the documentation of this file.
84 KeyFilter::FontDescription KeyFilter::FontDescription::create( const QFont & f, bool b, bool i, bool s ) {
111 KeyFilter::FontDescription KeyFilter::FontDescription::resolve( const FontDescription & other ) const {
139 for ( unsigned int i = 0 ; i < sizeof ownerTrustAndValidityMap / sizeof *ownerTrustAndValidityMap ; ++i )
146 for ( unsigned int i = 0 ; i < sizeof ownerTrustAndValidityMap / sizeof *ownerTrustAndValidityMap ; ++i )
258 const QStringList contexts = config.readEntry( "match-contexts", "any" ).toLower().split( QRegExp( QLatin1String("[^a-zA-Z0-9_-!]+") ), QString::SkipEmptyParts );
267 } else if ( ctx.startsWith( QLatin1Char('!') ) && ctx.mid( 1 ) == QLatin1String(matchMap[i].key) ) {
KeyFilterImplBase()
Definition: kconfigbasedkeyfilter.cpp:153
void setPointSize(int pointSize)
#define IS_MATCH(what)
GpgME::UserID::Validity mValidityReferenceLevel
Definition: kconfigbasedkeyfilter.h:107
FontDescription resolve(const FontDescription &other) const
Definition: kconfigbasedkeyfilter.cpp:111
Definition: keyfilter.h:63
static FontDescription create(bool bold, bool italic, bool strikeOut)
Definition: kconfigbasedkeyfilter.cpp:76
#define CAN_MATCH(what)
Definition: keyfilter.h:60
MatchContexts mMatchContexts
Definition: kconfigbasedkeyfilter.h:71
virtual QString name() const =0
void setBold(bool enable)
static UserID::Validity map2Validity(const QString &s)
Definition: kconfigbasedkeyfilter.cpp:145
#define MATCH(member, method)
~KeyFilterImplBase()
Definition: kconfigbasedkeyfilter.cpp:182
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
Definition: keyfilter.h:61
static const struct @3 ownerTrustAndValidityMap[]
QString toLower() const
void setItalic(bool enable)
Definition: keyfilter.h:59
#define SET(member, key)
QString mid(int position, int n) const
unsigned int mSpecificity
Definition: kconfigbasedkeyfilter.h:72
~FontDescription()
Definition: kconfigbasedkeyfilter.cpp:72
GpgME::Key::OwnerTrust mOwnerTrustReferenceLevel
Definition: kconfigbasedkeyfilter.h:105
TriState mCanAuthenticate
Definition: kconfigbasedkeyfilter.h:91
FontDescription fontDesription() const
Definition: kconfigbasedkeyfilter.cpp:367
QStringList split(const QString &sep, const QString &str, bool allowEmptyEntries)
void setStrikeOut(bool enable)
KConfigBasedKeyFilter(const KConfigGroup &group)
Definition: kconfigbasedkeyfilter.cpp:184
QFont font(const QFont &base) const
Definition: kconfigbasedkeyfilter.cpp:94
Definition: keyfilter.h:80
static Key::OwnerTrust map2OwnerTrust(const QString &s)
Definition: kconfigbasedkeyfilter.cpp:138
FontDescription()
Definition: kconfigbasedkeyfilter.cpp:60
int pointSize() const
bool matches(const GpgME::Key &key, MatchContexts ctx) const
Definition: kconfigbasedkeyfilter.cpp:289
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.