kleopatra
certificateselectiondialog.cpp
Go to the documentation of this file.
150 QPushButton * const reload = buttonBox.addButton( i18n("Reload"), QDialogButtonBox::ActionRole );
151 QPushButton * const lookup = buttonBox.addButton( i18n("Lookup..."), QDialogButtonBox::ActionRole );
152 QPushButton * const create = buttonBox.addButton( i18n("New..."), QDialogButtonBox::ActionRole );
188 const KSharedConfig::Ptr config = KSharedConfig::openConfig( QLatin1String("kleopatracertificateselectiondialogrc") );
234 const KeyListModelInterface * const model = dynamic_cast<KeyListModelInterface*>( view->model() );
252 const KeyListModelInterface * const model = dynamic_cast<KeyListModelInterface*>( view->model() );
265 KSharedConfig::Ptr config = KSharedConfig::openConfig( QLatin1String("kleopatracertificateselectiondialogrc") );
274 std::vector<Key> keys = (options & SecretKeys) ? KeyCache::instance()->secretKeys() : KeyCache::instance()->keys() ;
317 void CertificateSelectionDialog::Private::slotCurrentViewChanged( QAbstractItemView * newView ) {
322 disconnect( lastView->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)),
344 const KeyListModelInterface * const model = dynamic_cast<KeyListModelInterface*>( view->model() );
void setOptions(Options options)
Definition: certificateselectiondialog.cpp:208
void selectCertificates(const std::vector< GpgME::Key > &certs)
Definition: certificateselectiondialog.cpp:230
void setCustomLabelText(const QString &text)
Definition: certificateselectiondialog.cpp:197
Definition: tabwidget.h:58
QItemSelectionModel * selectionModel() const
Definition: searchbar.h:50
const QRect & geometry() const
Definition: reloadkeyscommand.h:41
virtual QList< QModelIndex > indexes(const std::vector< GpgME::Key > &keys) const =0
~CertificateSelectionDialog()
Definition: certificateselectiondialog.cpp:195
static AbstractKeyListModel * createHierarchicalKeyListModel(QObject *parent=0)
Definition: keylistmodel.cpp:880
Options options() const
Definition: certificateselectiondialog.cpp:218
void resize(int w, int h)
bool isValid() const
Definition: certificateselectiondialog.h:62
void setEnabled(bool)
void setKeyFilter(const boost::shared_ptr< Kleo::KeyFilter > &filter)
Definition: certificateselectiondialog.cpp:226
Definition: classify.h:49
void accept()
Definition: certificateselectiondialog.cpp:353
virtual void hideEvent(QHideEvent *event)
virtual void select(const QModelIndex &index, QFlags< QItemSelectionModel::SelectionFlag > command)
QString customLabelText() const
Definition: certificateselectiondialog.cpp:204
QModelIndexList selectedRows(int column) const
GpgME::Key selectedCertificate() const
Definition: certificateselectiondialog.cpp:259
std::vector< GpgME::Key > selectedCertificates() const
Definition: certificateselectiondialog.cpp:248
Definition: classify.h:48
virtual void accept()
Definition: keylistmodel.h:49
bool invokeMethod(QObject *obj, const char *member, Qt::ConnectionType type, QGenericReturnArgument ret, QGenericArgument val0, QGenericArgument val1, QGenericArgument val2, QGenericArgument val3, QGenericArgument val4, QGenericArgument val5, QGenericArgument val6, QGenericArgument val7, QGenericArgument val8, QGenericArgument val9)
void selectCertificate(const GpgME::Key &key)
Definition: certificateselectiondialog.cpp:244
Definition: setinitialpindialog.cpp:61
void setWindowTitle(const QString &)
static AbstractKeyListModel * createFlatKeyListModel(QObject *parent=0)
Definition: keylistmodel.cpp:871
static boost::shared_ptr< const KeyCache > instance()
Definition: keycache.cpp:190
typedef WindowFlags
void setToolTip(const QString &)
QAbstractItemModel * model() const
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:222
Definition: commands/command.h:58
void hideEvent(QHideEvent *)
Definition: certificateselectiondialog.cpp:264
Definition: classify.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.