35 #ifndef __QGPGME_QGPGMEBACKEND_H__
36 #define __QGPGME_QGPGMEBACKEND_H__
43 template <
typename T_Key,
typename T_Value>
class QMap;
58 QString displayName()
const;
60 CryptoConfig *config()
const;
64 Protocol *protocol(
const char *name)
const;
66 static const char OpenPGP[];
67 static const char SMIME[];
69 bool checkForOpenPGP(QString *reason = Q_NULLPTR)
const;
70 bool checkForSMIME(QString *reason = Q_NULLPTR)
const;
71 bool checkForProtocol(
const char *name, QString *reason)
const;
73 bool supportsOpenPGP()
const
77 bool supportsSMIME()
const
81 bool supportsProtocol(
const char *name)
const;
83 const char *enumerateProtocols(
int i)
const;
86 mutable QGpgME::CryptoConfig *mCryptoConfig;
93 #endif // __QGPGME_QGPGMEBACKEND_H__