//Auto-generated by kalyptus. DO NOT EDIT. package org.kde.koala; import org.kde.qt.Qt; import org.kde.qt.TQColor; import org.kde.qt.QtSupport; import org.kde.qt.TQColor; /** A color class that preserves both RGB and HSV values. This is unlike TQColor which only preserves RGB values and recalculates HSV values. The TQColor behavior leads to an accumulation of rounding errors when working in the HSV color space. @author Waldo Bastian @short A color class that preserves both RGB and HSV values. */ public class KColor extends TQColor { protected KColor(Class dummy){super((Class) null);} public KColor() { super((Class) null); newKColor(); } private native void newKColor(); public KColor(KColor col) { super((Class) null); newKColor(col); } private native void newKColor(KColor col); public KColor(TQColor col) { super((Class) null); newKColor(col); } private native void newKColor(TQColor col); public native boolean op_equals(KColor col); public native void setHsv(int _h, int _s, int _v); public native void setRgb(int _r, int _g, int _b); public native void rgb(int[] _r, int[] _g, int[] _b); public native void hsv(int[] _h, int[] _s, int[] _v); /** 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(); }