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

libkleo

  • Kleo
  • _detail
  • ThreadedJobMixin
Public Types | Protected Member Functions | List of all members
Kleo::_detail::ThreadedJobMixin< T_base, T_result > Class Template Reference

#include <threadedjobmixin.h>

Inheritance diagram for Kleo::_detail::ThreadedJobMixin< T_base, T_result >:
Inheritance graph
[legend]

Public Types

typedef ThreadedJobMixin
< T_base, T_result > 
mixin_type
 
typedef T_result result_type
 

Protected Member Functions

 ThreadedJobMixin (GpgME::Context *ctx)
 
QString auditLogAsHtml () const
 
GpgME::Error auditLogError () const
 
 BOOST_STATIC_ASSERT ((boost::tuples::length< T_result >::value > 2))
 
 BOOST_STATIC_ASSERT ((boost::is_same< typename boost::tuples::element< boost::tuples::length< T_result >::value-2, T_result >::type, QString >::value))
 
 BOOST_STATIC_ASSERT ((boost::is_same< typename boost::tuples::element< boost::tuples::length< T_result >::value-1, T_result >::type, GpgME::Error >::value))
 
GpgME::Context * context () const
 
void lateInitialization ()
 
virtual void resultHook (const result_type &)
 
template<typename T_binder >
void run (const T_binder &func)
 
template<typename T_binder >
void run (const T_binder &func, const boost::shared_ptr< QIODevice > &io)
 
template<typename T_binder >
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 ()
 

Detailed Description

template<typename T_base, typename T_result = boost::tuple<GpgME::Error,QString,GpgME::Error>>
class Kleo::_detail::ThreadedJobMixin< T_base, T_result >

Definition at line 112 of file threadedjobmixin.h.

Member Typedef Documentation

template<typename T_base, typename T_result = boost::tuple<GpgME::Error,QString,GpgME::Error>>
typedef ThreadedJobMixin<T_base, T_result> Kleo::_detail::ThreadedJobMixin< T_base, T_result >::mixin_type

Definition at line 114 of file threadedjobmixin.h.

template<typename T_base, typename T_result = boost::tuple<GpgME::Error,QString,GpgME::Error>>
typedef T_result Kleo::_detail::ThreadedJobMixin< T_base, T_result >::result_type

Definition at line 115 of file threadedjobmixin.h.

Constructor & Destructor Documentation

template<typename T_base, typename T_result = boost::tuple<GpgME::Error,QString,GpgME::Error>>
Kleo::_detail::ThreadedJobMixin< T_base, T_result >::ThreadedJobMixin ( GpgME::Context *  ctx)
inlineexplicitprotected

Definition at line 138 of file threadedjobmixin.h.

Member Function Documentation

template<typename T_base, typename T_result = boost::tuple<GpgME::Error,QString,GpgME::Error>>
QString Kleo::_detail::ThreadedJobMixin< T_base, T_result >::auditLogAsHtml ( ) const
inlineprotected

Definition at line 192 of file threadedjobmixin.h.

template<typename T_base, typename T_result = boost::tuple<GpgME::Error,QString,GpgME::Error>>
GpgME::Error Kleo::_detail::ThreadedJobMixin< T_base, T_result >::auditLogError ( ) const
inlineprotected

Definition at line 193 of file threadedjobmixin.h.

