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

libkleo

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

#include <qgpgmeencryptjob.h>

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

Public Member Functions

 QGpgMEEncryptJob (GpgME::Context *context)
 
 ~QGpgMEEncryptJob ()
 
GpgME::EncryptionResult exec (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 > &recipients, const QByteArray &plainText, bool alwaysTrust)
 
void start (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::EncryptJob
 ~EncryptJob ()
 
- Public Member Functions inherited from Kleo::Job
 ~Job ()
 
bool isAuditLogSupported () const
 

Additional Inherited Members

- Public Types inherited from Kleo::_detail::ThreadedJobMixin< EncryptJob, boost::tuple< GpgME::EncryptionResult, QByteArray, QString, GpgME::Error > >
typedef ThreadedJobMixin
< EncryptJob, boost::tuple
< GpgME::EncryptionResult,
QByteArray, QString,
GpgME::Error > > 
mixin_type
 
typedef boost::tuple
< GpgME::EncryptionResult,
QByteArray, QString,
GpgME::Error > 
result_type
 
- Public Slots inherited from Kleo::Job
- Signals inherited from Kleo::EncryptJob
void result (const GpgME::EncryptionResult &result, 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< EncryptJob, boost::tuple< 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::EncryptionResult, QByteArray, QString, GpgME::Error > >::value > 2))
 
 BOOST_STATIC_ASSERT ((boost::is_same< typename boost::tuples::element< boost::tuples::length< boost::tuple< GpgME::EncryptionResult, QByteArray, QString, GpgME::Error > >::value-2, boost::tuple< 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::EncryptionResult, QByteArray, QString, GpgME::Error > >::value-1, boost::tuple< 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::EncryptJob
 EncryptJob (QObject *parent)
 
- Protected Member Functions inherited from Kleo::Job
 Job (QObject *parent)
 

Detailed Description

Definition at line 45 of file qgpgmeencryptjob.h.

Constructor & Destructor Documentation

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

Definition at line 53 of file qgpgmeencryptjob.cpp.

QGpgMEEncryptJob::~QGpgMEEncryptJob ( )

Definition at line 60 of file qgpgmeencryptjob.cpp.

Member Function Documentation

EncryptionResult QGpgMEEncryptJob::exec ( const std::vector< GpgME::Key > &  recipients,
const QByteArray &  plainText,
bool  alwaysTrust,
QByteArray &  cipherText 
)
virtual
Reimplemented from superclass. from EncryptJob

Implements Kleo::EncryptJob.

Definition at line 134 of file qgpgmeencryptjob.cpp.

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

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

Definition at line 141 of file qgpgmeencryptjob.cpp.

void QGpgMEEncryptJob::setOutputIsBase64Encoded ( bool  on)
virtual
Reimplemented from superclass. from EncryptJob

Implements Kleo::EncryptJob.

Definition at line 62 of file qgpgmeencryptjob.cpp.

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

Reimplemented from Kleo::Job.

Definition at line 145 of file qgpgmeencryptjob.cpp.

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

Implements Kleo::EncryptJob.

void Kleo::QGpgMEEncryptJob::start ( 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 EncryptJob

Implements Kleo::EncryptJob.


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