33 #ifndef __KLEO_TDECONFIGBASEDKEYFILTER_H__ 34 #define __KLEO_TDECONFIGBASEDKEYFILTER_H__ 36 #include "keyfilter.h" 42 #include <gpgmepp/key.h> 48 class TDEConfigBasedKeyFilter : public KeyFilter { 50 explicit TDEConfigBasedKeyFilter( const TDEConfigBase & config ); 51 ~TDEConfigBasedKeyFilter(); 52 bool matches( const GpgME::Key & key ) const; 54 unsigned int specificity() const { return mSpecificity; } 56 TQColor fgColor() const { return mFgColor; } 57 TQColor bgColor() const { return mBgColor; } 58 TQFont font( const TQFont & ) const; 59 TQString name() const { return mName; } 60 TQString icon() const { return mIcon; } 63 TQColor mFgColor, mBgColor; 66 unsigned int mSpecificity; 85 TriState mCanAuthenticate; 88 TriState mWasValidated; 90 LevelDoesNotMatter = 0, 96 LevelState mOwnerTrust; 97 GpgME::Key::OwnerTrust mOwnerTrustReferenceLevel; 99 GpgME::UserID::Validity mValidityReferenceLevel; 104 #endif // __KLEO_TDECONFIGBASEDKEYFILTER_H__
|