org.kde.koala

Class KAuthIcon

public class KAuthIcon extends 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 KAuthIconSignals for signals emitted by KAuthIcon

Author: Preston Brown

See Also: KRootPermsIcon KWritePermsIcon

UNKNOWN: A base class for authorization icon widgets.

Constructor Summary
protected KAuthIcon(Class dummy)
Method Summary
StringclassName()
QMetaObjectmetaObject()
QSizesizeHint()
Constructor.
booleanstatus()
return the status of whatever is being monitored.
voidupdateStatus()
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).

Constructor Detail

KAuthIcon

protected KAuthIcon(Class dummy)

Method Detail

className

public String className()

metaObject

public QMetaObject metaObject()

sizeHint

public QSize sizeHint()
Constructor.

UNKNOWN: Constructor.

status

public boolean status()
return the status of whatever is being monitored.

UNKNOWN: return the status of whatever is being monitored.

updateStatus

public void updateStatus()
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).

UNKNOWN: Re-implement this method if you want the icon to update itself when something external has changed (i.