libkleo
#include <keyselectiondialog.h>
Public Types | |
enum | KeyUsage { PublicKeys = 1, SecretKeys = 2, EncryptionKeys = 4, SigningKeys = 8, ValidKeys = 16, TrustedKeys = 32, CertificationKeys = 64, AuthenticationKeys = 128, OpenPGPKeys = 256, SMIMEKeys = 512, AllKeys = PublicKeys | SecretKeys | OpenPGPKeys | SMIMEKeys, ValidEncryptionKeys = AllKeys | EncryptionKeys | ValidKeys, ValidTrustedEncryptionKeys = AllKeys | EncryptionKeys | ValidKeys | TrustedKeys } |
Public Member Functions | |
KeySelectionDialog (const QString &title, const QString &text, const std::vector< GpgME::Key > &selectedKeys=std::vector< GpgME::Key >(), unsigned int keyUsage=AllKeys, bool extendedSelection=false, bool rememberChoice=false, QWidget *parent=0, bool modal=true) | |
KeySelectionDialog (const QString &title, const QString &text, const QString &initialPattern, const std::vector< GpgME::Key > &selectedKeys, unsigned int keyUsage=AllKeys, bool extendedSelection=false, bool rememberChoice=false, QWidget *parent=0, bool modal=true) | |
KeySelectionDialog (const QString &title, const QString &text, const QString &initialPattern, unsigned int keyUsage=AllKeys, bool extendedSelection=false, bool rememberChoice=false, QWidget *parent=0, bool modal=true) | |
~KeySelectionDialog () | |
QString | fingerprint () const |
QStringList | fingerprints () const |
QStringList | pgpKeyFingerprints () const |
bool | rememberSelection () const |
const GpgME::Key & | selectedKey () const |
const std::vector< GpgME::Key > & | selectedKeys () const |
QStringList | smimeFingerprints () const |
QVBoxLayout * | topLayout () const |
Detailed Description
Definition at line 69 of file keyselectiondialog.h.
Member Enumeration Documentation
Enumerator | |
---|---|
PublicKeys | |
SecretKeys | |
EncryptionKeys | |
SigningKeys | |
ValidKeys | |
TrustedKeys | |
CertificationKeys | |
AuthenticationKeys | |
OpenPGPKeys | |
SMIMEKeys | |
AllKeys | |
ValidEncryptionKeys | |
ValidTrustedEncryptionKeys |
Definition at line 73 of file keyselectiondialog.h.
Constructor & Destructor Documentation
Kleo::KeySelectionDialog::KeySelectionDialog | ( | const QString & | title, |
const QString & | text, | ||
const std::vector< GpgME::Key > & | selectedKeys = std::vector<GpgME::Key>() , |
||
unsigned int | keyUsage = AllKeys , |
||
bool | extendedSelection = false , |
||
bool | rememberChoice = false , |
||
QWidget * | parent = 0 , |
||
bool | modal = true |
||
) |
Definition at line 303 of file keyselectiondialog.cpp.
Kleo::KeySelectionDialog::KeySelectionDialog | ( | const QString & | title, |
const QString & | text, | ||
const QString & | initialPattern, | ||
const std::vector< GpgME::Key > & | selectedKeys, | ||
unsigned int | keyUsage = AllKeys , |
||
bool | extendedSelection = false , |
||
bool | rememberChoice = false , |
||
QWidget * | parent = 0 , |
||
bool | modal = true |
||
) |
Definition at line 326 of file keyselectiondialog.cpp.
Kleo::KeySelectionDialog::KeySelectionDialog | ( | const QString & | title, |
const QString & | text, | ||
const QString & | initialPattern, | ||
unsigned int | keyUsage = AllKeys , |
||
bool | extendedSelection = false , |
||
bool | rememberChoice = false , |
||
QWidget * | parent = 0 , |
||
bool | modal = true |
||
) |
Definition at line 352 of file keyselectiondialog.cpp.
Kleo::KeySelectionDialog::~KeySelectionDialog | ( | ) |
Definition at line 489 of file keyselectiondialog.cpp.
Member Function Documentation
QString Kleo::KeySelectionDialog::fingerprint | ( | ) | const |
Definition at line 521 of file keyselectiondialog.cpp.
QStringList Kleo::KeySelectionDialog::fingerprints | ( | ) | const |
Return all the selected fingerprints.
Definition at line 525 of file keyselectiondialog.cpp.
QStringList Kleo::KeySelectionDialog::pgpKeyFingerprints | ( | ) | const |
Return the selected openpgp fingerprints.
Definition at line 533 of file keyselectiondialog.cpp.
bool Kleo::KeySelectionDialog::rememberSelection | ( | ) | const |
Definition at line 767 of file keyselectiondialog.cpp.
const GpgME::Key & Kleo::KeySelectionDialog::selectedKey | ( | ) | const |
Returns the key ID of the selected key in single selection mode.
Otherwise it returns a null key.
Definition at line 514 of file keyselectiondialog.cpp.
|
inline |
Returns a list of selected key IDs.
Definition at line 123 of file keyselectiondialog.h.
QStringList Kleo::KeySelectionDialog::smimeFingerprints | ( | ) | const |
Return the selected smime fingerprints.
Definition at line 542 of file keyselectiondialog.cpp.
|
inline |
Definition at line 136 of file keyselectiondialog.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:57:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.