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

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.TQColor;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;
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.TQFrame;

/**

 The KColorPatch widget is a (usually small) widget showing
 a selected color e. g. in the KColorDialog. It
 automatically handles drag and drop from and on the widget.
  See {@link KColorPatchSignals} for signals emitted by KColorPatch
		@short A color displayer.

*/
public class KColorPatch extends TQFrame  {
	protected KColorPatch(Class dummy){super((Class) null);}
	public native TQMetaObject metaObject();
	public native String className();
	public KColorPatch(TQWidget parent) {
		super((Class) null);
		newKColorPatch(parent);
	}
	private native void newKColorPatch(TQWidget parent);
	public native void setColor(TQColor col);
	protected native void drawContents(TQPainter painter);
	protected native void mouseMoveEvent(TQMouseEvent arg1);
	protected native void dragEnterEvent(TQDragEnterEvent arg1);
	protected native void dropEvent(TQDropEvent 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();
}
