kleopatra
decryptverifyemailcontroller.cpp
Go to the documentation of this file.
167 void DecryptVerifyEMailController::doTaskDone( const Task* task, const shared_ptr<const Task::Result> & result ) {
177 const shared_ptr<const DecryptVerifyResult> & dvr = boost::dynamic_pointer_cast<const DecryptVerifyResult>( result );
230 DecryptVerifyEMailWizard * DecryptVerifyEMailController::Private::findOrCreateWizard( unsigned int id )
264 std::vector< shared_ptr<AbstractDecryptVerifyTask> > DecryptVerifyEMailController::Private::buildTasks()
271 // these are duplicated from DecryptVerifyCommandEMailBase::Private::checkForErrors with slightly modified error codes/messages
277 throw Kleo::Exception( makeGnuPGError( GPG_ERR_CONFLICT ), //TODO use better error code if possible
282 throw Kleo::Exception( makeGnuPGError( GPG_ERR_CONFLICT ), //TODO use better error code if possible
291 throw Kleo::Exception( makeGnuPGError( GPG_ERR_CONFLICT ), //TODO use better error code if possible
300 const CryptoBackend::Protocol * const backend = CryptoBackendFactory::instance()->protocol( m_protocol );
302 throw Kleo::Exception( makeGnuPGError( GPG_ERR_UNSUPPORTED_PROTOCOL ), i18n("No backend support for %1", Formatting::displayName( m_protocol ) ) );
372 DecryptVerifyEMailController::DecryptVerifyEMailController( QObject* parent ) : Controller( parent ), d( new Private( this ) )
376 DecryptVerifyEMailController::DecryptVerifyEMailController( const shared_ptr<const ExecutionContext> & ctx, QObject* parent ) : Controller( ctx, parent ), d( new Private( this ) )
415 void DecryptVerifyEMailController::setSignedData( const std::vector<shared_ptr<Input> > & data )
425 void DecryptVerifyEMailController::setOutputs( const std::vector<shared_ptr<Output> > & outputs )
430 void DecryptVerifyEMailController::setInformativeSenders( const std::vector<KMime::Types::Mailbox> & senders )
Definition: types.h:55
~DecryptVerifyEMailController()
Definition: decryptverifyemailcontroller.cpp:380
QString displayName(GpgME::Protocol prot)
Definition: task.h:55
Definition: types.h:48
void setSignedData(const boost::shared_ptr< Input > &data)
Definition: decryptverifyemailcontroller.cpp:410
void setOutput(const boost::shared_ptr< Output > &output)
Definition: decryptverifyemailcontroller.cpp:420
void setOperation(DecryptVerifyOperation operation)
Definition: decryptverifyemailcontroller.cpp:442
void setInputs(const std::vector< boost::shared_ptr< Input > > &inputs)
Definition: decryptverifyemailcontroller.cpp:405
void setVerificationMode(VerificationMode vm)
Definition: decryptverifyemailcontroller.cpp:447
void setOutputs(const std::vector< boost::shared_ptr< Output > > &outputs)
Definition: decryptverifyemailcontroller.cpp:425
Definition: types.h:47
DecryptVerifyEMailController(QObject *parent=0)
Definition: decryptverifyemailcontroller.cpp:372
void setWizardShown(bool shown)
Definition: decryptverifyemailcontroller.cpp:435
void start()
Definition: decryptverifyemailcontroller.cpp:382
Definition: decryptverifytask.h:99
void connectTask(const boost::shared_ptr< Task > &task)
Definition: controller.cpp:86
void setProtocol(GpgME::Protocol protocol)
Definition: decryptverifyemailcontroller.cpp:452
Definition: taskcollection.h:49
void cancel()
Definition: decryptverifyemailcontroller.cpp:463
QRect decryptVerifyPopupGeometry() const
Get Decrypt/Verify Popup Geometry.
Definition: emailoperationspreferences.h:65
void setDecryptVerifyPopupGeometry(const QRect &v)
Set Decrypt/Verify Popup Geometry.
Definition: emailoperationspreferences.h:56
Definition: types.h:46
Definition: controller.h:50
void setInformativeSenders(const std::vector< KMime::Types::Mailbox > &senders)
Definition: decryptverifyemailcontroller.cpp:430
void setInput(const boost::shared_ptr< Input > &input)
Definition: decryptverifyemailcontroller.cpp:400
void setSessionId(unsigned int id)
Definition: decryptverifyemailcontroller.cpp:457
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:40 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:56:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.