diff options
Diffstat (limited to 'framework/domain')
-rw-r--r-- | framework/domain/mimetreeparser/interface.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/framework/domain/mimetreeparser/interface.cpp b/framework/domain/mimetreeparser/interface.cpp index 0bcbfec4..7e9497c0 100644 --- a/framework/domain/mimetreeparser/interface.cpp +++ b/framework/domain/mimetreeparser/interface.cpp | |||
@@ -23,7 +23,8 @@ | |||
23 | #include "stringhtmlwriter.h" | 23 | #include "stringhtmlwriter.h" |
24 | #include "objecttreesource.h" | 24 | #include "objecttreesource.h" |
25 | 25 | ||
26 | #include <Libkleo/KeyListJob> | 26 | #include <QGpgME/KeyListJob> |
27 | #include <QGpgME/Protocol> | ||
27 | #include <gpgme++/key.h> | 28 | #include <gpgme++/key.h> |
28 | #include <gpgme++/keylistresult.h> | 29 | #include <gpgme++/keylistresult.h> |
29 | 30 | ||
@@ -366,7 +367,7 @@ void PartPrivate::appendSubPart(Part::Ptr subpart) | |||
366 | 367 | ||
367 | Encryption::Ptr PartPrivate::createEncryption(const MimeTreeParser::EncryptedMessagePart::Ptr& part) | 368 | Encryption::Ptr PartPrivate::createEncryption(const MimeTreeParser::EncryptedMessagePart::Ptr& part) |
368 | { | 369 | { |
369 | Kleo::KeyListJob *job = part->mCryptoProto->keyListJob(false); // local, no sigs | 370 | QGpgME::KeyListJob *job = part->mCryptoProto->keyListJob(false); // local, no sigs |
370 | if (!job) { | 371 | if (!job) { |
371 | qWarning() << "The Crypto backend does not support listing keys. "; | 372 | qWarning() << "The Crypto backend does not support listing keys. "; |
372 | return Encryption::Ptr(); | 373 | return Encryption::Ptr(); |
@@ -411,7 +412,7 @@ void PartPrivate::setEncryptions(const QVector< Encryption::Ptr >& encs) | |||
411 | QVector<Signature::Ptr> PartPrivate::createSignature(const MimeTreeParser::SignedMessagePart::Ptr& part) | 412 | QVector<Signature::Ptr> PartPrivate::createSignature(const MimeTreeParser::SignedMessagePart::Ptr& part) |
412 | { | 413 | { |
413 | QVector<Signature::Ptr> sigs; | 414 | QVector<Signature::Ptr> sigs; |
414 | Kleo::KeyListJob *job = part->mCryptoProto->keyListJob(false); // local, no sigs | 415 | QGpgME::KeyListJob *job = part->mCryptoProto->keyListJob(false); // local, no sigs |
415 | if (!job) { | 416 | if (!job) { |
416 | qWarning() << "The Crypto backend does not support listing keys. "; | 417 | qWarning() << "The Crypto backend does not support listing keys. "; |
417 | return sigs; | 418 | return sigs; |