certmanager/lib Library API Documentation

Kleo::KeyRequester Class Reference

Base class for SigningKeyRequester and EncryptionKeyRequester. More...

#include <keyrequester.h>

Inheritance diagram for Kleo::KeyRequester:

Inheritance graph
[legend]
Collaboration diagram for Kleo::KeyRequester:

Collaboration graph
[legend]
List of all members.

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)
QPushButtoneraseButton ()
QPushButtondialogButton ()
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 QStringinitialQuery () const

Protected Member Functions

virtual void virtual_hook (int, void *)

Detailed Description

Base class for SigningKeyRequester and EncryptionKeyRequester.

Definition at line 75 of file keyrequester.h.


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.

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.

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


The documentation for this class was generated from the following file:
KDE Logo
This file is part of the documentation for certmanager/lib Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Oct 4 14:40:41 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003