certmanager/lib

#include <keyrequester.h>

Inherits TQWidget.

Inherited by Kleo::EncryptionKeyRequester, and Kleo::SigningKeyRequester.

Signals

void changed ()
 

Public Member Functions

 KeyRequester (unsigned int allowedKeys, bool multipleKeys=false, TQWidget *parent=0, const char *name=0)
 
 KeyRequester (TQWidget *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)
 
TQString fingerprint () const
 
void setFingerprint (const TQString &fingerprint)
 
TQStringList fingerprints () const
 
void setFingerprints (const TQStringList &fingerprints)
 
TQPushButton * eraseButton ()
 
TQPushButton * dialogButton ()
 
void setDialogCaption (const TQString &caption)
 
void setDialogMessage (const TQString &message)
 
bool isMultipleKeysEnabled () const
 
void setMultipleKeysEnabled (bool enable)
 
unsigned int allowedKeys () const
 
void setAllowedKeys (unsigned int allowed)
 
void setInitialQuery (const TQString &s)
 
const TQString & initialQuery () const
 

Protected Member Functions

virtual void virtual_hook (int, void *)
 

Detailed Description

Base class for SigningKeyRequester and EncryptionKeyRequester.

Definition at line 76 of file keyrequester.h.

Member Function Documentation

◆ setFingerprint()

void Kleo::KeyRequester::setFingerprint ( const TQString &  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.

◆ setFingerprints()

void Kleo::KeyRequester::setFingerprints ( const TQStringList &  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.

◆ setKey()

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.

◆ setKeys()

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.


The documentation for this class was generated from the following files: