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

import org.kde.qt.Qt;

public class QTableItem extends Qt  {
	protected QTableItem(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 QTableItem(QTable table, int et) {
		super((Class) null);
		newQTableItem(table,et);
	}
	private native void newQTableItem(QTable table, int et);
	public QTableItem(QTable table, int et, String text) {
		super((Class) null);
		newQTableItem(table,et,text);
	}
	private native void newQTableItem(QTable table, int et, String text);
	public QTableItem(QTable table, int et, String text, QPixmap p) {
		super((Class) null);
		newQTableItem(table,et,text,p);
	}
	private native void newQTableItem(QTable table, int et, String text, QPixmap p);
	public native QPixmap pixmap();
	public native String text();
	public native void setPixmap(QPixmap p);
	public native void setText(String t);
	public native QTable table();
	public native int alignment();
	public native void setWordWrap(boolean b);
	public native boolean wordWrap();
	public native int editType();
	public native QWidget createEditor();
	public native void setContentFromEditor(QWidget w);
	public native void setReplaceable(boolean arg1);
	public native boolean isReplaceable();
	public native String key();
	public native QSize 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(QPainter p, QColorGroup cg, QRect 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();
}
