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.
37 lines
1.4 KiB
37 lines
1.4 KiB
//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);
|
|
}
|