summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KSeparator.java
blob: 6c9f08c2f01d6861b8c7705eb3c11dcd3ceb9deb (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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
//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;
import org.kde.qt.TQSize;
import org.kde.qt.TQPainter;
import org.kde.qt.TQWidget;
import org.kde.qt.TQFrame;

/**

 Standard horizontal or vertical separator.
		@author Michael Roth <mroth@wirlweb.de>

		@version $Id$

		@short    Standard horizontal or vertical separator.

*/
public class KSeparator extends TQFrame  {
	protected KSeparator(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	/**	
		 Constructor.
			@param parent parent object.
			@param name name of the new object.
			@param f extra TQWidget flags.
				@short    Constructor.
	*/
	public KSeparator(TQWidget parent, String name, int f) {
		super((Class) null);
		newKSeparator(parent,name,f);
	}
	private native void newKSeparator(TQWidget parent, String name, int f);
	public KSeparator(TQWidget parent, String name) {
		super((Class) null);
		newKSeparator(parent,name);
	}
	private native void newKSeparator(TQWidget parent, String name);
	public KSeparator(TQWidget parent) {
		super((Class) null);
		newKSeparator(parent);
	}
	private native void newKSeparator(TQWidget parent);
	public KSeparator() {
		super((Class) null);
		newKSeparator();
	}
	private native void newKSeparator();
	/**	
		 Constructor.
			@param orientation Set the orientation of the separator.
		 Possible values are HLine or Horizontal and VLine or Vertical.
			@param parent parent object.
			@param name name of the new object.
			@param f extra TQWidget flags.
				@short    Constructor.
	*/
	public KSeparator(int orientation, TQWidget parent, String name, int f) {
		super((Class) null);
		newKSeparator(orientation,parent,name,f);
	}
	private native void newKSeparator(int orientation, TQWidget parent, String name, int f);
	public KSeparator(int orientation, TQWidget parent, String name) {
		super((Class) null);
		newKSeparator(orientation,parent,name);
	}
	private native void newKSeparator(int orientation, TQWidget parent, String name);
	public KSeparator(int orientation, TQWidget parent) {
		super((Class) null);
		newKSeparator(orientation,parent);
	}
	private native void newKSeparator(int orientation, TQWidget parent);
	public KSeparator(int orientation) {
		super((Class) null);
		newKSeparator(orientation);
	}
	private native void newKSeparator(int orientation);
	/**	
		 Returns the orientation of the separator.
				@return int Possible values are VLine and HLine.

		@short    Returns the orientation of the separator.
	*/
	public native int orientation();
	/**	
		 Set the orientation of the separator to <code>orient</code>
			@param orient Possible values are VLine and HLine.
		   		@short    Set the orientation of the separator to <code>orient</code>
	*/
	public native void setOrientation(int orient);
	/**	
		 The recommended height (width) for a horizontal (vertical) separator.
				@short    The recommended height (width) for a horizontal (vertical) separator.
	*/
	public native TQSize sizeHint();
	/**	
			@param p pointer to painter
		   		@short
	*/
	protected native void drawFrame(TQPainter p);
	/** 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();
}