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

libkleo

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

#include <qgpgmesignjob.h>

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

Public Member Functions

 QGpgMESignJob (GpgME::Context *context)
 
 ~QGpgMESignJob ()
 
GpgME::SigningResult exec (const std::vector< GpgME::Key > &signers, const QByteArray &plainText, GpgME::SignatureMode mode, QByteArray &signature)
 
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 QByteArray &plainText, GpgME::SignatureMode mode)
 
void start (const std::vector< GpgME::Key > &signers, const boost::shared_ptr< QIODevice > &plainText, const boost::shared_ptr< QIODevice > &signature, GpgME::SignatureMode mode)
 
- Public Member Functions inherited from Kleo::SignJob
 ~SignJob ()
 
- Public Member Functions inherited from Kleo::Job
 ~Job ()
 
bool isAuditLogSupported () const
 

Additional Inherited Members

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

Detailed Description

Definition at line 46 of file qgpgmesignjob.h.

Constructor & Destructor Documentation

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

Definition at line 53 of file qgpgmesignjob.cpp.

QGpgMESignJob::~QGpgMESignJob ( )

Definition at line 60 of file qgpgmesignjob.cpp.

Member Function Documentation

SigningResult QGpgMESignJob::exec ( const std::vector< GpgME::Key > &  signers,
const QByteArray &  plainText,
GpgME::SignatureMode  mode,
QByteArray &  signature 
)
virtual
Reimplemented from superclass. from SignJob

Implements Kleo::SignJob.

Definition at line 135 of file qgpgmesignjob.cpp.

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

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

Definition at line 142 of file qgpgmesignjob.cpp.

void QGpgMESignJob::setOutputIsBase64Encoded ( bool  on)
virtual
Reimplemented from superclass. from SignJob

Implements Kleo::SignJob.

Definition at line 62 of file qgpgmesignjob.cpp.

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

Reimplemented from Kleo::Job.

Definition at line 146 of file qgpgmesignjob.cpp.

GpgME::Error Kleo::QGpgMESignJob::start ( const std::vector< GpgME::Key > &  signers,
const QByteArray &  plainText,
GpgME::SignatureMode  mode 
)
virtual
Reimplemented from superclass. from SignJob

Implements Kleo::SignJob.

void Kleo::QGpgMESignJob::start ( const std::vector< GpgME::Key > &  signers,
const boost::shared_ptr< QIODevice > &  plainText,
const boost::shared_ptr< QIODevice > &  signature,
GpgME::SignatureMode  mode 
)
virtual
Reimplemented from superclass. from SignJob

Implements Kleo::SignJob.


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