diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KAuthIcon.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KAuthIcon.java | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/KAuthIcon.java b/kdejava/koala/org/kde/koala/KAuthIcon.java new file mode 100644 index 00000000..b3794b6b --- /dev/null +++ b/kdejava/koala/org/kde/koala/KAuthIcon.java @@ -0,0 +1,48 @@ +//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(); +} |