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 ) ) );
QLayout * layout() const
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
bool close()
std::vector< unsigned int > checkedUserIDs() const
Definition: certifycertificatedialog.cpp:92
int sum(const std::vector< ImportResult > &res, int(ImportResult::*fun)() const )
Definition: importcertificatescommand.cpp:224
void addWidget(QWidget *widget, int row, int column, QFlags< Qt::AlignmentFlag > alignment)
void setCommitPage(bool commitPage)
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
virtual void setModel(QAbstractItemModel *model)
void connectJob(Kleo::SignKeyJob *job)
Definition: certifycertificatedialog.cpp:405
bool nonRevocableCertificationSelected() const
Definition: certifycertificatedialog.cpp:385
bool exportableCertificationSelected() const
Definition: certifycertificatedialog.cpp:190
void completeChanged()
std::vector< unsigned int > selectedUserIDs() const
Definition: certifycertificatedialog.cpp:454
unsigned int checkLevel
Definition: certifycertificatedialog_p.h:144
void setCheckedUserIDs(const std::vector< unsigned int > &uids)
Definition: certifycertificatedialog.cpp:86
void setAlignment(QFlags< Qt::AlignmentFlag >)
Definition: certifycertificatedialog_p.h:112
GpgME::Key selectedSecretKey() const
Definition: certifycertificatedialog.cpp:206
GpgME::Key certificateToCertify
Definition: certifycertificatedialog_p.h:145
Definition: certifycertificatedialog_p.h:85
bool sendToServer() const
Definition: certifycertificatedialog.cpp:214
QString join(const QString &separator) const
bool sendToServer
Definition: certifycertificatedialog_p.h:148
void setCertificatesWithSecretKeys(const std::vector< GpgME::Key > &keys)
Definition: certifycertificatedialog.cpp:373
std::vector< GpgME::Key > secretKeys() const
Definition: certifycertificatedialog.cpp:113
virtual void setData(const QVariant &value, int role)
unsigned int checkLevel() const
Definition: certifycertificatedialog.cpp:170
QString prettyUserID(const GpgME::UserID &uid)
QString formatForComboBox(const GpgME::Key &key)
Definition: formatting.cpp:497
void addWidget(QWidget *widget, int stretch, QFlags< Qt::AlignmentFlag > alignment)
QString fromLocal8Bit(const char *str, int size)
bool exportableCertificationSelected() const
Definition: certifycertificatedialog.cpp:377
void nextClicked()
uint toUInt(bool *ok) const
void setRowStretch(int row, int stretch)
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:143
void setTextFormat(Qt::TextFormat)
~CertifyCertificateDialog()
Definition: certifycertificatedialog.cpp:366
int result() const
void setText(const QString &)
bool isComplete() const
Definition: certifycertificatedialog.cpp:250
Definition: certifycertificatedialog_p.h:133
Definition: certifycertificatedialog_p.h:103
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:147
GpgME::Key secretKey
Definition: certifycertificatedialog_p.h:146
GpgME::Key selectedSecretKey() const
Definition: certifycertificatedialog.cpp:389
unsigned int selectedCheckLevel() const
Definition: certifycertificatedialog.cpp:397
void setText(const QString &text)
bool trustCertificationSelected() const
Definition: certifycertificatedialog.cpp:381
void setChecked(bool)
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
QString escape(const QString &plain)
bool isComplete() const
Definition: certifycertificatedialog.cpp:146
QString prettyName(int proto, const char *id, const char *name, const char *comment)
Definition: formatting.cpp:64
void setWindowTitle(const QString &)
Definition: certifycertificatedialog_p.h:142
SummaryPage(QWidget *parent=0)
Definition: certifycertificatedialog.cpp:227
bool isComplete() const
Definition: certifycertificatedialog.cpp:223
void setText(const QString &text)
typedef WindowFlags
void setCertificateToCertify(const GpgME::Key &key)
Definition: certifycertificatedialog.cpp:368
void setError(const GpgME::Error &error)
Definition: certifycertificatedialog.cpp:410
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
std::vector< unsigned int > selectedUserIDs() const
Definition: certifycertificatedialog.cpp:154
void setCheckable(bool checkable)
virtual QVariant data(int role) const
void setWordWrap(bool on)
void setEditable(bool editable)
void setButtonText(QWizard::WizardButton which, const QString &text)
void setSelectedUserIDs(const std::vector< GpgME::UserID > &uids)
Definition: certifycertificatedialog.cpp:434
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.