certmanager/lib

Kleo::KeyRequester Class Reference

#include <keyrequester.h>

Inheritance diagram for Kleo::KeyRequester:

Kleo::EncryptionKeyRequester Kleo::SigningKeyRequester 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)
 ~KeyRequester ()
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::setKey ( const GpgME::Key &  key  ) 

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

Doesn't start a backend KeyListJob.

Definition at line 165 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 157 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 188 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 192 of file keyrequester.cpp.


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