diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KPanelAppletSignals.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KPanelAppletSignals.java | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/KPanelAppletSignals.java b/kdejava/koala/org/kde/koala/KPanelAppletSignals.java new file mode 100644 index 00000000..8b0d8351 --- /dev/null +++ b/kdejava/koala/org/kde/koala/KPanelAppletSignals.java @@ -0,0 +1,36 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.QMetaObject; +import org.kde.qt.QtSupport; +import org.kde.qt.QObject; +import org.kde.qt.QPopupMenu; +import org.kde.qt.QEvent; +import org.kde.qt.QWidget; + +public interface KPanelAppletSignals { + /** + Emit this signal to make the panel relayout all applets, when + you want to change your width (horizontal panel) or + height (vertical panel). + The panel is going to relayout all applets based on their + widthForHeight(int height) (horizontal panel) or + heightForWidth(int width) (vertical panel). + Please note that the panel may change the applet's location + if the new widthForHeight(int height) (horizontal panel) or + heightForWidth(int width) (vertical panel) does not fit into the + current panel layout. + @short Emit this signal to make the panel relayout all applets, when you want to change your width (horizontal panel) or height (vertical panel). + */ + void updateLayout(); + /** + Request keyboard focus from the panel. Applets should never call this directly + but rather call needsFocus(boolean) + @param focus activate the window and ensure the panel remains visible when true + Each and ever time a requestFocus(true) is emitted, it MUST be paired eventually + with a requestFocus(false) otherwise the panel may end up never hiding + @short Request keyboard focus from the panel. + @see #needsFocus + */ + void requestFocus(boolean focus); +} |