//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;

/**

 Auth icon for write permission display.
		@author Preston Brown <pbrown@kde.org>
 
		@short    Auth icon for write permission display.
		@see KAuthIcon

*/
public class KWritePermsIcon extends KAuthIcon  {
	protected KWritePermsIcon(Class dummy){super((Class) null);}
	public native QMetaObject metaObject();
	public native String className();
	public KWritePermsIcon(String fileName, QWidget parent, String name) {
		super((Class) null);
		newKWritePermsIcon(fileName,parent,name);
	}
	private native void newKWritePermsIcon(String fileName, QWidget parent, String name);
	public KWritePermsIcon(String fileName, QWidget parent) {
		super((Class) null);
		newKWritePermsIcon(fileName,parent);
	}
	private native void newKWritePermsIcon(String fileName, QWidget parent);
	public KWritePermsIcon(String fileName) {
		super((Class) null);
		newKWritePermsIcon(fileName);
	}
	private native void newKWritePermsIcon(String fileName);
	/**	
				@return whether or not the monitored file is writable.
   
		@short
	*/
	public native boolean status();
	/**	
		 make the icon watch a new filename.
			@param fileName the new file to monitor / display status for.
		   		@short    make the icon watch a new filename.
	*/
	public native void setFileName(String fileName);
	/**	
		 return the filename of the currently watched file.
				@short    return the filename of the currently watched file.
	*/
	public native String fileName();
	public native void updateStatus();
	/** 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();
}
