From 90825e2392b2d70e43c7a25b8a3752299a933894 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdejava/koala/org/kde/koala/KSSLCertDlg.java | 94 ++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) create mode 100644 kdejava/koala/org/kde/koala/KSSLCertDlg.java (limited to 'kdejava/koala/org/kde/koala/KSSLCertDlg.java') diff --git a/kdejava/koala/org/kde/koala/KSSLCertDlg.java b/kdejava/koala/org/kde/koala/KSSLCertDlg.java new file mode 100644 index 00000000..1e12d218 --- /dev/null +++ b/kdejava/koala/org/kde/koala/KSSLCertDlg.java @@ -0,0 +1,94 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.QMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.QWidget; + +/** + + 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 + + @short KDE X.509 Certificate Dialog. + @see KSSL + +*/ +public class KSSLCertDlg extends KDialog { + protected KSSLCertDlg(Class dummy){super((Class) null);} + public native QMetaObject 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(QWidget parent, String name, boolean modal) { + super((Class) null); + newKSSLCertDlg(parent,name,modal); + } + private native void newKSSLCertDlg(QWidget parent, String name, boolean modal); + public KSSLCertDlg(QWidget parent, String name) { + super((Class) null); + newKSSLCertDlg(parent,name); + } + private native void newKSSLCertDlg(QWidget parent, String name); + public KSSLCertDlg(QWidget parent) { + super((Class) null); + newKSSLCertDlg(parent); + } + private native void newKSSLCertDlg(QWidget 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(); +} -- cgit v1.2.3