libkleo
#include <keyrequester.h>
Signals | |
void | changed () |
Public Member Functions | |
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 *) |
Detailed Description
Base class for SigningKeyRequester and EncryptionKeyRequester.
Definition at line 74 of file keyrequester.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 82 of file keyrequester.cpp.
|
explicit |
Definition at line 95 of file keyrequester.cpp.
Kleo::KeyRequester::~KeyRequester | ( | ) |
Definition at line 142 of file keyrequester.cpp.
Member Function Documentation
unsigned int Kleo::KeyRequester::allowedKeys | ( | ) | const |
Definition at line 383 of file keyrequester.cpp.
|
signal |
QPushButton * Kleo::KeyRequester::dialogButton | ( | ) |
Definition at line 409 of file keyrequester.cpp.
QPushButton * Kleo::KeyRequester::eraseButton | ( | ) |
Definition at line 413 of file keyrequester.cpp.
QString Kleo::KeyRequester::fingerprint | ( | ) | const |
Definition at line 173 of file keyrequester.cpp.
QStringList Kleo::KeyRequester::fingerprints | ( | ) | const |
Definition at line 180 of file keyrequester.cpp.
|
inline |
Definition at line 122 of file keyrequester.h.
bool Kleo::KeyRequester::isMultipleKeysEnabled | ( | ) | const |
Definition at line 369 of file keyrequester.cpp.
const GpgME::Key & Kleo::KeyRequester::key | ( | ) | const |
Definition at line 150 of file keyrequester.cpp.
const std::vector< GpgME::Key > & Kleo::KeyRequester::keys | ( | ) | const |
Definition at line 146 of file keyrequester.cpp.
void Kleo::KeyRequester::setAllowedKeys | ( | unsigned int | allowed | ) |
Definition at line 387 of file keyrequester.cpp.
void Kleo::KeyRequester::setDialogCaption | ( | const QString & | caption | ) |
Definition at line 361 of file keyrequester.cpp.
void Kleo::KeyRequester::setDialogMessage | ( | const QString & | message | ) |
Definition at line 365 of file keyrequester.cpp.
void Kleo::KeyRequester::setFingerprint | ( | const QString & | fingerprint | ) |
Set the key by fingerprint.
Starts a background KeyListJob to retrive the complete GpgME::Key object
Definition at line 189 of file keyrequester.cpp.
void Kleo::KeyRequester::setFingerprints | ( | const QStringList & | fingerprints | ) |
Set the keys by fingerprint.
Starts a background KeyListJob to retrive the complete GpgME::Key objects
Definition at line 193 of file keyrequester.cpp.
|
inline |
Definition at line 121 of file keyrequester.h.
void Kleo::KeyRequester::setKey | ( | const GpgME::Key & | key | ) |
Preferred method to set a key for non-multi-KeyRequesters.
Doesn't start a backend KeyListJob.
Definition at line 166 of file keyrequester.cpp.
void Kleo::KeyRequester::setKeys | ( | const std::vector< GpgME::Key > & | keys | ) |
Preferred method to set a key for multi-KeyRequesters.
Doesn't start a backend KeyListJob.
Definition at line 158 of file keyrequester.cpp.
void Kleo::KeyRequester::setMultipleKeysEnabled | ( | bool | enable | ) |
Definition at line 373 of file keyrequester.cpp.
|
protectedvirtual |
Reimplemented in Kleo::SigningKeyRequester, and Kleo::EncryptionKeyRequester.
Definition at line 479 of file keyrequester.cpp.
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.