kleopatra
certificateselectiondialog.cpp
Go to the documentation of this file.
148 QPushButton * const reload = buttonBox.addButton( i18n("Reload"), QDialogButtonBox::ActionRole );
149 QPushButton * const lookup = buttonBox.addButton( i18n("Lookup..."), QDialogButtonBox::ActionRole );
150 QPushButton * const create = buttonBox.addButton( i18n("New..."), QDialogButtonBox::ActionRole );
186 const KSharedConfig::Ptr config = KSharedConfig::openConfig( QLatin1String("kleopatracertificateselectiondialogrc") );
232 const KeyListModelInterface * const model = dynamic_cast<KeyListModelInterface*>( view->model() );
250 const KeyListModelInterface * const model = dynamic_cast<KeyListModelInterface*>( view->model() );
263 KSharedConfig::Ptr config = KSharedConfig::openConfig( QLatin1String("kleopatracertificateselectiondialogrc") );
272 std::vector<Key> keys = (options & SecretKeys) ? KeyCache::instance()->secretKeys() : KeyCache::instance()->keys() ;
315 void CertificateSelectionDialog::Private::slotCurrentViewChanged( QAbstractItemView * newView ) {
320 disconnect( lastView->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
342 const KeyListModelInterface * const model = dynamic_cast<KeyListModelInterface*>( view->model() );
void setOptions(Options options)
Definition: certificateselectiondialog.cpp:206
void selectCertificates(const std::vector< GpgME::Key > &certs)
Definition: certificateselectiondialog.cpp:228
void setCustomLabelText(const QString &text)
Definition: certificateselectiondialog.cpp:195
Definition: tabwidget.h:56
Definition: searchbar.h:48
Definition: reloadkeyscommand.h:41
virtual QList< QModelIndex > indexes(const std::vector< GpgME::Key > &keys) const =0
~CertificateSelectionDialog()
Definition: certificateselectiondialog.cpp:193
static AbstractKeyListModel * createHierarchicalKeyListModel(QObject *parent=0)
Definition: keylistmodel.cpp:886
Options options() const
Definition: certificateselectiondialog.cpp:216
Definition: certificateselectiondialog.h:62
void setKeyFilter(const boost::shared_ptr< Kleo::KeyFilter > &filter)
Definition: certificateselectiondialog.cpp:224
Definition: classify.h:49
void accept()
Definition: certificateselectiondialog.cpp:351
QString customLabelText() const
Definition: certificateselectiondialog.cpp:202
GpgME::Key selectedCertificate() const
Definition: certificateselectiondialog.cpp:257
std::vector< GpgME::Key > selectedCertificates() const
Definition: certificateselectiondialog.cpp:246
Definition: classify.h:48
Definition: keylistmodel.h:49
void selectCertificate(const GpgME::Key &key)
Definition: certificateselectiondialog.cpp:242
Definition: setinitialpindialog.cpp:59
static AbstractKeyListModel * createFlatKeyListModel(QObject *parent=0)
Definition: keylistmodel.cpp:877
static boost::shared_ptr< const KeyCache > instance()
Definition: keycache.cpp:189
void setProtocol(GpgME::Protocol proto)
Definition: newcertificatecommand.cpp:100
void setParentWidget(QWidget *widget)
Definition: commands/command.cpp:136
void setStringFilter(const QString &text)
Definition: certificateselectiondialog.cpp:220
Definition: commands/command.h:58
void hideEvent(QHideEvent *)
Definition: certificateselectiondialog.cpp:262
Definition: classify.h:58
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.