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

import org.trinitydesktop.qt.Qt;

public class TQTableItem extends Qt  {
	protected TQTableItem(Class dummy){super((Class) null);}
	public static final int Never = 0;
	public static final int OnTyping = 1;
	public static final int WhenCurrent = 2;
	public static final int Always = 3;

	public TQTableItem(TQTable table, int et) {
		super((Class) null);
		newTQTableItem(table,et);
	}
	private native void newTQTableItem(TQTable table, int et);
	public TQTableItem(TQTable table, int et, String text) {
		super((Class) null);
		newTQTableItem(table,et,text);
	}
	private native void newTQTableItem(TQTable table, int et, String text);
	public TQTableItem(TQTable table, int et, String text, TQPixmap p) {
		super((Class) null);
		newTQTableItem(table,et,text,p);
	}
	private native void newTQTableItem(TQTable table, int et, String text, TQPixmap p);
	public native TQPixmap pixmap();
	public native String text();
	public native void setPixmap(TQPixmap p);
	public native void setText(String t);
	public native TQTable table();
	public native int alignment();
	public native void setWordWrap(boolean b);
	public native boolean wordWrap();
	public native int editType();
	public native TQWidget createEditor();
	public native void setContentFromEditor(TQWidget w);
	public native void setReplaceable(boolean arg1);
	public native boolean isReplaceable();
	public native String key();
	public native TQSize sizeHint();
	public native void setSpan(int rs, int cs);
	public native int rowSpan();
	public native int colSpan();
	public native void setRow(int r);
	public native void setCol(int c);
	public native int row();
	public native int col();
	public native void paint(TQPainter p, TQColorGroup cg, TQRect cr, boolean selected);
	public native void updateEditor(int oldRow, int oldCol);
	public native void setEnabled(boolean b);
	public native boolean isEnabled();
	public native int rtti();
	/** 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();
}
