diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtjava/javalib/org/kde/qt/QImage.java | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QImage.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QImage.java | 160 |
1 files changed, 80 insertions, 80 deletions
diff --git a/qtjava/javalib/org/kde/qt/QImage.java b/qtjava/javalib/org/kde/qt/QImage.java index 9d223779..f6821a5a 100644 --- a/qtjava/javalib/org/kde/qt/QImage.java +++ b/qtjava/javalib/org/kde/qt/QImage.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QImage implements QtSupport { +public class TQImage implements QtSupport { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QImage(Class dummy){} + protected TQImage(Class dummy){} public static final int IgnoreEndian = 0; public static final int BigEndian = 1; @@ -17,67 +17,67 @@ public class QImage implements QtSupport { public static final int ScaleMin = 1; public static final int ScaleMax = 2; - public QImage() { - newQImage(); + public TQImage() { + newTQImage(); } - private native void newQImage(); - public QImage(int width, int height, int depth, int numColors, int bitOrder) { - newQImage(width,height,depth,numColors,bitOrder); + private native void newTQImage(); + public TQImage(int width, int height, int depth, int numColors, int bitOrder) { + newTQImage(width,height,depth,numColors,bitOrder); } - private native void newQImage(int width, int height, int depth, int numColors, int bitOrder); - public QImage(int width, int height, int depth, int numColors) { - newQImage(width,height,depth,numColors); + private native void newTQImage(int width, int height, int depth, int numColors, int bitOrder); + public TQImage(int width, int height, int depth, int numColors) { + newTQImage(width,height,depth,numColors); } - private native void newQImage(int width, int height, int depth, int numColors); - public QImage(int width, int height, int depth) { - newQImage(width,height,depth); + private native void newTQImage(int width, int height, int depth, int numColors); + public TQImage(int width, int height, int depth) { + newTQImage(width,height,depth); } - private native void newQImage(int width, int height, int depth); - public QImage(QSize arg1, int depth, int numColors, int bitOrder) { - newQImage(arg1,depth,numColors,bitOrder); + private native void newTQImage(int width, int height, int depth); + public TQImage(TQSize arg1, int depth, int numColors, int bitOrder) { + newTQImage(arg1,depth,numColors,bitOrder); } - private native void newQImage(QSize arg1, int depth, int numColors, int bitOrder); - public QImage(QSize arg1, int depth, int numColors) { - newQImage(arg1,depth,numColors); + private native void newTQImage(TQSize arg1, int depth, int numColors, int bitOrder); + public TQImage(TQSize arg1, int depth, int numColors) { + newTQImage(arg1,depth,numColors); } - private native void newQImage(QSize arg1, int depth, int numColors); - public QImage(QSize arg1, int depth) { - newQImage(arg1,depth); + private native void newTQImage(TQSize arg1, int depth, int numColors); + public TQImage(TQSize arg1, int depth) { + newTQImage(arg1,depth); } - private native void newQImage(QSize arg1, int depth); - public QImage(String fileName, String format) { - newQImage(fileName,format); + private native void newTQImage(TQSize arg1, int depth); + public TQImage(String fileName, String format) { + newTQImage(fileName,format); } - private native void newQImage(String fileName, String format); - public QImage(String fileName) { - newQImage(fileName); + private native void newTQImage(String fileName, String format); + public TQImage(String fileName) { + newTQImage(fileName); } - private native void newQImage(String fileName); - // QImage* QImage(const char** arg1); >>>> NOT CONVERTED - public QImage(byte[] data) { - newQImage(data); + private native void newTQImage(String fileName); + // TQImage* TQImage(const char** arg1); >>>> NOT CONVERTED + public TQImage(byte[] data) { + newTQImage(data); } - private native void newQImage(byte[] data); - public QImage(char[] data, int w, int h, int depth, int[] colortable, int numColors, int bitOrder) { - newQImage(data,w,h,depth,colortable,numColors,bitOrder); + private native void newTQImage(byte[] data); + public TQImage(char[] data, int w, int h, int depth, int[] colortable, int numColors, int bitOrder) { + newTQImage(data,w,h,depth,colortable,numColors,bitOrder); } - private native void newQImage(char[] data, int w, int h, int depth, int[] colortable, int numColors, int bitOrder); - public QImage(QImage arg1) { - newQImage(arg1); + private native void newTQImage(char[] data, int w, int h, int depth, int[] colortable, int numColors, int bitOrder); + public TQImage(TQImage arg1) { + newTQImage(arg1); } - private native void newQImage(QImage arg1); - public native boolean op_equals(QImage arg1); - public native boolean op_not_equals(QImage arg1); + private native void newTQImage(TQImage arg1); + public native boolean op_equals(TQImage arg1); + public native boolean op_not_equals(TQImage arg1); public native void detach(); - public native QImage copy(); - public native QImage copy(int x, int y, int w, int h, int conversion_flags); - public native QImage copy(int x, int y, int w, int h); - public native QImage copy(QRect arg1); + public native TQImage copy(); + public native TQImage copy(int x, int y, int w, int h, int conversion_flags); + public native TQImage copy(int x, int y, int w, int h); + public native TQImage copy(TQRect arg1); public native boolean isNull(); public native int width(); public native int height(); - public native QSize size(); - public native QRect rect(); + public native TQSize size(); + public native TQRect rect(); public native int depth(); public native int numColors(); public native int bitOrder(); @@ -97,36 +97,36 @@ public class QImage implements QtSupport { public native boolean create(int width, int height, int depth, int numColors, int bitOrder); public native boolean create(int width, int height, int depth, int numColors); public native boolean create(int width, int height, int depth); - public native boolean create(QSize arg1, int depth, int numColors, int bitOrder); - public native boolean create(QSize arg1, int depth, int numColors); - public native boolean create(QSize arg1, int depth); + public native boolean create(TQSize arg1, int depth, int numColors, int bitOrder); + public native boolean create(TQSize arg1, int depth, int numColors); + public native boolean create(TQSize arg1, int depth); public native void reset(); public native void fill(int pixel); public native void invertPixels(boolean invertAlpha); public native void invertPixels(); - public native QImage convertDepth(int arg1); - public native QImage convertDepthWithPalette(int arg1, int[] p, int pc, int cf); - public native QImage convertDepthWithPalette(int arg1, int[] p, int pc); - public native QImage convertDepth(int arg1, int conversion_flags); - public native QImage convertBitOrder(int arg1); - public native QImage smoothScale(int w, int h, int mode); - public native QImage smoothScale(int w, int h); - public native QImage smoothScale(QSize s, int mode); - public native QImage smoothScale(QSize s); - public native QImage scale(int w, int h, int mode); - public native QImage scale(int w, int h); - public native QImage scale(QSize s, int mode); - public native QImage scale(QSize s); - public native QImage scaleWidth(int w); - public native QImage scaleHeight(int h); - public native Object xForm(QWMatrix matrix); - public native QImage createAlphaMask(int conversion_flags); - public native QImage createAlphaMask(); - public native QImage createHeuristicMask(boolean clipTight); - public native QImage createHeuristicMask(); - public native QImage mirror(); - public native QImage mirror(boolean horizontally, boolean vertically); - public native QImage swapRGB(); + public native TQImage convertDepth(int arg1); + public native TQImage convertDepthWithPalette(int arg1, int[] p, int pc, int cf); + public native TQImage convertDepthWithPalette(int arg1, int[] p, int pc); + public native TQImage convertDepth(int arg1, int conversion_flags); + public native TQImage convertBitOrder(int arg1); + public native TQImage smoothScale(int w, int h, int mode); + public native TQImage smoothScale(int w, int h); + public native TQImage smoothScale(TQSize s, int mode); + public native TQImage smoothScale(TQSize s); + public native TQImage scale(int w, int h, int mode); + public native TQImage scale(int w, int h); + public native TQImage scale(TQSize s, int mode); + public native TQImage scale(TQSize s); + public native TQImage scaleWidth(int w); + public native TQImage scaleHeight(int h); + public native Object xForm(TQWMatrix matrix); + public native TQImage createAlphaMask(int conversion_flags); + public native TQImage createAlphaMask(); + public native TQImage createHeuristicMask(boolean clipTight); + public native TQImage createHeuristicMask(); + public native TQImage mirror(); + public native TQImage mirror(boolean horizontally, boolean vertically); + public native TQImage swapRGB(); public native boolean load(String fileName, String format); public native boolean load(String fileName); public native boolean loadFromData(char[] buf, int len, String format); @@ -135,8 +135,8 @@ public class QImage implements QtSupport { 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(QIODeviceInterface device, String format, int quality); - public native boolean save(QIODeviceInterface device, String format); + public native boolean save(TQIODeviceInterface device, String format, int quality); + public native boolean save(TQIODeviceInterface device, String format); public native boolean valid(int x, int y); public native int pixelIndex(int x, int y); public native int pixel(int x, int y); @@ -145,16 +145,16 @@ public class QImage implements QtSupport { public native int dotsPerMeterY(); public native void setDotsPerMeterX(int arg1); public native void setDotsPerMeterY(int arg1); - public native QPoint offset(); - public native void setOffset(QPoint arg1); - // QValueList<QImageTextKeyLang> textList(); >>>> NOT CONVERTED + public native TQPoint offset(); + public native void setOffset(TQPoint arg1); + // TQValueList<TQImageTextKeyLang> textList(); >>>> NOT CONVERTED public native ArrayList textLanguages(); public native ArrayList textKeys(); public native String text(String key, String lang); public native String text(String key); - public native String text(QImageTextKeyLang arg1); + public native String text(TQImageTextKeyLang arg1); public native void setText(String key, String lang, String arg3); - public static native QImage fromMimeSource(String abs_name); + public static native TQImage fromMimeSource(String abs_name); public static native int systemBitOrder(); public static native int systemByteOrder(); public static native String imageFormat(String fileName); |