kleopatra
decryptverifyemailcontroller.cpp
Go to the documentation of this file.
169 void DecryptVerifyEMailController::doTaskDone( const Task* task, const shared_ptr<const Task::Result> & result ) {
179 const shared_ptr<const DecryptVerifyResult> & dvr = boost::dynamic_pointer_cast<const DecryptVerifyResult>( result );
232 DecryptVerifyEMailWizard * DecryptVerifyEMailController::Private::findOrCreateWizard( unsigned int id )
266 std::vector< shared_ptr<AbstractDecryptVerifyTask> > DecryptVerifyEMailController::Private::buildTasks()
273 // these are duplicated from DecryptVerifyCommandEMailBase::Private::checkForErrors with slightly modified error codes/messages
279 throw Kleo::Exception( makeGnuPGError( GPG_ERR_CONFLICT ), //TODO use better error code if possible
284 throw Kleo::Exception( makeGnuPGError( GPG_ERR_CONFLICT ), //TODO use better error code if possible
293 throw Kleo::Exception( makeGnuPGError( GPG_ERR_CONFLICT ), //TODO use better error code if possible
302 const CryptoBackend::Protocol * const backend = CryptoBackendFactory::instance()->protocol( m_protocol );
304 throw Kleo::Exception( makeGnuPGError( GPG_ERR_UNSUPPORTED_PROTOCOL ), i18n("No backend support for %1", Formatting::displayName( m_protocol ) ) );
374 DecryptVerifyEMailController::DecryptVerifyEMailController( QObject* parent ) : Controller( parent ), d( new Private( this ) )
378 DecryptVerifyEMailController::DecryptVerifyEMailController( const shared_ptr<const ExecutionContext> & ctx, QObject* parent ) : Controller( ctx, parent ), d( new Private( this ) )
417 void DecryptVerifyEMailController::setSignedData( const std::vector<shared_ptr<Input> > & data )
427 void DecryptVerifyEMailController::setOutputs( const std::vector<shared_ptr<Output> > & outputs )
432 void DecryptVerifyEMailController::setInformativeSenders( const std::vector<KMime::Types::Mailbox> & senders )
Definition: types.h:55
~DecryptVerifyEMailController()
Definition: decryptverifyemailcontroller.cpp:382
QString displayName(GpgME::Protocol prot)
Definition: task.h:57
Definition: types.h:48
bool disconnect(const QObject *sender, const char *signal, const QObject *receiver, const char *method)
void setSignedData(const boost::shared_ptr< Input > &data)
Definition: decryptverifyemailcontroller.cpp:412
void setOutput(const boost::shared_ptr< Output > &output)
Definition: decryptverifyemailcontroller.cpp:422
void setOperation(DecryptVerifyOperation operation)
Definition: decryptverifyemailcontroller.cpp:444
void setInputs(const std::vector< boost::shared_ptr< Input > > &inputs)
Definition: decryptverifyemailcontroller.cpp:407
void setVerificationMode(VerificationMode vm)
Definition: decryptverifyemailcontroller.cpp:449
void setOutputs(const std::vector< boost::shared_ptr< Output > > &outputs)
Definition: decryptverifyemailcontroller.cpp:427
Definition: types.h:47
DecryptVerifyEMailController(QObject *parent=0)
Definition: decryptverifyemailcontroller.cpp:374
void setWizardShown(bool shown)
Definition: decryptverifyemailcontroller.cpp:437
virtual void accept()
void start()
Definition: decryptverifyemailcontroller.cpp:384
Definition: decryptverifytask.h:101
bool isValid() const
void connectTask(const boost::shared_ptr< Task > &task)
Definition: controller.cpp:85
void setProtocol(GpgME::Protocol protocol)
Definition: decryptverifyemailcontroller.cpp:454
Definition: taskcollection.h:51
void cancel()
Definition: decryptverifyemailcontroller.cpp:465
typedef WindowFlags
Definition: types.h:46
Definition: controller.h:52
void setInformativeSenders(const std::vector< KMime::Types::Mailbox > &senders)
Definition: decryptverifyemailcontroller.cpp:432
void setInput(const boost::shared_ptr< Input > &input)
Definition: decryptverifyemailcontroller.cpp:402
void setSessionId(unsigned int id)
Definition: decryptverifyemailcontroller.cpp:459
singleShot
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:10 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:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.