summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KDockWidgetHeader.java
blob: 46bdb0c32f48e715624b2e940fd98b6aad81be0f (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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;

/**

 The header (additional bar) for a KDockWidget s (and member of the dockwidget class set).
 It have got the buttons located there. And it is for recording and reading the button states.
 More or less a minor helper class for the dockwidget class set.
		@author Max Judin (documentation: Falk Brettschneider).
 
		@short    The header (additional bar) for a KDockWidget s (and member of the dockwidget class set).

*/
public class KDockWidgetHeader extends KDockWidgetAbstractHeader  {
	protected KDockWidgetHeader(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**	
		 Constructs this.
			@param parent the parent widget (usually a dockwidget)
			@param name the object instance name
		   		@short    Constructs this.
	*/
	public KDockWidgetHeader(KDockWidget parent, String name) {
		super((Class) null);
		newKDockWidgetHeader(parent,name);
	}
	private native void newKDockWidgetHeader(KDockWidget parent, String name);
	public KDockWidgetHeader(KDockWidget parent) {
		super((Class) null);
		newKDockWidgetHeader(parent);
	}
	private native void newKDockWidgetHeader(KDockWidget parent);
	/**	
		 Hides the close button and stay button when switching to toplevel or vice versa shows them.
			@param t toplevel or not
		   		@short    Hides the close button and stay button when switching to toplevel or vice versa shows them.
	*/
	public native void setTopLevel(boolean t);
	/**	
		 Sets the drag panel of this header.
			@param nd A pointer to the new drag panel
		   		@short    Sets the drag panel of this header.
	*/
	public native void setDragPanel(KDockWidgetHeaderDrag nd);
	/**	
		 Get the drag panel of this header.
				@short    Get the drag panel of this header.
	*/
	public native KDockWidgetHeaderDrag dragPanel();
	public native boolean dragEnabled();
	public native void setDragEnabled(boolean b);
	public native void showUndockButton(boolean show);
	public native void forceCloseButtonHidden(boolean enable);
	public native void forceCloseButtonHidden();
	/**	
		 Saves the current button state to a KDE config container object.
			@param c the configuration safe
		   		@short    Saves the current button state to a KDE config container object.
	*/
	public native void saveConfig(KConfig c);
	/**	
		 Loads the current button state from a KDE config container object.
			@param c the configuration safe
		   		@short    Loads the current button state from a KDE config container object.
	*/
	public native void loadConfig(KConfig c);
	// void addButton(KDockButton_Private* arg1); >>>> NOT CONVERTED
	// void removeButton(KDockButton_Private* arg1); >>>> NOT CONVERTED
	/**	
		 Sets dragging the dockwidget off when the stay button is pressed down and vice versa.
		   		@short    Sets dragging the dockwidget off when the stay button is pressed down and vice versa.
	*/
	protected native void slotStayClicked();
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}