//Auto-generated by kalyptus. DO NOT EDIT. package org.kde.qt; import org.kde.qt.Qt; public class TQPixmap extends Qt implements TQPaintDeviceInterface { protected TQPixmap(Class dummy){super((Class) null);} public static final int Auto = 0; public static final int Color = 1; public static final int Mono = 2; public static final int DefaultOptim = 0; public static final int NoOptim = 1; public static final int MemoryOptim = NoOptim; public static final int NormalOptim = 2; public static final int BestOptim = 3; public TQPixmap() { super((Class) null); newTQPixmap(); } private native void newTQPixmap(); public TQPixmap(TQImage image) { super((Class) null); newTQPixmap(image); } private native void newTQPixmap(TQImage image); public TQPixmap(int w, int h, int depth, int arg4) { super((Class) null); newTQPixmap(w,h,depth,arg4); } private native void newTQPixmap(int w, int h, int depth, int arg4); public TQPixmap(int w, int h, int depth) { super((Class) null); newTQPixmap(w,h,depth); } private native void newTQPixmap(int w, int h, int depth); public TQPixmap(int w, int h) { super((Class) null); newTQPixmap(w,h); } private native void newTQPixmap(int w, int h); public TQPixmap(TQSize arg1, int depth, int arg3) { super((Class) null); newTQPixmap(arg1,depth,arg3); } private native void newTQPixmap(TQSize arg1, int depth, int arg3); public TQPixmap(TQSize arg1, int depth) { super((Class) null); newTQPixmap(arg1,depth); } private native void newTQPixmap(TQSize arg1, int depth); public TQPixmap(TQSize arg1) { super((Class) null); newTQPixmap(arg1); } private native void newTQPixmap(TQSize arg1); public TQPixmap(String fileName, String format, int mode) { super((Class) null); newTQPixmap(fileName,format,mode); } private native void newTQPixmap(String fileName, String format, int mode); public TQPixmap(String fileName, String format) { super((Class) null); newTQPixmap(fileName,format); } private native void newTQPixmap(String fileName, String format); public TQPixmap(String fileName) { super((Class) null); newTQPixmap(fileName); } private native void newTQPixmap(String fileName); public TQPixmap(String[] xpm) { super((Class) null); newTQPixmap(xpm); } private native void newTQPixmap(String[] xpm); public TQPixmap(byte[] data) { super((Class) null); newTQPixmap(data); } private native void newTQPixmap(byte[] data); public TQPixmap(TQPixmap arg1) { super((Class) null); newTQPixmap(arg1); } private native void newTQPixmap(TQPixmap arg1); public native boolean isNull(); public native int width(); public native int height(); public native TQSize size(); public native TQRect rect(); public native int depth(); public native void fill(TQColor fillColor); public native void fill(); public native void fill(TQWidget arg1, int xofs, int yofs); public native void fill(TQWidget arg1, TQPoint ofs); public native void resize(int width, int height); public native void resize(TQSize arg1); public native TQBitmap mask(); public native void setMask(TQBitmap arg1); public native boolean selfMask(); public native boolean hasAlpha(); public native boolean hasAlphaChannel(); public native TQBitmap createHeuristicMask(boolean clipTight); public native TQBitmap createHeuristicMask(); public native Object xForm(TQWMatrix arg1); public native TQImage convertToImage(); public native boolean convertFromImage(TQImage arg1, int mode); public native boolean convertFromImage(TQImage arg1); public native boolean load(String fileName, String format, int mode); public native boolean load(String fileName, String format); public native boolean load(String fileName); public native boolean loadFromData(char[] buf, int len, String format, int mode); public native boolean loadFromData(char[] buf, int len, String format); public native boolean loadFromData(char[] buf, int len); public native boolean loadFromData(byte[] data, String format, int conversion_flags); public native boolean loadFromData(byte[] data, String format); public native boolean loadFromData(byte[] data); public native boolean save(String fileName, String format, int quality); public native boolean save(String fileName, String format); public native boolean save(TQIODeviceInterface device, String format, int quality); public native boolean save(TQIODeviceInterface device, String format); public native int serialNumber(); public native int optimization(); public native void setOptimization(int arg1); public native void detach(); public native boolean isTQBitmap(); public static native int defaultDepth(); public static native TQPixmap fromMimeSource(String abs_name); public static native TQPixmap grabWindow(long arg1, int x, int y, int w, int h); public static native TQPixmap grabWindow(long arg1, int x, int y, int w); public static native TQPixmap grabWindow(long arg1, int x, int y); public static native TQPixmap grabWindow(long arg1, int x); public static native TQPixmap grabWindow(long arg1); public static native TQPixmap grabWidget(TQWidget widget, int x, int y, int w, int h); public static native TQPixmap grabWidget(TQWidget widget, int x, int y, int w); public static native TQPixmap grabWidget(TQWidget widget, int x, int y); public static native TQPixmap grabWidget(TQWidget widget, int x); public static native TQPixmap grabWidget(TQWidget widget); public static native TQWMatrix trueMatrix(TQWMatrix arg1, int w, int h); public static native String imageFormat(String fileName); public static native int defaultOptimization(); public static native void setDefaultOptimization(int arg1); public TQPixmap(int w, int h, char[] data, boolean isXbitmap) { super((Class) null); newTQPixmap(w,h,data,isXbitmap); } private native void newTQPixmap(int w, int h, char[] data, boolean isXbitmap); protected native int metric(int 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(); public native int devType(); public native boolean isExtDev(); public native boolean paintingActive(); public native void setResolution(int arg1); public native int resolution(); // bool cmd(int arg1,TQPainter* arg2,TQPDevCmdParam* arg3); >>>> NOT CONVERTED protected native int fontMet(TQFont arg1, int arg2, String arg3, int arg4); protected native int fontMet(TQFont arg1, int arg2, String arg3); protected native int fontMet(TQFont arg1, int arg2); protected native int fontInf(TQFont arg1, int arg2); public native boolean loadFromData(char[] data); /** Internal method */ protected native long paintDevice(); }