summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QPixmap.java
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtjava/javalib/org/kde/qt/QPixmap.java
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QPixmap.java')
-rw-r--r--qtjava/javalib/org/kde/qt/QPixmap.java162
1 files changed, 81 insertions, 81 deletions
diff --git a/qtjava/javalib/org/kde/qt/QPixmap.java b/qtjava/javalib/org/kde/qt/QPixmap.java
index 32bf8ca1..03c8e1a6 100644
--- a/qtjava/javalib/org/kde/qt/QPixmap.java
+++ b/qtjava/javalib/org/kde/qt/QPixmap.java
@@ -3,8 +3,8 @@ package org.kde.qt;
import org.kde.qt.Qt;
-public class QPixmap extends Qt implements QPaintDeviceInterface {
- protected QPixmap(Class dummy){super((Class) null);}
+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;
@@ -15,99 +15,99 @@ public class QPixmap extends Qt implements QPaintDeviceInterface {
public static final int NormalOptim = 2;
public static final int BestOptim = 3;
- public QPixmap() {
+ public TQPixmap() {
super((Class) null);
- newQPixmap();
+ newTQPixmap();
}
- private native void newQPixmap();
- public QPixmap(QImage image) {
+ private native void newTQPixmap();
+ public TQPixmap(TQImage image) {
super((Class) null);
- newQPixmap(image);
+ newTQPixmap(image);
}
- private native void newQPixmap(QImage image);
- public QPixmap(int w, int h, int depth, int arg4) {
+ private native void newTQPixmap(TQImage image);
+ public TQPixmap(int w, int h, int depth, int arg4) {
super((Class) null);
- newQPixmap(w,h,depth,arg4);
+ newTQPixmap(w,h,depth,arg4);
}
- private native void newQPixmap(int w, int h, int depth, int arg4);
- public QPixmap(int w, int h, int depth) {
+ private native void newTQPixmap(int w, int h, int depth, int arg4);
+ public TQPixmap(int w, int h, int depth) {
super((Class) null);
- newQPixmap(w,h,depth);
+ newTQPixmap(w,h,depth);
}
- private native void newQPixmap(int w, int h, int depth);
- public QPixmap(int w, int h) {
+ private native void newTQPixmap(int w, int h, int depth);
+ public TQPixmap(int w, int h) {
super((Class) null);
- newQPixmap(w,h);
+ newTQPixmap(w,h);
}
- private native void newQPixmap(int w, int h);
- public QPixmap(QSize arg1, int depth, int arg3) {
+ private native void newTQPixmap(int w, int h);
+ public TQPixmap(TQSize arg1, int depth, int arg3) {
super((Class) null);
- newQPixmap(arg1,depth,arg3);
+ newTQPixmap(arg1,depth,arg3);
}
- private native void newQPixmap(QSize arg1, int depth, int arg3);
- public QPixmap(QSize arg1, int depth) {
+ private native void newTQPixmap(TQSize arg1, int depth, int arg3);
+ public TQPixmap(TQSize arg1, int depth) {
super((Class) null);
- newQPixmap(arg1,depth);
+ newTQPixmap(arg1,depth);
}
- private native void newQPixmap(QSize arg1, int depth);
- public QPixmap(QSize arg1) {
+ private native void newTQPixmap(TQSize arg1, int depth);
+ public TQPixmap(TQSize arg1) {
super((Class) null);
- newQPixmap(arg1);
+ newTQPixmap(arg1);
}
- private native void newQPixmap(QSize arg1);
- public QPixmap(String fileName, String format, int mode) {
+ private native void newTQPixmap(TQSize arg1);
+ public TQPixmap(String fileName, String format, int mode) {
super((Class) null);
- newQPixmap(fileName,format,mode);
+ newTQPixmap(fileName,format,mode);
}
- private native void newQPixmap(String fileName, String format, int mode);
- public QPixmap(String fileName, String format) {
+ private native void newTQPixmap(String fileName, String format, int mode);
+ public TQPixmap(String fileName, String format) {
super((Class) null);
- newQPixmap(fileName,format);
+ newTQPixmap(fileName,format);
}
- private native void newQPixmap(String fileName, String format);
- public QPixmap(String fileName) {
+ private native void newTQPixmap(String fileName, String format);
+ public TQPixmap(String fileName) {
super((Class) null);
- newQPixmap(fileName);
+ newTQPixmap(fileName);
}
- private native void newQPixmap(String fileName);
- public QPixmap(String[] xpm) {
+ private native void newTQPixmap(String fileName);
+ public TQPixmap(String[] xpm) {
super((Class) null);
- newQPixmap(xpm);
+ newTQPixmap(xpm);
}
- private native void newQPixmap(String[] xpm);
- public QPixmap(byte[] data) {
+ private native void newTQPixmap(String[] xpm);
+ public TQPixmap(byte[] data) {
super((Class) null);
- newQPixmap(data);
+ newTQPixmap(data);
}
- private native void newQPixmap(byte[] data);
- public QPixmap(QPixmap arg1) {
+ private native void newTQPixmap(byte[] data);
+ public TQPixmap(TQPixmap arg1) {
super((Class) null);
- newQPixmap(arg1);
+ newTQPixmap(arg1);
}
- private native void newQPixmap(QPixmap arg1);
+ private native void newTQPixmap(TQPixmap 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 void fill(QColor fillColor);
+ public native void fill(TQColor fillColor);
public native void fill();
- public native void fill(QWidget arg1, int xofs, int yofs);
- public native void fill(QWidget arg1, QPoint ofs);
+ 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(QSize arg1);
- public native QBitmap mask();
- public native void setMask(QBitmap arg1);
+ 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 QBitmap createHeuristicMask(boolean clipTight);
- public native QBitmap createHeuristicMask();
- public native Object xForm(QWMatrix arg1);
- public native QImage convertToImage();
- public native boolean convertFromImage(QImage arg1, int mode);
- public native boolean convertFromImage(QImage arg1);
+ 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);
@@ -119,34 +119,34 @@ public class QPixmap extends Qt implements QPaintDeviceInterface {
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 int serialNumber();
public native int optimization();
public native void setOptimization(int arg1);
public native void detach();
- public native boolean isQBitmap();
+ public native boolean isTQBitmap();
public static native int defaultDepth();
- public static native QPixmap fromMimeSource(String abs_name);
- public static native QPixmap grabWindow(long arg1, int x, int y, int w, int h);
- public static native QPixmap grabWindow(long arg1, int x, int y, int w);
- public static native QPixmap grabWindow(long arg1, int x, int y);
- public static native QPixmap grabWindow(long arg1, int x);
- public static native QPixmap grabWindow(long arg1);
- public static native QPixmap grabWidget(QWidget widget, int x, int y, int w, int h);
- public static native QPixmap grabWidget(QWidget widget, int x, int y, int w);
- public static native QPixmap grabWidget(QWidget widget, int x, int y);
- public static native QPixmap grabWidget(QWidget widget, int x);
- public static native QPixmap grabWidget(QWidget widget);
- public static native QWMatrix trueMatrix(QWMatrix arg1, int w, int h);
+ 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 QPixmap(int w, int h, char[] data, boolean isXbitmap) {
+ public TQPixmap(int w, int h, char[] data, boolean isXbitmap) {
super((Class) null);
- newQPixmap(w,h,data,isXbitmap);
+ newTQPixmap(w,h,data,isXbitmap);
}
- private native void newQPixmap(int w, int h, char[] data, boolean 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;
@@ -159,11 +159,11 @@ public class QPixmap extends Qt implements QPaintDeviceInterface {
public native boolean paintingActive();
public native void setResolution(int arg1);
public native int resolution();
- // bool cmd(int arg1,QPainter* arg2,QPDevCmdParam* arg3); >>>> NOT CONVERTED
- protected native int fontMet(QFont arg1, int arg2, String arg3, int arg4);
- protected native int fontMet(QFont arg1, int arg2, String arg3);
- protected native int fontMet(QFont arg1, int arg2);
- protected native int fontInf(QFont arg1, int arg2);
+ // 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 */