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

libkleo

Kleo::KeySelectionDialog

Kleo::KeySelectionDialog Class Reference

#include <keyselectiondialog.h>

Inheritance diagram for Kleo::KeySelectionDialog:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 69 of file keyselectiondialog.h.


Public Types

enum  KeyUsage {
  PublicKeys = 1, SecretKeys = 2, EncryptionKeys = 4, SigningKeys = 8,
  ValidKeys = 16, TrustedKeys = 32, CertificationKeys = 64, AuthenticationKeys = 128,
  OpenPGPKeys = 256, SMIMEKeys = 512, AllKeys = PublicKeys | SecretKeys | OpenPGPKeys | SMIMEKeys, ValidEncryptionKeys = AllKeys | EncryptionKeys | ValidKeys,
  ValidTrustedEncryptionKeys = AllKeys | EncryptionKeys | ValidKeys | TrustedKeys
}

Public Member Functions

QString fingerprint () const
QStringList fingerprints () const
 KeySelectionDialog (const QString &title, const QString &text, const QString &initialPattern, unsigned int keyUsage=AllKeys, bool extendedSelection=false, bool rememberChoice=false, QWidget *parent=0, bool modal=true)
 KeySelectionDialog (const QString &title, const QString &text, const std::vector< GpgME::Key > &selectedKeys=std::vector< GpgME::Key >(), unsigned int keyUsage=AllKeys, bool extendedSelection=false, bool rememberChoice=false, QWidget *parent=0, bool modal=true)
QStringList pgpKeyFingerprints () const
bool rememberSelection () const
const GpgME::Key & selectedKey () const
const std::vector< GpgME::Key > & selectedKeys () const
QStringList smimeFingerprints () const
QVBoxLayout * topLayout () const
 ~KeySelectionDialog ()

Member Enumeration Documentation

enum Kleo::KeySelectionDialog::KeyUsage

Enumerator:
PublicKeys 
SecretKeys 
EncryptionKeys 
SigningKeys 
ValidKeys 
TrustedKeys 
CertificationKeys 
AuthenticationKeys 
OpenPGPKeys 
SMIMEKeys 
AllKeys 
ValidEncryptionKeys 
ValidTrustedEncryptionKeys 

Definition at line 73 of file keyselectiondialog.h.


Constructor & Destructor Documentation

Kleo::KeySelectionDialog::KeySelectionDialog ( const QString &  title,
const QString &  text,
const std::vector< GpgME::Key > &  selectedKeys = std::vector<GpgME::Key>(),
unsigned int  keyUsage = AllKeys,
bool  extendedSelection = false,
bool  rememberChoice = false,
QWidget *  parent = 0,
bool  modal = true 
)

Definition at line 294 of file keyselectiondialog.cpp.

Kleo::KeySelectionDialog::KeySelectionDialog ( const QString &  title,
const QString &  text,
const QString &  initialPattern,
unsigned int  keyUsage = AllKeys,
bool  extendedSelection = false,
bool  rememberChoice = false,
QWidget *  parent = 0,
bool  modal = true 
)

Definition at line 317 of file keyselectiondialog.cpp.

Kleo::KeySelectionDialog::~KeySelectionDialog (  ) 

Definition at line 433 of file keyselectiondialog.cpp.


Member Function Documentation

QString Kleo::KeySelectionDialog::fingerprint (  )  const

Definition at line 465 of file keyselectiondialog.cpp.

QStringList Kleo::KeySelectionDialog::fingerprints (  )  const

Return all the selected fingerprints.

Definition at line 469 of file keyselectiondialog.cpp.

QStringList Kleo::KeySelectionDialog::pgpKeyFingerprints (  )  const

Return the selected openpgp fingerprints.

Definition at line 477 of file keyselectiondialog.cpp.

bool Kleo::KeySelectionDialog::rememberSelection (  )  const

Definition at line 699 of file keyselectiondialog.cpp.

const GpgME::Key & Kleo::KeySelectionDialog::selectedKey (  )  const

Returns the key ID of the selected key in single selection mode.

Otherwise it returns a null key.

Definition at line 458 of file keyselectiondialog.cpp.

const std::vector<GpgME::Key>& Kleo::KeySelectionDialog::selectedKeys (  )  const [inline]

Returns a list of selected key IDs.

Definition at line 114 of file keyselectiondialog.h.

QStringList Kleo::KeySelectionDialog::smimeFingerprints (  )  const

Return the selected smime fingerprints.

Definition at line 486 of file keyselectiondialog.cpp.

QVBoxLayout* Kleo::KeySelectionDialog::topLayout (  )  const [inline]

Definition at line 127 of file keyselectiondialog.h.


The documentation for this class was generated from the following files:
  • keyselectiondialog.h
  • keyselectiondialog.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