kleopatra
certifycertificatedialog.cpp
Go to the documentation of this file.
128 SelectUserIDsPage::SelectUserIDsPage( QWidget * parent ) : QWizardPage( parent ), m_userIDModel() {
143 connect( &m_userIDModel, SIGNAL(itemChanged(QStandardItem*)), this, SIGNAL(completeChanged()) );
166 SelectCheckLevelPage::SelectCheckLevelPage( QWidget * parent ) : QWizardPage( parent ), m_ui() {
184 connect( m_ui.keyListView->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)), this, SIGNAL(completeChanged()) );
199 m_ui.singleKeyLabel->setText( i18n( "Certification will be performed using certificate %1.", Formatting::prettyNameAndEMail( keys[0] ) ) );
259 m_userIDsLabel->setText( QLatin1String("<qt>") + ids.join( QLatin1String("<br/>") ) + QLatin1String("</qt>") );
260 m_secretKeyLabel->setText( sum.secretKey.isNull() ? i18n( "Default certificate" ) : Formatting::prettyNameAndEMail( sum.secretKey ) );
288 m_resultLabel->setText( i18n( "The certificate was not certified because it was already certified by the same certificate." ) );
290 m_resultLabel->setText( i18n( "The certificate could not be certified. <b>Error</b>: %1", Qt::escape( QString::fromLocal8Bit( err.asString() ) ) ) );
369 setWindowTitle( i18nc( "arg is name, email of certificate holder", "Certify Certificate: %1", Formatting::prettyName( key ) ) );
CertifyCertificateDialog(QWidget *parent=0, Qt::WindowFlags f=0)
Definition: certifycertificatedialog.cpp:361
void setResult(const GpgME::Error &err)
Definition: certifycertificatedialog.cpp:285
SelectCheckLevelPage(QWidget *parent=0)
Definition: certifycertificatedialog.cpp:166
std::vector< unsigned int > checkedUserIDs() const
Definition: certifycertificatedialog.cpp:92
void completeChanged()
int sum(const std::vector< ImportResult > &res, int(ImportResult::*fun)() const )
Definition: importcertificatescommand.cpp:225
void setSummary(const Summary &summary)
Definition: certifycertificatedialog.cpp:254
void setCertificateToCertify(const GpgME::Key &key)
Definition: certifycertificatedialog.cpp:72
void setComplete(bool complete)
Definition: certifycertificatedialog.cpp:279
void setSelectedUserIDs(const std::vector< unsigned int > &indexes)
Definition: certifycertificatedialog.cpp:150
void connectJob(Kleo::SignKeyJob *job)
Definition: certifycertificatedialog.cpp:405
bool nonRevocableCertificationSelected() const
Definition: certifycertificatedialog.cpp:385
bool exportableCertificationSelected() const
Definition: certifycertificatedialog.cpp:190
std::vector< unsigned int > selectedUserIDs() const
Definition: certifycertificatedialog.cpp:454
unsigned int checkLevel
Definition: certifycertificatedialog_p.h:148
void setCheckedUserIDs(const std::vector< unsigned int > &uids)
Definition: certifycertificatedialog.cpp:86
Definition: certifycertificatedialog_p.h:116
GpgME::Key selectedSecretKey() const
Definition: certifycertificatedialog.cpp:206
GpgME::Key certificateToCertify
Definition: certifycertificatedialog_p.h:149
Definition: certifycertificatedialog_p.h:89
bool sendToServer() const
Definition: certifycertificatedialog.cpp:214
bool sendToServer
Definition: certifycertificatedialog_p.h:152
void setCertificatesWithSecretKeys(const std::vector< GpgME::Key > &keys)
Definition: certifycertificatedialog.cpp:373
std::vector< GpgME::Key > secretKeys() const
Definition: certifycertificatedialog.cpp:113
unsigned int checkLevel() const
Definition: certifycertificatedialog.cpp:170
QString prettyUserID(const GpgME::UserID &uid)
QString formatForComboBox(const GpgME::Key &key)
Definition: formatting.cpp:497
Definition: qwizard.h:67
bool exportableCertificationSelected() const
Definition: certifycertificatedialog.cpp:377
void nextClicked()
void setCertificateToCertify(const GpgME::Key &ids)
Definition: certifycertificatedialog.cpp:158
bool sendToServer() const
Definition: certifycertificatedialog.cpp:393
std::vector< unsigned int > selectedUserIDs
Definition: certifycertificatedialog_p.h:147
void setButtonText(QWizard::WizardButton which, const QString &text)
Definition: qwizard.cpp:3726
~CertifyCertificateDialog()
Definition: certifycertificatedialog.cpp:366
bool isComplete() const
Definition: certifycertificatedialog.cpp:250
Definition: certifycertificatedialog_p.h:137
Definition: certifycertificatedialog_p.h:107
QString prettyNameAndEMail(int proto, const char *id, const char *name, const char *email, const char *comment)
Definition: formatting.cpp:87
bool exportable
Definition: certifycertificatedialog_p.h:151
GpgME::Key secretKey
Definition: certifycertificatedialog_p.h:150
GpgME::Key selectedSecretKey() const
Definition: certifycertificatedialog.cpp:389
unsigned int selectedCheckLevel() const
Definition: certifycertificatedialog.cpp:397
bool trustCertificationSelected() const
Definition: certifycertificatedialog.cpp:381
void setCertificatesWithSecretKeys(const std::vector< GpgME::Key > &keys)
Definition: certifycertificatedialog.cpp:194
void setSecretKeys(const std::vector< GpgME::Key > &keys)
Definition: certifycertificatedialog.cpp:100
bool validatePage()
Definition: certifycertificatedialog.cpp:218
OptionsPage(QWidget *parent=0)
Definition: certifycertificatedialog.cpp:181
GpgME::Key keyFromIndex(const QModelIndex &index) const
Definition: certifycertificatedialog.cpp:124
bool isComplete() const
Definition: certifycertificatedialog.cpp:146
QString prettyName(int proto, const char *id, const char *name, const char *comment)
Definition: formatting.cpp:64
Definition: certifycertificatedialog_p.h:146
SummaryPage(QWidget *parent=0)
Definition: certifycertificatedialog.cpp:227
bool isComplete() const
Definition: certifycertificatedialog.cpp:223
void setCertificateToCertify(const GpgME::Key &key)
Definition: certifycertificatedialog.cpp:368
void setError(const GpgME::Error &error)
Definition: certifycertificatedialog.cpp:410
std::vector< unsigned int > selectedUserIDs() const
Definition: certifycertificatedialog.cpp:154
void setSelectedUserIDs(const std::vector< GpgME::UserID > &uids)
Definition: certifycertificatedialog.cpp:434
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.