summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/AuthInfo.java
blob: 75d3b21749e34ccfd6b77f157fd28a5232ad33a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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
 retquired 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);
}