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.

Constructor & Destructor Documentation

◆ KeyRequester() [1/2]

Kleo::KeyRequester::KeyRequester ( unsigned int  allowedKeys,
bool  multipleKeys = false,
TQWidget *  parent = 0,
const char *  name = 0 
)

Definition at line 84 of file keyrequester.cpp.

◆ KeyRequester() [2/2]

Kleo::KeyRequester::KeyRequester ( TQWidget *  parent = 0,
const char *  name = 0 
)

Definition at line 97 of file keyrequester.cpp.

◆ ~KeyRequester()

Kleo::KeyRequester::~KeyRequester ( )

Definition at line 142 of file keyrequester.cpp.

Member Function Documentation

◆ allowedKeys()

unsigned int Kleo::KeyRequester::allowedKeys ( ) const

Definition at line 377 of file keyrequester.cpp.

◆ dialogButton()

TQPushButton * Kleo::KeyRequester::dialogButton ( )

Definition at line 403 of file keyrequester.cpp.

◆ eraseButton()

TQPushButton * Kleo::KeyRequester::eraseButton ( )

Definition at line 407 of file keyrequester.cpp.

◆ fingerprint()

TQString Kleo::KeyRequester::fingerprint ( ) const

Definition at line 172 of file keyrequester.cpp.

◆ fingerprints()

TQStringList Kleo::KeyRequester::fingerprints ( ) const

Definition at line 179 of file keyrequester.cpp.

◆ initialQuery()

const TQString & Kleo::KeyRequester::initialQuery ( ) const
inline

Definition at line 125 of file keyrequester.h.

◆ isMultipleKeysEnabled()

bool Kleo::KeyRequester::isMultipleKeysEnabled ( ) const

Definition at line 363 of file keyrequester.cpp.

◆ key()

const GpgME::Key & Kleo::KeyRequester::key ( ) const

Definition at line 150 of file keyrequester.cpp.

◆ keys()

const std::vector< GpgME::Key > & Kleo::KeyRequester::keys ( ) const

Definition at line 146 of file keyrequester.cpp.

◆ setAllowedKeys()

void Kleo::KeyRequester::setAllowedKeys ( unsigned int  allowed)

Definition at line 381 of file keyrequester.cpp.

◆ setDialogCaption()

void Kleo::KeyRequester::setDialogCaption ( const TQString &  caption)

Definition at line 355 of file keyrequester.cpp.

◆ setDialogMessage()

void Kleo::KeyRequester::setDialogMessage ( const TQString &  message)

Definition at line 359 of file keyrequester.cpp.

◆ 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.

◆ setInitialQuery()

void Kleo::KeyRequester::setInitialQuery ( const TQString &  s)
inline

Definition at line 124 of file keyrequester.h.

◆ 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.

◆ setMultipleKeysEnabled()

void Kleo::KeyRequester::setMultipleKeysEnabled ( bool  enable)

Definition at line 367 of file keyrequester.cpp.

◆ virtual_hook()

void Kleo::KeyRequester::virtual_hook ( int  ,
void *   
)
protectedvirtual

Definition at line 473 of file keyrequester.cpp.


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