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

libkleo

  • Kleo
  • KeyRequester
Signals | Public Member Functions | Protected Member Functions | List of all members
Kleo::KeyRequester Class Reference

#include <keyrequester.h>

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

Signals

void changed ()
 

Public Member Functions

 KeyRequester (unsigned int allowedKeys, bool multipleKeys=false, QWidget *parent=0)
 
 KeyRequester (QWidget *parent=0)
 
 ~KeyRequester ()
 
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
 
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)
 

Protected Member Functions

virtual void virtual_hook (int, void *)
 

Detailed Description

Base class for SigningKeyRequester and EncryptionKeyRequester.

Definition at line 74 of file keyrequester.h.

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)
explicit

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

void Kleo::KeyRequester::changed ( )
signal
QPushButton * Kleo::KeyRequester::dialogButton ( )

Definition at line 409 of file keyrequester.cpp.

QPushButton * Kleo::KeyRequester::eraseButton ( )

Definition at line 413 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 369 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 387 of file keyrequester.cpp.

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

Definition at line 361 of file keyrequester.cpp.

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

Definition at line 365 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 373 of file keyrequester.cpp.

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

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

Definition at line 479 of file keyrequester.cpp.


The documentation for this class was generated from the following files:
  • keyrequester.h
  • keyrequester.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:57:49 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libkleo

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

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal