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 281 of file kconfigbasedkeyfilter.cpp.
|
static |
Definition at line 136 of file kconfigbasedkeyfilter.cpp.
|
static |
Definition at line 143 of file kconfigbasedkeyfilter.cpp.
Variable Documentation
const char* name |
Definition at line 124 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 125 of file kconfigbasedkeyfilter.cpp.
UserID::Validity validity |
Definition at line 126 of file kconfigbasedkeyfilter.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:57:49 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:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.