34 #ifndef __KLEO_TQGPGMEBACKEND_H__
35 #define __KLEO_TQGPGMEBACKEND_H__
37 #include "kleo/cryptobackend.h"
49 class QGpgMEBackend : public Kleo::CryptoBackend {
54 TQString name() const;
55 TQString displayName() const;
57 CryptoConfig * config() const;
59 Protocol * openpgp() const;
60 Protocol * smime() const;
61 Protocol * protocol( const char * name ) const;
63 bool checkForOpenPGP( TQString * reason=0 ) const;
64 bool checkForSMIME( TQString * reason=0 ) const;
65 bool checkForProtocol( const char * name, TQString * reason ) const;
67 bool supportsOpenPGP() const { return true; }
68 bool supportsSMIME() const { return true; }
69 bool supportsProtocol( const char * name ) const;
71 const char * enumerateProtocols( int i ) const;
82 #endif // __KLEO_TQGPGMEBACKEND_H__
|