summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KPanelAppletSignals.java
blob: a4a5926a5d8067bb1ab1f6214b846a20e729e4af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
import org.kde.qt.TQObject;
import org.kde.qt.TQPopupMenu;
import org.kde.qt.TQEvent;
import org.kde.qt.TQWidget;

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);
}