libkleo
threadedjobmixin.h
Go to the documentation of this file.
83 ToThreadMover( const boost::shared_ptr<QObject> & o, QThread * t ) : m_object( o.get() ), m_thread( t ) {}
164 m_thread.setFunction( boost::bind( func, this->context(), this->thread(), boost::weak_ptr<QIODevice>( io ) ) );
168 void run( const T_binder & func, const boost::shared_ptr<QIODevice> & io1, const boost::shared_ptr<QIODevice> & io2 ) {
175 m_thread.setFunction( boost::bind( func, this->context(), this->thread(), boost::weak_ptr<QIODevice>( io1 ), boost::weak_ptr<QIODevice>( io2 ) ) );
219 emit this->result( boost::get<0>( tuple ), boost::get<1>( tuple ), boost::get<2>( tuple ), boost::get<3>( tuple ) );
224 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:168
GpgME::Context * context() const
Definition: threadedjobmixin.h:178
void moveToThread(QThread *targetThread)
ThreadedJobMixin(GpgME::Context *ctx)
Definition: threadedjobmixin.h:140
QString map(const char *token, int subtoken)
Definition: qgpgmeprogresstokenmapper.cpp:93
virtual void resultHook(const result_type &)
Definition: threadedjobmixin.h:180
void showProgress(const char *what, int type, int current, int total)
Definition: threadedjobmixin.h:196
void setFunction(const boost::function< T_result()> &function)
Definition: threadedjobmixin.h:92
GpgME::Error auditLogError() const
Definition: threadedjobmixin.h:195
void lateInitialization()
Definition: threadedjobmixin.h:146
QString audit_log_as_html(GpgME::Context *ctx, GpgME::Error &err)
const char ** patterns() const
Definition: threadedjobmixin.cpp:89
ToThreadMover(const boost::shared_ptr< QObject > &o, QThread *t)
Definition: threadedjobmixin.h:83
PatternConverter(const QByteArray &ba)
Definition: threadedjobmixin.cpp:80
BOOST_STATIC_ASSERT((boost::tuples::length< T_result >::value > 2))
~PatternConverter()
Definition: threadedjobmixin.cpp:99
void run(const T_binder &func)
Definition: threadedjobmixin.h:153
QString auditLogAsHtml() const
Definition: threadedjobmixin.h:194
bool invokeMethod(QObject *obj, const char *member, Qt::ConnectionType type, QGenericReturnArgument ret, QGenericArgument val0, QGenericArgument val1, QGenericArgument val2, QGenericArgument val3, QGenericArgument val4, QGenericArgument val5, QGenericArgument val6, QGenericArgument val7, QGenericArgument val8, QGenericArgument val9)
ToThreadMover(QObject *o, QThread *t)
Definition: threadedjobmixin.h:81
ToThreadMover(QObject &o, QThread *t)
Definition: threadedjobmixin.h:82
Definition: threadedjobmixin.h:88
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
void run(const T_binder &func, const boost::shared_ptr< QIODevice > &io)
Definition: threadedjobmixin.h:158
ThreadedJobMixin< T_base, T_result > mixin_type
Definition: threadedjobmixin.h:116
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:38 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.