summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KAuthIcon.java
blob: bd859eda32b05e182f91c7dd4c987be17d2347ab (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.TQSize;
import org.kde.qt.TQWidget;
import org.kde.qt.TQWidget;

/**

 This is the base class from which different authorization icon widget
 which actually do something should be derived.  You can use these
 widgets to show that the user has (or doesn't have) the ability to do
 something, and why that is.
 One of the most useful things you can do with this is connect
 authChanged(boolean) to setEnabled(boolean) for a widget to turn it on and
 off depending on the status of whatever it is you are monitoring.
 See {@link KAuthIconSignals} for signals emitted by KAuthIcon
		@author Preston Brown <pbrown@kde.org>
 
		@short A base class for authorization icon widgets.
		@see KRootPermsIcon
		@see KWritePermsIcon

*/
public class KAuthIcon extends TQWidget  {
	protected KAuthIcon(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**	
		 Constructor.
		   		@short    Constructor.
	*/
	public native TQSize sizeHint();
	/**	
		 return the status of whatever is being monitored.
		   		@short    return the status of whatever is being monitored.
	*/
	public native boolean status();
	/**	
		 Re-implement this method if you want the icon to update itself
		 when something external has changed (i.e. a file on disk, uid/gid).
		   		@short    Re-implement this method if you want the icon to update itself  when something external has changed (i.
	*/
	public native void updateStatus();
}