You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/kdejava/koala/org/kde/koala/KAuthIcon.java

49 lines
1.6 KiB

//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.QSize;
import org.kde.qt.QWidget;
import org.kde.qt.QWidget;
/**
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 QWidget {
protected KAuthIcon(Class dummy){super((Class) null);}
public native QMetaObject metaObject();
public native String className();
/**
Constructor.
@short Constructor.
*/
public native QSize 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();
}