libkleo
threadedjobmixin.h
Go to the documentation of this file.
81 ToThreadMover( const boost::shared_ptr<QObject> & o, QThread * t ) : m_object( o.get() ), m_thread( t ) {}
162 m_thread.setFunction( boost::bind( func, this->context(), this->thread(), boost::weak_ptr<QIODevice>( io ) ) );
166 void run( const T_binder & func, const boost::shared_ptr<QIODevice> & io1, const boost::shared_ptr<QIODevice> & io2 ) {
173 m_thread.setFunction( boost::bind( func, this->context(), this->thread(), boost::weak_ptr<QIODevice>( io1 ), boost::weak_ptr<QIODevice>( io2 ) ) );
217 emit this->result( boost::get<0>( tuple ), boost::get<1>( tuple ), boost::get<2>( tuple ), boost::get<3>( tuple ) );
222 emit this->result( boost::get<0>( tuple ), boost::get<1>( tuple ), boost::get<2>( tuple ), boost::get<3>( tuple ), boost::get<4>( tuple ) );
void run(const T_binder &func, const boost::shared_ptr< QIODevice > &io1, const boost::shared_ptr< QIODevice > &io2)
Definition: threadedjobmixin.h:166
GpgME::Context * context() const
Definition: threadedjobmixin.h:176
ThreadedJobMixin(GpgME::Context *ctx)
Definition: threadedjobmixin.h:138
QString map(const char *token, int subtoken)
Definition: qgpgmeprogresstokenmapper.cpp:91
virtual void resultHook(const result_type &)
Definition: threadedjobmixin.h:178
void showProgress(const char *what, int type, int current, int total)
Definition: threadedjobmixin.h:194
void setFunction(const boost::function< T_result()> &function)
Definition: threadedjobmixin.h:90
GpgME::Error auditLogError() const
Definition: threadedjobmixin.h:193
void lateInitialization()
Definition: threadedjobmixin.h:144
QString audit_log_as_html(GpgME::Context *ctx, GpgME::Error &err)
const char ** patterns() const
Definition: threadedjobmixin.cpp:87
ToThreadMover(const boost::shared_ptr< QObject > &o, QThread *t)
Definition: threadedjobmixin.h:81
PatternConverter(const QByteArray &ba)
Definition: threadedjobmixin.cpp:78
BOOST_STATIC_ASSERT((boost::tuples::length< T_result >::value > 2))
~PatternConverter()
Definition: threadedjobmixin.cpp:97
void run(const T_binder &func)
Definition: threadedjobmixin.h:151
QString auditLogAsHtml() const
Definition: threadedjobmixin.h:192
ToThreadMover(QObject *o, QThread *t)
Definition: threadedjobmixin.h:79
ToThreadMover(QObject &o, QThread *t)
Definition: threadedjobmixin.h:80
Definition: threadedjobmixin.h:86
void run(const T_binder &func, const boost::shared_ptr< QIODevice > &io)
Definition: threadedjobmixin.h:156
ThreadedJobMixin< T_base, T_result > mixin_type
Definition: threadedjobmixin.h:114
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
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.