libkleo
Kleo::SigningKeyRequester Class Reference
#include <keyrequester.h>
Inheritance diagram for Kleo::SigningKeyRequester:
Public Types | |
enum | { OpenPGP = 1, SMIME = 2, AllProtocols = OpenPGP|SMIME } |
Public Member Functions | |
SigningKeyRequester (bool multipleKeys=false, unsigned int proto=AllProtocols, QWidget *parent=0, bool onlyTrusted=true, bool onlyValid=true) | |
SigningKeyRequester (QWidget *parent) | |
~SigningKeyRequester () | |
void | setAllowedKeys (unsigned int proto, bool onlyTrusted=true, bool onlyValid=true) |
Public Member Functions inherited from Kleo::KeyRequester | |
KeyRequester (unsigned int allowedKeys, bool multipleKeys=false, QWidget *parent=0) | |
KeyRequester (QWidget *parent=0) | |
~KeyRequester () | |
unsigned int | allowedKeys () const |
QPushButton * | dialogButton () |
QPushButton * | eraseButton () |
QString | fingerprint () const |
QStringList | fingerprints () const |
const QString & | initialQuery () const |
bool | isMultipleKeysEnabled () const |
const GpgME::Key & | key () const |
const std::vector< GpgME::Key > & | keys () const |
void | setAllowedKeys (unsigned int allowed) |
void | setDialogCaption (const QString &caption) |
void | setDialogMessage (const QString &message) |
void | setFingerprint (const QString &fingerprint) |
void | setFingerprints (const QStringList &fingerprints) |
void | setInitialQuery (const QString &s) |
void | setKey (const GpgME::Key &key) |
void | setKeys (const std::vector< GpgME::Key > &keys) |
void | setMultipleKeysEnabled (bool enable) |
Protected Member Functions | |
virtual void | virtual_hook (int, void *) |
Additional Inherited Members | |
Signals inherited from Kleo::KeyRequester | |
void | changed () |
Detailed Description
Definition at line 188 of file keyrequester.h.
Member Enumeration Documentation
anonymous enum |
Enumerator | |
---|---|
OpenPGP | |
SMIME | |
AllProtocols |
Definition at line 191 of file keyrequester.h.
Constructor & Destructor Documentation
|
explicit |
Preferred constructor.
- Parameters
-
multipleKeys whether multiple keys can be selected proto the allowed protocols, OpenPGP and/or SMIME onlyTrusted only show trusted keys onlyValid only show valid keys
Definition at line 459 of file keyrequester.cpp.
|
explicit |
Constructor for Qt designer.
Definition at line 467 of file keyrequester.cpp.
Kleo::SigningKeyRequester::~SigningKeyRequester | ( | ) |
Definition at line 472 of file keyrequester.cpp.
Member Function Documentation
void Kleo::SigningKeyRequester::setAllowedKeys | ( | unsigned int | proto, |
bool | onlyTrusted = true , |
||
bool | onlyValid = true |
||
) |
Definition at line 474 of file keyrequester.cpp.
|
protectedvirtual |
Reimplemented from Kleo::KeyRequester.
Definition at line 483 of file keyrequester.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
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
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.