• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KIO

KSSLCertDialog Class Reference

#include <ksslcertdialog.h>

Inheritance diagram for KSSLCertDialog:

Inheritance graph
[legend]

List of all members.


Detailed Description

KDE X.509 Certificate Dialog.

This class is used to create and display a dialog which contains the user's X.509 certificates and allows the user to present it during SSL sessions.

Author:
George Staikos <staikos@kde.org>
See also:
KSSL KDE X.509 Certificate Dialog

Definition at line 45 of file ksslcertdialog.h.


Public Member Functions

QString getChoice ()
 KSSLCertDialog (QWidget *parent=0L, const char *name=0L, bool modal=false)
bool saveChoice ()
void setHost (const QString &host)
void setup (QStringList certs, bool saveChecked=false, bool sendChecked=true)
void setupDialog (const QStringList &certs, bool saveChecked=false, bool sendChecked=true)
bool wantsToSend ()
virtual ~KSSLCertDialog ()

Constructor & Destructor Documentation

KSSLCertDialog::KSSLCertDialog ( QWidget *  parent = 0L,
const char *  name = 0L,
bool  modal = false 
) [explicit]

Construct a KSSL certificate dialog.

Parameters:
parent the parent widget
name the internal name of this instance
modal create a modal dialog if set to true

Definition at line 50 of file ksslcertdialog.cpp.

KSSLCertDialog::~KSSLCertDialog (  )  [virtual]

Destroy this object and close the dialog.

Definition at line 94 of file ksslcertdialog.cpp.


Member Function Documentation

QString KSSLCertDialog::getChoice (  ) 

Obtain the name of the certificate the user wants to send.

Returns:
the name of the certificate

Definition at line 133 of file ksslcertdialog.cpp.

bool KSSLCertDialog::saveChoice (  ) 

Determine if the user wants to save the choice for the future.

Returns:
true if the user wants to save the choice.

Definition at line 123 of file ksslcertdialog.cpp.

void KSSLCertDialog::setHost ( const QString &  host  ) 

Set the hostname that we are connecting to.

Parameters:
host the hostname

Definition at line 142 of file ksslcertdialog.cpp.

void KSSLCertDialog::setup ( QStringList  certs,
bool  saveChecked = false,
bool  sendChecked = true 
)

Setup the dialog.

Call this before you display the dialog.

Parameters:
certs the list of possible certificates
saveChecked save the checked item for the future
sendChecked send the checked item to the remote host
Deprecated:

Definition at line 99 of file ksslcertdialog.cpp.

void KSSLCertDialog::setupDialog ( const QStringList &  certs,
bool  saveChecked = false,
bool  sendChecked = true 
)

Setup the dialog.

Call this before you display the dialog.

Parameters:
certs the list of possible certificates
saveChecked save the checked item for the future
sendChecked send the checked item to the remote host

Definition at line 103 of file ksslcertdialog.cpp.

bool KSSLCertDialog::wantsToSend (  ) 

Determine if the user wants to send a certificate.

Returns:
true if the user wants to send a certificate

Definition at line 128 of file ksslcertdialog.cpp.


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

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs 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