//Auto-generated by kalyptus. DO NOT EDIT. package org.trinitydesktop.qt; import org.trinitydesktop.qt.Qt; public class TQPalette implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; protected TQPalette(Class dummy){} public static final int Disabled = 0; public static final int Active = 1; public static final int Inactive = 2; public static final int NColorGroups = 3; public TQPalette() { newTQPalette(); } private native void newTQPalette(); public TQPalette(TQColor button) { newTQPalette(button); } private native void newTQPalette(TQColor button); public TQPalette(TQColor button, TQColor background) { newTQPalette(button,background); } private native void newTQPalette(TQColor button, TQColor background); public TQPalette(TQColorGroup active, TQColorGroup disabled, TQColorGroup inactive) { newTQPalette(active,disabled,inactive); } private native void newTQPalette(TQColorGroup active, TQColorGroup disabled, TQColorGroup inactive); public TQPalette(TQPalette arg1) { newTQPalette(arg1); } private native void newTQPalette(TQPalette arg1); public native TQColor color(int arg1, int arg2); public native TQBrush brush(int arg1, int arg2); public native void setColor(int arg1, int arg2, TQColor arg3); public native void setBrush(int arg1, int arg2, TQBrush arg3); public native void setColor(int arg1, TQColor arg2); public native void setBrush(int arg1, TQBrush arg2); public native TQPalette copy(); public native TQColorGroup active(); public native TQColorGroup disabled(); public native TQColorGroup inactive(); public native void setActive(TQColorGroup arg1); public native void setDisabled(TQColorGroup arg1); public native void setInactive(TQColorGroup arg1); public native boolean op_equals(TQPalette p); public native boolean op_not_equals(TQPalette p); public native boolean isCopyOf(TQPalette arg1); public native int serialNumber(); public static native int foregroundRoleFromMode(int mode); public static native int backgroundRoleFromMode(int mode); /** 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(); }