\section{KSSLCert\-Dlg Class Reference}
\label{classKSSLCertDlg}\index{KSSLCertDlg@{KSSLCertDlg}}
{\bf KDE} X.509 Certificate Dialog {\bf KDE} X.509 Certificate Dialog.  


{\tt \#include $<$ksslcertdlg.h$>$}

Inheritance diagram for KSSLCert\-Dlg:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=55pt]{classKSSLCertDlg__inherit__graph}
\end{center}
\end{figure}
Collaboration diagram for KSSLCert\-Dlg:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=254pt]{classKSSLCertDlg__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf KSSLCert\-Dlg} ({\bf QWidget} $\ast$parent=0L, const char $\ast$name=0L, bool modal=false)
\item 
virtual {\bf $\sim$KSSLCert\-Dlg} ()
\item 
void {\bf setup} ({\bf QString\-List} certs, bool save\-Checked=false, bool send\-Checked=true) KDE\_\-DEPRECATED
\item 
void {\bf setup\-Dialog} (const {\bf QString\-List} \&certs, bool save\-Checked=false, bool send\-Checked=true)
\item 
{\bf QString} {\bf get\-Choice} ()
\item 
bool {\bf wants\-To\-Send} ()
\item 
bool {\bf save\-Choice} ()
\item 
void {\bf set\-Host} (const {\bf QString} \&host)
\end{CompactItemize}


\subsection{Detailed Description}
{\bf KDE} X.509 Certificate Dialog {\bf 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.

\begin{Desc}
\item[Author:]George Staikos $<${\tt staikos@kde.org}$>$ \end{Desc}
\begin{Desc}
\item[See also:]{\bf KSSL}{\rm (p.\,\pageref{classKSSL})} \end{Desc}




Definition at line 43 of file ksslcertdlg.h.

\subsection{Constructor \& Destructor Documentation}
\index{KSSLCertDlg@{KSSLCert\-Dlg}!KSSLCertDlg@{KSSLCertDlg}}
\index{KSSLCertDlg@{KSSLCertDlg}!KSSLCertDlg@{KSSLCert\-Dlg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KSSLCert\-Dlg::KSSLCert\-Dlg ({\bf QWidget} $\ast$ {\em parent} = {\tt 0L}, const char $\ast$ {\em name} = {\tt 0L}, bool {\em modal} = {\tt false})}\label{classKSSLCertDlg_a0}


Construct a {\bf KSSL}{\rm (p.\,\pageref{classKSSL})} certificate dialog. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em parent}]the parent widget \item[{\em name}]the internal name of this instance \item[{\em modal}]create a modal dialog if set to true\end{description}
\end{Desc}


Definition at line 47 of file ksslcertdlg.cc.

References QDialog::accept(), QList\-View::add\-Column(), QGrid\-Layout::add\-Multi\-Cell\-Widget(), QGrid\-Layout::add\-Widget(), and KDialog::set\-Caption().\index{KSSLCertDlg@{KSSLCert\-Dlg}!~KSSLCertDlg@{$\sim$KSSLCertDlg}}
\index{~KSSLCertDlg@{$\sim$KSSLCertDlg}!KSSLCertDlg@{KSSLCert\-Dlg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}KSSLCert\-Dlg::$\sim${\bf KSSLCert\-Dlg} ()\hspace{0.3cm}{\tt  [virtual]}}\label{classKSSLCertDlg_a1}


Destroy this object and close the dialog. 



Definition at line 79 of file ksslcertdlg.cc.

\subsection{Member Function Documentation}
\index{KSSLCertDlg@{KSSLCert\-Dlg}!setup@{setup}}
\index{setup@{setup}!KSSLCertDlg@{KSSLCert\-Dlg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KSSLCert\-Dlg::setup ({\bf QString\-List} {\em certs}, bool {\em save\-Checked} = {\tt false}, bool {\em send\-Checked} = {\tt true})}\label{classKSSLCertDlg_a2}


Setup the dialog. 

Call this before you display the dialog.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em certs}]the list of possible certificates \item[{\em save\-Checked}]save the checked item for the future \item[{\em send\-Checked}]send the checked item to the remote host \end{description}
\end{Desc}
\begin{Desc}
\item[{\bf Deprecated}]\end{Desc}


Definition at line 84 of file ksslcertdlg.cc.

References setup\-Dialog().\index{KSSLCertDlg@{KSSLCert\-Dlg}!setupDialog@{setupDialog}}
\index{setupDialog@{setupDialog}!KSSLCertDlg@{KSSLCert\-Dlg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KSSLCert\-Dlg::setup\-Dialog (const {\bf QString\-List} \& {\em certs}, bool {\em save\-Checked} = {\tt false}, bool {\em send\-Checked} = {\tt true})}\label{classKSSLCertDlg_a3}


Setup the dialog. 

Call this before you display the dialog.

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em certs}]the list of possible certificates \item[{\em save\-Checked}]save the checked item for the future \item[{\em send\-Checked}]send the checked item to the remote host\end{description}
\end{Desc}


Definition at line 88 of file ksslcertdlg.cc.

References QList\-View::first\-Child(), QRadio\-Button::set\-Checked(), QCheck\-Box::set\-Checked(), and QList\-View::set\-Selected().

Referenced by setup().\index{KSSLCertDlg@{KSSLCert\-Dlg}!getChoice@{getChoice}}
\index{getChoice@{getChoice}!KSSLCertDlg@{KSSLCert\-Dlg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf QString} KSSLCert\-Dlg::get\-Choice ()}\label{classKSSLCertDlg_a4}


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

\begin{Desc}
\item[Returns:]the name of the certificate\end{Desc}


Definition at line 115 of file ksslcertdlg.cc.

References QList\-View::selected\-Item().\index{KSSLCertDlg@{KSSLCert\-Dlg}!wantsToSend@{wantsToSend}}
\index{wantsToSend@{wantsToSend}!KSSLCertDlg@{KSSLCert\-Dlg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KSSLCert\-Dlg::wants\-To\-Send ()}\label{classKSSLCertDlg_a5}


Determine if the user wants to send a certificate. 

\begin{Desc}
\item[Returns:]true if the user wants to send a certificate\end{Desc}


Definition at line 110 of file ksslcertdlg.cc.

References QRadio\-Button::is\-Checked().\index{KSSLCertDlg@{KSSLCert\-Dlg}!saveChoice@{saveChoice}}
\index{saveChoice@{saveChoice}!KSSLCertDlg@{KSSLCert\-Dlg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool KSSLCert\-Dlg::save\-Choice ()}\label{classKSSLCertDlg_a6}


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

\begin{Desc}
\item[Returns:]true if the user wants to save the choice.\end{Desc}


Definition at line 105 of file ksslcertdlg.cc.

References QCheck\-Box::is\-Checked().\index{KSSLCertDlg@{KSSLCert\-Dlg}!setHost@{setHost}}
\index{setHost@{setHost}!KSSLCertDlg@{KSSLCert\-Dlg}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void KSSLCert\-Dlg::set\-Host (const {\bf QString} \& {\em host})}\label{classKSSLCertDlg_a7}


Set the hostname that we are connecting to. 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em host}]the hostname\end{description}
\end{Desc}


Definition at line 120 of file ksslcertdlg.cc.

References KDialog::set\-Caption().

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
ksslcertdlg.h\item 
ksslcertdlg.cc\end{CompactItemize}
