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