diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/AuthInfo.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/AuthInfo.java | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/AuthInfo.java b/kdejava/koala/org/kde/koala/AuthInfo.java new file mode 100644 index 00000000..56b786da --- /dev/null +++ b/kdejava/koala/org/kde/koala/AuthInfo.java @@ -0,0 +1,61 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.QtSupport; + +/** + + This class is intended to make it easier to prompt for, cache + and retrieve authorization information. + When using this class to cache, retrieve or prompt authentication + information, you only need to set the necessary attributes. For + example, to check whether a password is already cached, the only + required information is the URL of the resource and optionally + whether or not a path match should be performed. Similarly, to + prompt for password you only need to optionally set the prompt, + username (if already supplied), comment and commentLabel fields. + <em>SPECIAL NOTE:</em> If you extend this class to add additional + parameters do not forget to overload the stream insertion and + extraction operators ("<<" and ">>") so that the added data can + be correctly serialzed. + @author Dawit Alemayehu <adawit@kde.org> + + @short A two way messaging class for passing authentication information. + +*/ +public class AuthInfo implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected AuthInfo(Class dummy){} + + /** + Default constructor. + @short Default constructor. + */ + public AuthInfo() { + newAuthInfo(); + } + private native void newAuthInfo(); + /** + Copy constructor. + @short Copy constructor. + */ + public AuthInfo(AuthInfo info) { + newAuthInfo(info); + } + private native void newAuthInfo(AuthInfo info); + /** + Use this method to check if the object was modified. + @return true if the object has been modified + + @short Use this method to check if the object was modified. + */ + public native boolean isModified(); + /** + Use this method to indicate that this object has been modified. + @param flag true to mark the object as modified, false to clear + @short Use this method to indicate that this object has been modified. + */ + public native void setModified(boolean flag); +} |