//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;

/**
 See {@link QMainWindowSignals} for signals emitted by QMainWindow
*/
public class QMainWindow extends QWidget  {
	protected QMainWindow(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 QMetaObject metaObject();
	public native String className();
	public QMainWindow(QWidget parent, String name, int f) {
		super((Class) null);
		newQMainWindow(parent,name,f);
	}
	private native void newQMainWindow(QWidget parent, String name, int f);
	public QMainWindow(QWidget parent, String name) {
		super((Class) null);
		newQMainWindow(parent,name);
	}
	private native void newQMainWindow(QWidget parent, String name);
	public QMainWindow(QWidget parent) {
		super((Class) null);
		newQMainWindow(parent);
	}
	private native void newQMainWindow(QWidget parent);
	public QMainWindow() {
		super((Class) null);
		newQMainWindow();
	}
	private native void newQMainWindow();
	public native QMenuBar menuBar();
	public native QStatusBar statusBar();
	public native QToolTipGroup toolTipGroup();
	public native void setCentralWidget(QWidget arg1);
	public native QWidget centralWidget();
	public native void setDockEnabled(int dock, boolean enable);
	public native boolean isDockEnabled(int dock);
	public native boolean isDockEnabled(QDockArea area);
	public native void setDockEnabled(QDockWindow tb, int dock, boolean enable);
	public native boolean isDockEnabled(QDockWindow tb, int dock);
	public native boolean isDockEnabled(QDockWindow tb, QDockArea area);
	public native void addDockWindow(QDockWindow arg1, int arg2, boolean newLine);
	public native void addDockWindow(QDockWindow arg1, int arg2);
	public native void addDockWindow(QDockWindow arg1);
	public native void addDockWindow(QDockWindow arg1, String label, int arg3, boolean newLine);
	public native void addDockWindow(QDockWindow arg1, String label, int arg3);
	public native void addDockWindow(QDockWindow arg1, String label);
	public native void moveDockWindow(QDockWindow arg1, int arg2);
	public native void moveDockWindow(QDockWindow arg1);
	public native void moveDockWindow(QDockWindow arg1, int arg2, boolean nl, int index, int extraOffset);
	public native void moveDockWindow(QDockWindow arg1, int arg2, boolean nl, int index);
	public native void removeDockWindow(QDockWindow arg1);
	public native void show();
	public native void hide();
	public native QSize sizeHint();
	public native QSize 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(QObject arg1, QEvent arg2);
	public native boolean getLocation(QDockWindow tb, int dock, int[] index, boolean nl, int[] extraOffset);
	// QPtrList<QDockWindow> dockWindows(Qt::Dock arg1); >>>> NOT CONVERTED
	// QPtrList<QDockWindow> dockWindows(); >>>> NOT CONVERTED
	public native void lineUpDockWindows(boolean keepNewLines);
	public native void lineUpDockWindows();
	public native boolean isDockMenuEnabled();
	public native boolean hasDockWindow(QDockWindow dw);
	public native void addToolBar(QDockWindow arg1, int arg2, boolean newLine);
	public native void addToolBar(QDockWindow arg1, int arg2);
	public native void addToolBar(QDockWindow arg1);
	public native void addToolBar(QDockWindow arg1, String label, int arg3, boolean newLine);
	public native void addToolBar(QDockWindow arg1, String label, int arg3);
	public native void addToolBar(QDockWindow arg1, String label);
	public native void moveToolBar(QDockWindow arg1, int arg2);
	public native void moveToolBar(QDockWindow arg1);
	public native void moveToolBar(QDockWindow arg1, int arg2, boolean nl, int index, int extraOffset);
	public native void moveToolBar(QDockWindow arg1, int arg2, boolean nl, int index);
	public native void removeToolBar(QDockWindow arg1);
	public native boolean toolBarsMovable();
	// QPtrList<QToolBar> toolBars(Qt::Dock arg1); >>>> NOT CONVERTED
	public native void lineUpToolBars(boolean keepNewLines);
	public native void lineUpToolBars();
	public native QDockArea dockingArea(QPoint p);
	public native QDockArea leftDock();
	public native QDockArea rightDock();
	public native QDockArea topDock();
	public native QDockArea bottomDock();
	public native boolean isCustomizable();
	public native boolean appropriate(QDockWindow dw);
	public native QPopupMenu createDockWindowMenu(int dockWindows);
	public native QPopupMenu 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(QDockWindow 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(QPaintEvent arg1);
	protected native void childEvent(QChildEvent arg1);
	public native boolean event(QEvent arg1);
	public native void styleChange(QStyle arg1);
	protected native void setUpLayout();
	protected native boolean showDockMenu(QPoint 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();
}
