• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

libkleo

  • sources
  • kde-4.12
  • kdepim
  • libkleo
  • kleo
Macros | Functions | Variables
kconfigbasedkeyfilter.cpp File Reference
#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 bool is_card_key ( const Key &  key)
static

Definition at line 281 of file kconfigbasedkeyfilter.cpp.

static Key::OwnerTrust map2OwnerTrust ( const QString &  s)
static

Definition at line 136 of file kconfigbasedkeyfilter.cpp.

static UserID::Validity map2Validity ( const QString &  s)
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

KDE's Doxygen guidelines are available online.

libkleo

Skip menu "libkleo"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal