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

libkleo

  • Kleo
  • QGpgMESignEncryptJob
Public Member Functions | List of all members
Kleo::QGpgMESignEncryptJob Class Reference

#include <qgpgmesignencryptjob.h>

Inheritance diagram for Kleo::QGpgMESignEncryptJob:
Inheritance graph
[legend]

Public Member Functions

 QGpgMESignEncryptJob (GpgME::Context *context)
 
 ~QGpgMESignEncryptJob ()
 
std::pair
< GpgME::SigningResult,
GpgME::EncryptionResult > 
exec (const std::vector< GpgME::Key > &signers, const std::vector< GpgME::Key > &recipients, const QByteArray &plainText, bool alwaysTrust, QByteArray &cipherText)
 
void resultHook (const result_type &r)
 
void setOutputIsBase64Encoded (bool on)
 
void showErrorDialog (QWidget *parent, const QString &caption) const
 
GpgME::Error start (const std::vector< GpgME::Key > &signers, const std::vector< GpgME::Key > &recipients, const QByteArray &plainText, bool alwaysTrust)
 
void start (const std::vector< GpgME::Key > &signers, const std::vector< GpgME::Key > &recipients, const boost::shared_ptr< QIODevice > &plainText, const boost::shared_ptr< QIODevice > &cipherText, bool alwaysTrust)
 
- Public Member Functions inherited from Kleo::SignEncryptJob
 ~SignEncryptJob ()
 
- Public Member Functions inherited from Kleo::Job
 ~Job ()
 
bool isAuditLogSupported () const
 

Additional Inherited Members

- Public Types inherited from Kleo::_detail::ThreadedJobMixin< SignEncryptJob, boost::tuple< GpgME::SigningResult, GpgME::EncryptionResult, QByteArray, QString, GpgME::Error > >
typedef ThreadedJobMixin
< SignEncryptJob, boost::tuple
< GpgME::SigningResult,
GpgME::EncryptionResult,
QByteArray, QString,
GpgME::Error > > 
mixin_type
 
typedef boost::tuple
< GpgME::SigningResult,
GpgME::EncryptionResult,
QByteArray, QString,
GpgME::Error > 
result_type
 
- Public Slots inherited from Kleo::Job
- Signals inherited from Kleo::SignEncryptJob
void result (const GpgME::SigningResult &signingresult, const GpgME::EncryptionResult &encryptionresult, const QByteArray &cipherText, const QString &auditLogAsHtml=QString(), const GpgME::Error &auditLogError=GpgME::Error())
 
- Signals inherited from Kleo::Job
void done ()
 
void progress (const QString &what, int current, int total)
 
- Protected Member Functions inherited from Kleo::_detail::ThreadedJobMixin< SignEncryptJob, boost::tuple< GpgME::SigningResult, GpgME::EncryptionResult, QByteArray, QString, GpgME::Error > >
 ThreadedJobMixin (GpgME::Context *ctx)
 
QString auditLogAsHtml () const
 
GpgME::Error auditLogError () const
 
 BOOST_STATIC_ASSERT ((boost::tuples::length< boost::tuple< GpgME::SigningResult, GpgME::EncryptionResult, QByteArray, QString, GpgME::Error > >::value > 2))
 
 BOOST_STATIC_ASSERT ((boost::is_same< typename boost::tuples::element< boost::tuples::length< boost::tuple< GpgME::SigningResult, GpgME::EncryptionResult, QByteArray, QString, GpgME::Error > >::value-2, boost::tuple< GpgME::SigningResult, GpgME::EncryptionResult, QByteArray, QString, GpgME::Error > >::type, QString >::value))
 
 BOOST_STATIC_ASSERT ((boost::is_same< typename boost::tuples::element< boost::tuples::length< boost::tuple< GpgME::SigningResult, GpgME::EncryptionResult, QByteArray, QString, GpgME::Error > >::value-1, boost::tuple< GpgME::SigningResult, GpgME::EncryptionResult, QByteArray, QString, GpgME::Error > >::type, GpgME::Error >::value))
 
GpgME::Context * context () const
 
void lateInitialization ()
 
void run (const T_binder &func)
 
void run (const T_binder &func, const boost::shared_ptr< QIODevice > &io)
 
void run (const T_binder &func, const boost::shared_ptr< QIODevice > &io1, const boost::shared_ptr< QIODevice > &io2)
 
void showProgress (const char *what, int type, int current, int total)
 
void slotCancel ()
 
void slotFinished ()
 
- Protected Member Functions inherited from Kleo::SignEncryptJob
 SignEncryptJob (QObject *parent)
 
- Protected Member Functions inherited from Kleo::Job
 Job (QObject *parent)
 

Detailed Description

Definition at line 48 of file qgpgmesignencryptjob.h.

Constructor & Destructor Documentation

QGpgMESignEncryptJob::QGpgMESignEncryptJob ( GpgME::Context *  context)
explicit

Definition at line 56 of file qgpgmesignencryptjob.cpp.

QGpgMESignEncryptJob::~QGpgMESignEncryptJob ( )

Definition at line 63 of file qgpgmesignencryptjob.cpp.

Member Function Documentation

std::pair< SigningResult, EncryptionResult > QGpgMESignEncryptJob::exec ( const std::vector< GpgME::Key > &  signers,
const std::vector< GpgME::Key > &  recipients,
const QByteArray &  plainText,
bool  alwaysTrust,
QByteArray &  cipherText 
)
virtual

Implements Kleo::SignEncryptJob.

Definition at line 131 of file qgpgmesignencryptjob.cpp.

void QGpgMESignEncryptJob::resultHook ( const result_type &  r)
virtual
Reimplemented from superclass. from ThreadedJobMixin

Reimplemented from Kleo::_detail::ThreadedJobMixin< SignEncryptJob, boost::tuple< GpgME::SigningResult, GpgME::EncryptionResult, QByteArray, QString, GpgME::Error > >.

Definition at line 144 of file qgpgmesignencryptjob.cpp.

void QGpgMESignEncryptJob::setOutputIsBase64Encoded ( bool  on)
virtual
Reimplemented from superclass. from SignEncryptJob

Implements Kleo::SignEncryptJob.

Definition at line 65 of file qgpgmesignencryptjob.cpp.

void QGpgMESignEncryptJob::showErrorDialog ( QWidget *  parent,
const QString &  caption 
) const
virtual
Reimplemented from superclass. from Job

Reimplemented from Kleo::Job.

Definition at line 138 of file qgpgmesignencryptjob.cpp.

GpgME::Error Kleo::QGpgMESignEncryptJob::start ( const std::vector< GpgME::Key > &  signers,
const std::vector< GpgME::Key > &  recipients,
const QByteArray &  plainText,
bool  alwaysTrust 
)
virtual
Reimplemented from superclass. from SignEncryptJob

Implements Kleo::SignEncryptJob.

void Kleo::QGpgMESignEncryptJob::start ( const std::vector< GpgME::Key > &  signers,
const std::vector< GpgME::Key > &  recipients,
const boost::shared_ptr< QIODevice > &  plainText,
const boost::shared_ptr< QIODevice > &  cipherText,
bool  alwaysTrust 
)
virtual
Reimplemented from superclass. from SignEncryptJob

Implements Kleo::SignEncryptJob.


The documentation for this class was generated from the following files:
  • qgpgmesignencryptjob.h
  • qgpgmesignencryptjob.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