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.
Method Summary |
String | className() |
QMetaObject | metaObject() |
QSize | sizeHint()
Constructor. |
boolean | status()
return the status of whatever is being monitored. |
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). |
protected KAuthIcon(Class dummy)
public String className()
public QMetaObject metaObject()
public QSize sizeHint()
Constructor.
UNKNOWN: Constructor.
public boolean status()
return the status of whatever is being monitored.
UNKNOWN: return the status of whatever is being monitored.
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.