template<typename T_base, typename T_result = boost::tuple<GpgME::Error,QString,GpgME::Error>>
Kleo::_detail::ThreadedJobMixin< T_base, T_result >::BOOST_STATIC_ASSERT ( (boost::tuples::length< T_result >::value > 2)  )
protected
template<typename T_base, typename T_result = boost::tuple<GpgME::Error,QString,GpgME::Error>>
Kleo::_detail::ThreadedJobMixin< T_base, T_result >::BOOST_STATIC_ASSERT ( (boost::is_same< typename boost::tuples::element< boost::tuples::length< T_result >::value-2, T_result >::type, QString >::value)  )
protected
template<typename T_base, typename T_result = boost::tuple<GpgME::Error,QString,GpgME::Error>>
Kleo::_detail::ThreadedJobMixin< T_base, T_result >::BOOST_STATIC_ASSERT ( (boost::is_same< typename boost::tuples::element< boost::tuples::length< T_result >::value-1, T_result >::type, GpgME::Error >::value)  )
protected
template<typename T_base, typename T_result = boost::tuple<GpgME::Error,QString,GpgME::Error>>
GpgME::Context* Kleo::_detail::ThreadedJobMixin< T_base, T_result >::context ( ) const
inlineprotected

Definition at line 176 of file threadedjobmixin.h.

template<typename T_base, typename T_result = boost::tuple<GpgME::Error,QString,GpgME::Error>>
void Kleo::_detail::ThreadedJobMixin< T_base, T_result >::lateInitialization ( )
inlineprotected

Definition at line 144 of file threadedjobmixin.h.

template<typename T_base, typename T_result = boost::tuple<GpgME::Error,QString,GpgME::Error>>
virtual void Kleo::_detail::ThreadedJobMixin< T_base, T_result >::resultHook ( const result_type &  )
inlineprotectedvirtual

Reimplemented in Kleo::QGpgMESignEncryptJob, Kleo::QGpgMESignJob, Kleo::QGpgMEEncryptJob, Kleo::QGpgMEDecryptVerifyJob, Kleo::QGpgMEDecryptJob, Kleo::QGpgMEKeyListJob, Kleo::QGpgMEListAllKeysJob, Kleo::QGpgMEVerifyDetachedJob, Kleo::QGpgMEVerifyOpaqueJob, Kleo::QGpgMEImportFromKeyserverJob, and Kleo::QGpgMEImportJob.

Definition at line 178 of file threadedjobmixin.h.

template<typename T_base, typename T_result = boost::tuple<GpgME::Error,QString,GpgME::Error>>
template<typename T_binder >
void Kleo::_detail::ThreadedJobMixin< T_base, T_result >::run ( const T_binder &  func)
inlineprotected

Definition at line 151 of file threadedjobmixin.h.

template<typename T_base, typename T_result = boost::tuple<GpgME::Error,QString,GpgME::Error>>
template<typename T_binder >
void Kleo::_detail::ThreadedJobMixin< T_base, T_result >::run ( const T_binder &  func,
const boost::shared_ptr< QIODevice > &  io 
)
inlineprotected

Definition at line 156 of file threadedjobmixin.h.

template<typename T_base, typename T_result = boost::tuple<GpgME::Error,QString,GpgME::Error>>
template<typename T_binder >
void Kleo::_detail::ThreadedJobMixin< T_base, T_result >::run ( const T_binder &  func,
const boost::shared_ptr< QIODevice > &  io1,
const boost::shared_ptr< QIODevice > &  io2 
)
inlineprotected

Definition at line 166 of file threadedjobmixin.h.

template<typename T_base, typename T_result = boost::tuple<GpgME::Error,QString,GpgME::Error>>
void Kleo::_detail::ThreadedJobMixin< T_base, T_result >::showProgress ( const char *  what,
int  type,
int  current,
int  total 
)
inlineprotected

Definition at line 194 of file threadedjobmixin.h.

template<typename T_base, typename T_result = boost::tuple<GpgME::Error,QString,GpgME::Error>>
void Kleo::_detail::ThreadedJobMixin< T_base, T_result >::slotCancel ( )
inlineprotected

Definition at line 189 of file threadedjobmixin.h.

template<typename T_base, typename T_result = boost::tuple<GpgME::Error,QString,GpgME::Error>>
void Kleo::_detail::ThreadedJobMixin< T_base, T_result >::slotFinished ( )
inlineprotected

Definition at line 180 of file threadedjobmixin.h.


The documentation for this class was generated from the following file:
  • threadedjobmixin.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:57:50 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