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

import org.trinitydesktop.qt.TQt;
import org.trinitydesktop.qt.TQColor;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQPoint;
import org.trinitydesktop.qt.TQDragEnterEvent;
import org.trinitydesktop.qt.TQPainter;
import org.trinitydesktop.qt.TQMouseEvent;
import org.trinitydesktop.qt.TQDropEvent;
import org.trinitydesktop.qt.TQWidget;
import org.trinitydesktop.qt.TQResizeEvent;
import org.trinitydesktop.qt.TQGridView;

/**

 A table of editable color cells.
 See {@link KColorCellsSignals} for signals emitted by KColorCells
		@author Martin Jones <mjones@kde.org>

		@short    A table of editable color cells.

*/
public class KColorCells extends TQGridView  {
	protected KColorCells(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public KColorCells(TQWidget parent, int rows, int cols) {
		super((Class) null);
		newKColorCells(parent,rows,cols);
	}
	private native void newKColorCells(TQWidget parent, int rows, int cols);
	public native void setColor(int colNum, TQColor col);
	public native TQColor color(int indx);
	public native int numCells();
	public native void setShading(boolean _shade);
	public native void setAcceptDrags(boolean _acceptDrags);
	public native int getSelected();
	public native void paintCell(TQPainter painter, int row, int col);
	protected native void resizeEvent(TQResizeEvent arg1);
	protected native void mouseReleaseEvent(TQMouseEvent arg1);
	protected native void mousePressEvent(TQMouseEvent arg1);
	protected native void mouseMoveEvent(TQMouseEvent arg1);
	protected native void dragEnterEvent(TQDragEnterEvent arg1);
	protected native void dropEvent(TQDropEvent arg1);
	protected native void mouseDoubleClickEvent(TQMouseEvent arg1);
	protected native int posToCell(TQPoint pos, boolean ignoreBorders);
	protected native int posToCell(TQPoint pos);
	/** 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();
}
