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

import org.trinitydesktop.qt.Qt;

/**
 See {@link TQHeaderSignals} for signals emitted by TQHeader
*/
public class TQHeader extends TQWidget  {
	protected TQHeader(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public TQHeader(TQWidget parent, String name) {
		super((Class) null);
		newTQHeader(parent,name);
	}
	private native void newTQHeader(TQWidget parent, String name);
	public TQHeader(TQWidget parent) {
		super((Class) null);
		newTQHeader(parent);
	}
	private native void newTQHeader(TQWidget parent);
	public TQHeader() {
		super((Class) null);
		newTQHeader();
	}
	private native void newTQHeader();
	public TQHeader(int arg1, TQWidget parent, String name) {
		super((Class) null);
		newTQHeader(arg1,parent,name);
	}
	private native void newTQHeader(int arg1, TQWidget parent, String name);
	public TQHeader(int arg1, TQWidget parent) {
		super((Class) null);
		newTQHeader(arg1,parent);
	}
	private native void newTQHeader(int arg1, TQWidget parent);
	public TQHeader(int arg1) {
		super((Class) null);
		newTQHeader(arg1);
	}
	private native void newTQHeader(int arg1);
	public native int addLabel(String arg1, int size);
	public native int addLabel(String arg1);
	public native int addLabel(TQIconSet arg1, String arg2, int size);
	public native int addLabel(TQIconSet arg1, String arg2);
	public native void removeLabel(int section);
	public native void setLabel(int arg1, String arg2, int size);
	public native void setLabel(int arg1, String arg2);
	public native void setLabel(int arg1, TQIconSet arg2, String arg3, int size);
	public native void setLabel(int arg1, TQIconSet arg2, String arg3);
	public native String label(int section);
	public native TQIconSet iconSet(int section);
	public native void setOrientation(int arg1);
	public native int orientation();
	public native void setTracking(boolean enable);
	public native boolean tracking();
	public native void setClickEnabled(boolean arg1, int section);
	public native void setClickEnabled(boolean arg1);
	public native void setResizeEnabled(boolean arg1, int section);
	public native void setResizeEnabled(boolean arg1);
	public native void setMovingEnabled(boolean arg1);
	public native void setStretchEnabled(boolean b, int section);
	public native void setStretchEnabled(boolean b);
	public native boolean isClickEnabled(int section);
	public native boolean isClickEnabled();
	public native boolean isResizeEnabled(int section);
	public native boolean isResizeEnabled();
	public native boolean isMovingEnabled();
	public native boolean isStretchEnabled();
	public native boolean isStretchEnabled(int section);
	public native void resizeSection(int section, int s);
	public native int sectionSize(int section);
	public native int sectionPos(int section);
	public native int sectionAt(int pos);
	public native int count();
	public native int headerWidth();
	public native TQRect sectionRect(int section);
	public native void setCellSize(int arg1, int arg2);
	public native int cellSize(int i);
	public native int cellPos(int arg1);
	public native int cellAt(int pos);
	public native int offset();
	public native TQSize sizeHint();
	public native int mapToSection(int index);
	public native int mapToIndex(int section);
	public native int mapToLogical(int arg1);
	public native int mapToActual(int arg1);
	public native void moveSection(int section, int toIndex);
	public native void moveCell(int arg1, int arg2);
	public native void setSortIndicator(int section, boolean ascending);
	public native void setSortIndicator(int section);
	public native void setSortIndicator(int section, int order);
	public native int sortIndicatorSection();
	public native int sortIndicatorOrder();
	public native void adjustHeaderSize();
	public native void setUpdatesEnabled(boolean enable);
	public native void setOffset(int pos);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	protected native void paintEvent(TQPaintEvent arg1);
	public native void showEvent(TQShowEvent e);
	protected native void resizeEvent(TQResizeEvent e);
	protected native TQRect sRect(int index);
	protected native void paintSection(TQPainter p, int index, TQRect fr);
	protected native void paintSectionLabel(TQPainter p, int index, TQRect fr);
	protected native void fontChange(TQFont arg1);
	protected native void mousePressEvent(TQMouseEvent arg1);
	protected native void mouseReleaseEvent(TQMouseEvent arg1);
	protected native void mouseMoveEvent(TQMouseEvent arg1);
	protected native void mouseDoubleClickEvent(TQMouseEvent arg1);
	protected native void keyPressEvent(TQKeyEvent arg1);
	protected native void keyReleaseEvent(TQKeyEvent arg1);
	/** 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();
}
