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

libkleo

  • Kleo
  • KeySelectionDialog
Public Types | Public Member Functions | List of all members
Kleo::KeySelectionDialog Class Reference

#include <keyselectiondialog.h>

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

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

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

Detailed Description

Definition at line 69 of file keyselectiondialog.h.

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 303 of file keyselectiondialog.cpp.

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

Definition at line 326 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 352 of file keyselectiondialog.cpp.

Kleo::KeySelectionDialog::~KeySelectionDialog ( )

Definition at line 489 of file keyselectiondialog.cpp.

Member Function Documentation

QString Kleo::KeySelectionDialog::fingerprint ( ) const

Definition at line 521 of file keyselectiondialog.cpp.

QStringList Kleo::KeySelectionDialog::fingerprints ( ) const

Return all the selected fingerprints.

Definition at line 525 of file keyselectiondialog.cpp.

QStringList Kleo::KeySelectionDialog::pgpKeyFingerprints ( ) const

Return the selected openpgp fingerprints.

Definition at line 533 of file keyselectiondialog.cpp.

bool Kleo::KeySelectionDialog::rememberSelection ( ) const

Definition at line 767 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 514 of file keyselectiondialog.cpp.

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

Returns a list of selected key IDs.

Definition at line 123 of file keyselectiondialog.h.

QStringList Kleo::KeySelectionDialog::smimeFingerprints ( ) const

Return the selected smime fingerprints.

Definition at line 542 of file keyselectiondialog.cpp.

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

Definition at line 136 of file keyselectiondialog.h.


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