//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQWidget;

/**

 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>

		@short KDE X.509 Certificate Dialog.
		@see KSSL

*/
public class KSSLCertDlg extends KDialog  {
	protected KSSLCertDlg(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**
		  Construct a KSSL certificate dialog
			@param parent the parent widget
			@param name the internal name of this instance
			@param modal create a modal dialog if set to true
			 		@short     Construct a KSSL certificate dialog
	*/
	public KSSLCertDlg(TQWidget parent, String name, boolean modal) {
		super((Class) null);
		newKSSLCertDlg(parent,name,modal);
	}
	private native void newKSSLCertDlg(TQWidget parent, String name, boolean modal);
	public KSSLCertDlg(TQWidget parent, String name) {
		super((Class) null);
		newKSSLCertDlg(parent,name);
	}
	private native void newKSSLCertDlg(TQWidget parent, String name);
	public KSSLCertDlg(TQWidget parent) {
		super((Class) null);
		newKSSLCertDlg(parent);
	}
	private native void newKSSLCertDlg(TQWidget parent);
	public KSSLCertDlg() {
		super((Class) null);
		newKSSLCertDlg();
	}
	private native void newKSSLCertDlg();
	/**
		  Setup the dialog. Call this before you display the dialog.
			@param certs the list of possible certificates
			@param saveChecked save the checked item for the future
			@param sendChecked send the checked item to the remote host
			 		@short     Setup the dialog.
	*/
	public native void setupDialog(String[] certs, boolean saveChecked, boolean sendChecked);
	public native void setupDialog(String[] certs, boolean saveChecked);
	public native void setupDialog(String[] certs);
	/**
		  Obtain the name of the certificate the user wants to send
				@return the name of the certificate

		@short     Obtain the name of the certificate the user wants to send
	*/
	public native String getChoice();
	/**
		  Determine if the user wants to send a certificate.
				@return true if the user wants to send a certificate

		@short     Determine if the user wants to send a certificate.
	*/
	public native boolean wantsToSend();
	/**
		  Determine if the user wants to save the choice for the future.
				@return true if the user wants to save the choice.

		@short     Determine if the user wants to save the choice for the future.
	*/
	public native boolean saveChoice();
	/**
		  Set the hostname that we are connecting to.
			@param host the hostname
			 		@short     Set the hostname that we are connecting to.
	*/
	public native void setHost(String host);
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}
