kleopatra
exportcertificatecommand.cpp
Go to the documentation of this file.
90 ExportCertificateCommand::Private * ExportCertificateCommand::d_func() { return static_cast<Private*>(d.get()); }
91 const ExportCertificateCommand::Private * ExportCertificateCommand::d_func() const { return static_cast<const Private*>(d.get()); }
96 ExportCertificateCommand::Private::Private( ExportCertificateCommand * qq, KeyListController * c )
112 ExportCertificateCommand::ExportCertificateCommand( QAbstractItemView * v, KeyListController * p )
154 const std::vector<Key>::iterator firstCms = std::partition( keys.begin(), keys.end(), boost::bind( &GpgME::Key::protocol, _1 ) != CMS );
221 void ExportCertificateCommand::Private::startExportJob( GpgME::Protocol protocol, const std::vector<Key>& keys )
225 const CryptoBackend::Protocol* const backend = CryptoBackendFactory::instance()->protocol( protocol );
229 ? fileName.endsWith( QLatin1String( ".gpg" ), Qt::CaseInsensitive ) || fileName.endsWith( QLatin1String( ".pgp" ), Qt::CaseInsensitive )
292 void ExportCertificateCommand::Private::exportResult( const GpgME::Error& err, const QByteArray& data )
QString openPGPFileName() const
Definition: exportcertificatecommand.cpp:132
const char * outputFileExtension(unsigned int classification)
Definition: classify.cpp:294
Definition: commands/command_p.h:52
Definition: keylistcontroller.h:55
static bool write_complete(QIODevice &iod, const QByteArray &data)
Definition: exportcertificatecommand.cpp:279
Definition: classify.h:56
QString fromLocal8Bit(const char *str, int size)
Definition: classify.h:49
bool isEmpty() const
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const
Definition: classify.h:48
~ExportCertificateCommand()
Definition: exportcertificatecommand.cpp:124
QString getSaveFileNameEx(QWidget *parent=0, const QString &caption=QString(), const QString &dirID=QString(), const QString &proposedFileName=QString(), const QString &filter=QString())
Definition: filedialog.cpp:137
ExportCertificateCommand(QAbstractItemView *view, KeyListController *parent)
Definition: exportcertificatecommand.cpp:112
void setOpenPGPFileName(const QString &fileName)
Definition: exportcertificatecommand.cpp:126
void canceled()
void setX509FileName(const QString &fileName)
Definition: exportcertificatecommand.cpp:137
Definition: classify.h:73
QString x509FileName() const
Definition: exportcertificatecommand.cpp:143
char * data()
qint64 write(const char *data, qint64 maxSize)
QString fromLatin1(const char *str, int size)
int size() const
Definition: commands/command.h:58
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.