kio Library API Documentation

KSSLCertDlg Class Reference

KDE X.509 Certificate Dialog KDE X.509 Certificate Dialog. More...

#include <ksslcertdlg.h>

Inheritance diagram for KSSLCertDlg:

KDialog QDialog List of all members.

Public Member Functions

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

Detailed Description

KDE X.509 Certificate Dialog 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

Definition at line 44 of file ksslcertdlg.h.


Constructor & Destructor Documentation

KSSLCertDlg::KSSLCertDlg QWidget parent = 0L,
const char *  name = 0L,
bool  modal = false
 

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 46 of file ksslcertdlg.cc.

References KSSLCertDlg().

Referenced by KSSLCertDlg().

KSSLCertDlg::~KSSLCertDlg  )  [virtual]
 

Destroy this object and close the dialog.

Definition at line 78 of file ksslcertdlg.cc.


Member Function Documentation

void KSSLCertDlg::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 83 of file ksslcertdlg.cc.

References setup(), and setupDialog().

Referenced by setup().

void KSSLCertDlg::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 87 of file ksslcertdlg.cc.

References setupDialog().

Referenced by setup(), and setupDialog().

QString KSSLCertDlg::getChoice  ) 
 

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

Returns:
the name of the certificate

Definition at line 114 of file ksslcertdlg.cc.

bool KSSLCertDlg::wantsToSend  ) 
 

Determine if the user wants to send a certificate.

Returns:
true if the user wants to send a certificate

Definition at line 109 of file ksslcertdlg.cc.

bool KSSLCertDlg::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 104 of file ksslcertdlg.cc.

void KSSLCertDlg::setHost const QString host  ) 
 

Set the hostname that we are connecting to.

Parameters:
host the hostname

Definition at line 119 of file ksslcertdlg.cc.

References setHost().

Referenced by setHost().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kio Library Version 3.2.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun Oct 10 18:55:32 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003