kgpg
keyservers.cpp
Go to the documentation of this file.
107 startImport(page->kLEimportid->text().simplified().split(QLatin1Char( ' ' )), page->kCBimportks->currentText(), page->kLEproxyI->text());
115 KMessageBox::sorry(this, i18n("You need to configure keyservers before trying to download keys."),
163 KGpgSendKeys *nk = new KGpgSendKeys(this, page->kCBimportks->currentText(), keyIds, expattr, true, page->kLEproxyI->text());
220 connect(m_listpop->filterEdit, SIGNAL(textChanged(QString)), SLOT(slotSetFilterString(QString)));
221 connect(m_listpop->kLVsearch->selectionModel(), SIGNAL(selectionChanged(QItemSelection,QItemSelection)), SLOT(transferKeyID()));
223 connect(m_listpop->kLVsearch, SIGNAL(activated(QModelIndex)), m_dialogserver, SIGNAL(okClicked()));
225 connect(m_listpop->kLEID, SIGNAL(clearButtonClicked()), m_listpop->kLVsearch->selectionModel(), SLOT(clearSelection()));
238 m_searchproc = new KGpgKeyserverSearchTransaction(this, keyserv, page->kLEimportid->text().simplified(),
241 connect(m_searchproc, SIGNAL(newKey(QStringList)), m_resultmodel, SLOT(slotAddKey(QStringList)));
343 serverList.replaceInStrings(QRegExp(QLatin1String(" .*")), QString()); // Remove kde 3.5 (Default) tag.
Definition: kgpgitemmodel.h:44
void slotSetKeyserver(const QString &server)
Definition: keyservers.cpp:364
base class for transactions downloading from key servers
Definition: kgpgkeyserversearchtransaction.h:26
virtual void setSourceModel(QAbstractItemModel *sourceModel)
Definition: keyservers.h:31
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
QString getImportMessage() const
get textual summary of the import events
Definition: kgpgimport.cpp:96
virtual int rowCount(const QModelIndex &parent=QModelIndex()) const
Definition: kgpgsearchresultmodel.cpp:304
void setKeyModel(KGpgItemModel *)
Definition: keylistproxymodel.cpp:253
static QString getDetailedImportMessage(const QStringList &log, const KGpgItemModel *model=NULL)
get detailed summary of import
Definition: kgpgimport.cpp:206
void clear()
void setMinimumSize(const QSize &)
const QStringList & getLog() const
Definition: kgpgkeyservergettransaction.cpp:59
void setEnabled(bool)
void setTrustFilter(const KgpgCore::KgpgKeyTrustFlag t)
set the minimum trust level to be shown
Definition: keylistproxymodel.cpp:466
Definition: detailedconsole.h:23
void setFocus()
Model of the results of a keyserver search.
Definition: kgpgsearchresultmodel.h:36
bool isEmpty() const
bool isEmpty() const
KeyServer(QWidget *parent=0, KGpgItemModel *model=0, const bool autoclose=false)
Definition: keyservers.cpp:38
void setOverrideCursor(const QCursor &cursor)
Definition: keyservers.h:41
void setDynamicSortFilter(bool enable)
void restoreOverrideCursor()
base class for transactions downloading from key servers
Definition: kgpgkeyservergettransaction.h:26
void startImport(const QStringList &keys, QString server=QString(), const QString &proxy=QString())
import the given keys
Definition: keyservers.cpp:110
QStringList & replaceInStrings(const QString &before, const QString &after, Qt::CaseSensitivity cs)
void deleteLater()
T & first()
trust value undefined (i.e. you did not set a trust level)
Definition: kgpgkey.h:59
sizeHint
Definition: keylistproxymodel.h:30
virtual QModelIndex mapToSource(const QModelIndex &proxyIndex) const
virtual QModelIndex index(int row, int column, const QModelIndex &parent=QModelIndex()) const
Definition: kgpgsearchresultmodel.cpp:261
void setSortCaseSensitivity(Qt::CaseSensitivity cs)
T takeFirst()
const QString & idForIndex(const QModelIndex &index) const
get the key fingerprint for the given index
Definition: kgpgsearchresultmodel.cpp:343
Definition: newkey.h:24
class for downloading new keys from keyserver
Definition: kgpgkeyservergettransaction.h:68
QList< T > toList() const
void importFinished(QStringList)
static QStringList getImportedIds(const QStringList &log, const int reason=-1)
get the full fingerprints of the imported keys
Definition: kgpgimport.cpp:59
void prepend(const T &value)
void setFilterKeyColumn(int column)
void setFilterRegExp(const QRegExp ®Exp)
void slotSetExportAttribute(const QString &attr)
Definition: keyservers.cpp:288
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:08 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:42:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.