certmanager/lib

Kleo::KeyRequester Class Reference

#include <keyrequester.h>

List of all members.


Detailed Description

Base class for SigningKeyRequester and EncryptionKeyRequester.

Definition at line 76 of file keyrequester.h.


Signals

void changed ()

Public Member Functions

 KeyRequester (unsigned int allowedKeys, bool multipleKeys=false, QWidget *parent=0, const char *name=0)
 KeyRequester (QWidget *parent=0, const char *name=0)
const GpgME::Key & key () const
void setKey (const GpgME::Key &key)
const std::vector< GpgME::Key > & keys () const
void setKeys (const std::vector< GpgME::Key > &keys)
QString fingerprint () const
void setFingerprint (const QString &fingerprint)
QStringList fingerprints () const
void setFingerprints (const QStringList &fingerprints)
QPushButton * eraseButton ()
QPushButton * dialogButton ()
void setDialogCaption (const QString &caption)
void setDialogMessage (const QString &message)
bool isMultipleKeysEnabled () const
void setMultipleKeysEnabled (bool enable)
unsigned int allowedKeys () const
void setAllowedKeys (unsigned int allowed)
void setInitialQuery (const QString &s)
const QString & initialQuery () const

Protected Member Functions

virtual void virtual_hook (int, void *)

Member Function Documentation

void Kleo::KeyRequester::setFingerprint const QString &  fingerprint  ) 
 

Set the key by fingerprint.

Starts a background KeyListJob to retrive the complete GpgME::Key object

void Kleo::KeyRequester::setFingerprints const QStringList &  fingerprints  ) 
 

Set the keys by fingerprint.

Starts a background KeyListJob to retrive the complete GpgME::Key objects

void Kleo::KeyRequester::setKey const GpgME::Key &  key  ) 
 

Preferred method to set a key for non-multi-KeyRequesters.

Doesn't start a backend KeyListJob.

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.


The documentation for this class was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys