summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQMainWindow.java
blob: ee177b6b6d4205124ed6e7347d37c4455e401997 (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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.Qt;

/**
 See {@link TQMainWindowSignals} for signals emitted by TQMainWindow
*/
public class TQMainWindow extends TQWidget  {
	protected TQMainWindow(Class dummy){super((Class) null);}
	public static final int OnlyToolBars = 0;
	public static final int NoToolBars = 1;
	public static final int AllDockWindows = 2;

	public native TQMetaObject metaObject();
	public native String className();
	public TQMainWindow(TQWidget parent, String name, int f) {
		super((Class) null);
		newTQMainWindow(parent,name,f);
	}
	private native void newTQMainWindow(TQWidget parent, String name, int f);
	public TQMainWindow(TQWidget parent, String name) {
		super((Class) null);
		newTQMainWindow(parent,name);
	}
	private native void newTQMainWindow(TQWidget parent, String name);
	public TQMainWindow(TQWidget parent) {
		super((Class) null);
		newTQMainWindow(parent);
	}
	private native void newTQMainWindow(TQWidget parent);
	public TQMainWindow() {
		super((Class) null);
		newTQMainWindow();
	}
	private native void newTQMainWindow();
	public native TQMenuBar menuBar();
	public native TQStatusBar statusBar();
	public native TQToolTipGroup toolTipGroup();
	public native void setCentralWidget(TQWidget arg1);
	public native TQWidget centralWidget();
	public native void setDockEnabled(int dock, boolean enable);
	public native boolean isDockEnabled(int dock);
	public native boolean isDockEnabled(TQDockArea area);
	public native void setDockEnabled(TQDockWindow tb, int dock, boolean enable);
	public native boolean isDockEnabled(TQDockWindow tb, int dock);
	public native boolean isDockEnabled(TQDockWindow tb, TQDockArea area);
	public native void addDockWindow(TQDockWindow arg1, int arg2, boolean newLine);
	public native void addDockWindow(TQDockWindow arg1, int arg2);
	public native void addDockWindow(TQDockWindow arg1);
	public native void addDockWindow(TQDockWindow arg1, String label, int arg3, boolean newLine);
	public native void addDockWindow(TQDockWindow arg1, String label, int arg3);
	public native void addDockWindow(TQDockWindow arg1, String label);
	public native void moveDockWindow(TQDockWindow arg1, int arg2);
	public native void moveDockWindow(TQDockWindow arg1);
	public native void moveDockWindow(TQDockWindow arg1, int arg2, boolean nl, int index, int extraOffset);
	public native void moveDockWindow(TQDockWindow arg1, int arg2, boolean nl, int index);
	public native void removeDockWindow(TQDockWindow arg1);
	public native void show();
	public native void hide();
	public native TQSize sizeHint();
	public native TQSize minimumSizeHint();
	public native boolean rightJustification();
	public native boolean usesBigPixmaps();
	public native boolean usesTextLabel();
	public native boolean dockWindowsMovable();
	public native boolean opaqueMoving();
	public native boolean eventFilter(TQObject arg1, TQEvent arg2);
	public native boolean getLocation(TQDockWindow tb, int dock, int[] index, boolean nl, int[] extraOffset);
	// TQPtrList<TQDockWindow> dockWindows(TQt::Dock arg1); >>>> NOT CONVERTED
	// TQPtrList<TQDockWindow> dockWindows(); >>>> NOT CONVERTED
	public native void lineUpDockWindows(boolean keepNewLines);
	public native void lineUpDockWindows();
	public native boolean isDockMenuEnabled();
	public native boolean hasDockWindow(TQDockWindow dw);
	public native void addToolBar(TQDockWindow arg1, int arg2, boolean newLine);
	public native void addToolBar(TQDockWindow arg1, int arg2);
	public native void addToolBar(TQDockWindow arg1);
	public native void addToolBar(TQDockWindow arg1, String label, int arg3, boolean newLine);
	public native void addToolBar(TQDockWindow arg1, String label, int arg3);
	public native void addToolBar(TQDockWindow arg1, String label);
	public native void moveToolBar(TQDockWindow arg1, int arg2);
	public native void moveToolBar(TQDockWindow arg1);
	public native void moveToolBar(TQDockWindow arg1, int arg2, boolean nl, int index, int extraOffset);
	public native void moveToolBar(TQDockWindow arg1, int arg2, boolean nl, int index);
	public native void removeToolBar(TQDockWindow arg1);
	public native boolean toolBarsMovable();
	// TQPtrList<TQToolBar> toolBars(TQt::Dock arg1); >>>> NOT CONVERTED
	public native void lineUpToolBars(boolean keepNewLines);
	public native void lineUpToolBars();
	public native TQDockArea dockingArea(TQPoint p);
	public native TQDockArea leftDock();
	public native TQDockArea rightDock();
	public native TQDockArea topDock();
	public native TQDockArea bottomDock();
	public native boolean isCustomizable();
	public native boolean appropriate(TQDockWindow dw);
	public native TQPopupMenu createDockWindowMenu(int dockWindows);
	public native TQPopupMenu createDockWindowMenu();
	public native void setRightJustification(boolean arg1);
	public native void setUsesBigPixmaps(boolean arg1);
	public native void setUsesTextLabel(boolean arg1);
	public native void setDockWindowsMovable(boolean arg1);
	public native void setOpaqueMoving(boolean arg1);
	public native void setDockMenuEnabled(boolean arg1);
	public native void whatsThis();
	public native void setAppropriate(TQDockWindow dw, boolean a);
	public native void customize();
	public native void setToolBarsMovable(boolean arg1);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void paintEvent(TQPaintEvent arg1);
	protected native void childEvent(TQChildEvent arg1);
	public native boolean event(TQEvent arg1);
	public native void styleChange(TQStyle arg1);
	protected native void setUpLayout();
	protected native boolean showDockMenu(TQPoint globalPos);
	protected native void menuAboutToShow();
	/** 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();
}