libkleo
#include "kconfigbasedkeyfilter.h"
#include <kconfigbase.h>
#include <kconfiggroup.h>
#include <klocale.h>
#include <boost/mem_fn.hpp>
#include <algorithm>
Include dependency graph for kconfigbasedkeyfilter.cpp:
Go to the source code of this file.
Macros | |
#define | CAN_MATCH(what) MATCH( mCan##what, can##what ) |
#define | IS_MATCH(what) MATCH( m##what, is##what ) |
#define | MATCH(member, method) |
#define | SET(member, key) |
Functions | |
static bool | is_card_key (const Key &key) |
static Key::OwnerTrust | map2OwnerTrust (const QString &s) |
static UserID::Validity | map2Validity (const QString &s) |
Variables | |
static const struct { ... } | ownerTrustAndValidityMap [] |
Macro Definition Documentation
#define CAN_MATCH | ( | what | ) | MATCH( mCan##what, can##what ) |
#define IS_MATCH | ( | what | ) | MATCH( m##what, is##what ) |
#define MATCH | ( | member, | |
method | |||
) |
Value:
if ( member != DoesNotMatter && key.method() != bool( member == Set ) ) \
return false
#define SET | ( | member, | |
key | |||
) |
Value:
if ( config.hasKey( key ) ) { \
member = config.readEntry( key, false ) ? Set : NotSet ; \
++mSpecificity; \
}
Function Documentation
|
static |
Definition at line 283 of file kconfigbasedkeyfilter.cpp.
|
static |
Definition at line 138 of file kconfigbasedkeyfilter.cpp.
|
static |
Definition at line 145 of file kconfigbasedkeyfilter.cpp.
Variable Documentation
const char* name |
Definition at line 126 of file kconfigbasedkeyfilter.cpp.
const { ... } ownerTrustAndValidityMap[] |
Initial value:
= {
{ "unknown", Key::Unknown, UserID::Unknown },
{ "undefined", Key::Undefined, UserID::Undefined },
{ "never", Key::Never, UserID::Never },
{ "marginal", Key::Marginal, UserID::Marginal },
{ "full", Key::Full, UserID::Full },
{ "ultimate", Key::Ultimate, UserID::Ultimate },
}
Key::OwnerTrust trust |
Definition at line 127 of file kconfigbasedkeyfilter.cpp.
UserID::Validity validity |
Definition at line 128 of file kconfigbasedkeyfilter.cpp.
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.