KIO
#include <ksslcertdialog.h>
Public Member Functions | |
KSSLCertDialog (QWidget *parent=0L, const char *name=0L, bool modal=false) | |
virtual | ~KSSLCertDialog () |
QString | getChoice () |
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 () |
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.
Definition at line 45 of file ksslcertdialog.h.
Constructor & Destructor Documentation
|
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 47 of file ksslcertdialog.cpp.
|
virtual |
Destroy this object and close the dialog.
Definition at line 89 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 130 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 120 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 139 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
Definition at line 95 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 100 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 125 of file ksslcertdialog.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:04 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.