• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

libkleo

Kleo::KeyRequester

Kleo::KeyRequester Class Reference

#include <keyrequester.h>

Inheritance diagram for Kleo::KeyRequester:

Inheritance graph
[legend]

List of all members.


Detailed Description

Base class for SigningKeyRequester and EncryptionKeyRequester.

Definition at line 74 of file keyrequester.h.


Signals

void changed ()

Public Member Functions

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

Protected Member Functions

virtual void virtual_hook (int, void *)

Constructor & Destructor Documentation

Kleo::KeyRequester::KeyRequester ( unsigned int  allowedKeys,
bool  multipleKeys = false,
QWidget *  parent = 0 
) [explicit]

Definition at line 82 of file keyrequester.cpp.

Kleo::KeyRequester::KeyRequester ( QWidget *  parent = 0  ) 

Definition at line 95 of file keyrequester.cpp.

Kleo::KeyRequester::~KeyRequester (  ) 

Definition at line 142 of file keyrequester.cpp.


Member Function Documentation

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

Definition at line 377 of file keyrequester.cpp.

void Kleo::KeyRequester::changed (  )  [signal]

QPushButton * Kleo::KeyRequester::dialogButton (  ) 

Definition at line 403 of file keyrequester.cpp.

QPushButton * Kleo::KeyRequester::eraseButton (  ) 

Definition at line 407 of file keyrequester.cpp.

QString Kleo::KeyRequester::fingerprint (  )  const

Definition at line 173 of file keyrequester.cpp.

QStringList Kleo::KeyRequester::fingerprints (  )  const

Definition at line 180 of file keyrequester.cpp.

const QString& Kleo::KeyRequester::initialQuery (  )  const [inline]

Definition at line 122 of file keyrequester.h.

bool Kleo::KeyRequester::isMultipleKeysEnabled (  )  const

Definition at line 363 of file keyrequester.cpp.

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

Definition at line 150 of file keyrequester.cpp.

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

Definition at line 146 of file keyrequester.cpp.

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

Definition at line 381 of file keyrequester.cpp.

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

Definition at line 355 of file keyrequester.cpp.

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

Definition at line 359 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 189 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 193 of file keyrequester.cpp.

void Kleo::KeyRequester::setInitialQuery ( const QString &  s  )  [inline]

Definition at line 121 of file keyrequester.h.

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 166 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 158 of file keyrequester.cpp.

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

Definition at line 367 of file keyrequester.cpp.

void Kleo::KeyRequester::virtual_hook ( int  ,
void *   
) [protected, virtual]

Reimplemented in Kleo::EncryptionKeyRequester, and Kleo::SigningKeyRequester.

Definition at line 473 of file keyrequester.cpp.


The documentation for this class was generated from the following files:
  • keyrequester.h
  • keyrequester.cpp

libkleo

Skip menu "libkleo"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal