summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QImage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/qtjava/QImage.cpp')
-rw-r--r--qtjava/javalib/qtjava/QImage.cpp322
1 files changed, 161 insertions, 161 deletions
diff --git a/qtjava/javalib/qtjava/QImage.cpp b/qtjava/javalib/qtjava/QImage.cpp
index d22cea4c..47702de4 100644
--- a/qtjava/javalib/qtjava/QImage.cpp
+++ b/qtjava/javalib/qtjava/QImage.cpp
@@ -1,14 +1,14 @@
//Auto-generated by kalyptus. DO NOT EDIT.
-#include <qrect.h>
-#include <qstrlist.h>
-#include <qstring.h>
-#include <qwmatrix.h>
-#include <qstringlist.h>
-#include <qpoint.h>
-#include <qsize.h>
-#include <qwindowdefs.h>
-#include <qimage.h>
-#include <qcstring.h>
+#include <tqrect.h>
+#include <tqstrlist.h>
+#include <tqstring.h>
+#include <tqwmatrix.h>
+#include <tqstringlist.h>
+#include <tqpoint.h>
+#include <tqsize.h>
+#include <tqwindowdefs.h>
+#include <tqimage.h>
+#include <tqcstring.h>
#include <qtjava/QtSupport.h>
#include <qtjava/QImage.h>
@@ -16,53 +16,53 @@
class QImageJBridge : public QImage
{
public:
- QImageJBridge() : QImage() {};
- QImageJBridge(int arg1,int arg2,int arg3,int arg4,QImage::Endian arg5) : QImage(arg1,arg2,arg3,arg4,arg5) {};
- QImageJBridge(int arg1,int arg2,int arg3,int arg4) : QImage(arg1,arg2,arg3,arg4) {};
- QImageJBridge(int arg1,int arg2,int arg3) : QImage(arg1,arg2,arg3) {};
- QImageJBridge(const QSize& arg1,int arg2,int arg3,QImage::Endian arg4) : QImage(arg1,arg2,arg3,arg4) {};
- QImageJBridge(const QSize& arg1,int arg2,int arg3) : QImage(arg1,arg2,arg3) {};
- QImageJBridge(const QSize& arg1,int arg2) : QImage(arg1,arg2) {};
- QImageJBridge(const QString& arg1,const char* arg2) : QImage(arg1,arg2) {};
- QImageJBridge(const QString& arg1) : QImage(arg1) {};
- QImageJBridge(const QByteArray& arg1) : QImage(arg1) {};
- QImageJBridge(uchar* arg1,int arg2,int arg3,int arg4,QRgb* arg5,int arg6,QImage::Endian arg7) : QImage(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {};
- QImageJBridge(const QImage& arg1) : QImage(arg1) {};
+ QImageJBridge() : TQImage() {};
+ QImageJBridge(int arg1,int arg2,int arg3,int arg4,TQImage::Endian arg5) : TQImage(arg1,arg2,arg3,arg4,arg5) {};
+ QImageJBridge(int arg1,int arg2,int arg3,int arg4) : TQImage(arg1,arg2,arg3,arg4) {};
+ QImageJBridge(int arg1,int arg2,int arg3) : TQImage(arg1,arg2,arg3) {};
+ QImageJBridge(const TQSize& arg1,int arg2,int arg3,TQImage::Endian arg4) : TQImage(arg1,arg2,arg3,arg4) {};
+ QImageJBridge(const TQSize& arg1,int arg2,int arg3) : TQImage(arg1,arg2,arg3) {};
+ QImageJBridge(const TQSize& arg1,int arg2) : TQImage(arg1,arg2) {};
+ QImageJBridge(const TQString& arg1,const char* arg2) : TQImage(arg1,arg2) {};
+ QImageJBridge(const TQString& arg1) : TQImage(arg1) {};
+ QImageJBridge(const TQByteArray& arg1) : TQImage(arg1) {};
+ QImageJBridge(uchar* arg1,int arg2,int arg3,int arg4,QRgb* arg5,int arg6,TQImage::Endian arg7) : TQImage(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {};
+ QImageJBridge(const TQImage& arg1) : TQImage(arg1) {};
~QImageJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_allGray(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->allGray();
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->allGray();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QImage_bitOrder(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((QImage*) QtSupport::getQt(env, obj))->bitOrder();
+ jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->bitOrder();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QImage_bytesPerLine(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((QImage*) QtSupport::getQt(env, obj))->bytesPerLine();
+ jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->bytesPerLine();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QImage_color(JNIEnv* env, jobject obj, jint i)
{
- jint xret = (jint) ((QImage*) QtSupport::getQt(env, obj))->color((int) i);
+ jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->color((int) i);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_convertBitOrder(JNIEnv* env, jobject obj, jint arg1)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->convertBitOrder((QImage::Endian) arg1)), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->convertBitOrder((TQImage::Endian) arg1)), "org.kde.qt.TQImage", TRUE);
return xret;
}
@@ -70,7 +70,7 @@ JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_convertDepthWithPalette__I_3II(JNIEnv* env, jobject obj, jint arg1, jintArray p, jint pc)
{
int* _int_p = QtSupport::toIntPtr(env, p);
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->convertDepthWithPalette((int) arg1, (QRgb*) _int_p, (int) pc)), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->convertDepthWithPalette((int) arg1, (QRgb*) _int_p, (int) pc)), "org.kde.qt.TQImage", TRUE);
env->SetIntArrayRegion(p, 0, 1, (jint *) _int_p);
return xret;
}
@@ -79,7 +79,7 @@ JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_convertDepthWithPalette__I_3III(JNIEnv* env, jobject obj, jint arg1, jintArray p, jint pc, jint cf)
{
int* _int_p = QtSupport::toIntPtr(env, p);
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->convertDepthWithPalette((int) arg1, (QRgb*) _int_p, (int) pc, (int) cf)), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->convertDepthWithPalette((int) arg1, (QRgb*) _int_p, (int) pc, (int) cf)), "org.kde.qt.TQImage", TRUE);
env->SetIntArrayRegion(p, 0, 1, (jint *) _int_p);
return xret;
}
@@ -87,126 +87,126 @@ Java_org_kde_qt_QImage_convertDepthWithPalette__I_3III(JNIEnv* env, jobject obj,
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_convertDepth__I(JNIEnv* env, jobject obj, jint arg1)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->convertDepth((int) arg1)), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->convertDepth((int) arg1)), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_convertDepth__II(JNIEnv* env, jobject obj, jint arg1, jint conversion_flags)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->convertDepth((int) arg1, (int) conversion_flags)), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->convertDepth((int) arg1, (int) conversion_flags)), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_copy__(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->copy()), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->copy()), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_copy__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->copy((int) x, (int) y, (int) w, (int) h)), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->copy((int) x, (int) y, (int) w, (int) h)), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_copy__IIIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jint conversion_flags)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->copy((int) x, (int) y, (int) w, (int) h, (int) conversion_flags)), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->copy((int) x, (int) y, (int) w, (int) h, (int) conversion_flags)), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_copy__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject arg1)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->copy((const QRect&)*(const QRect*) QtSupport::getQt(env, arg1))), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->copy((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1))), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_createAlphaMask__(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->createAlphaMask()), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->createAlphaMask()), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_createAlphaMask__I(JNIEnv* env, jobject obj, jint conversion_flags)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->createAlphaMask((int) conversion_flags)), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->createAlphaMask((int) conversion_flags)), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_createHeuristicMask__(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->createHeuristicMask()), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->createHeuristicMask()), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_createHeuristicMask__Z(JNIEnv* env, jobject obj, jboolean clipTight)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->createHeuristicMask((bool) clipTight)), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->createHeuristicMask((bool) clipTight)), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_create__III(JNIEnv* env, jobject obj, jint width, jint height, jint depth)
{
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->create((int) width, (int) height, (int) depth);
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->create((int) width, (int) height, (int) depth);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_create__IIII(JNIEnv* env, jobject obj, jint width, jint height, jint depth, jint numColors)
{
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->create((int) width, (int) height, (int) depth, (int) numColors);
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->create((int) width, (int) height, (int) depth, (int) numColors);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_create__IIIII(JNIEnv* env, jobject obj, jint width, jint height, jint depth, jint numColors, jint bitOrder)
{
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->create((int) width, (int) height, (int) depth, (int) numColors, (QImage::Endian) bitOrder);
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->create((int) width, (int) height, (int) depth, (int) numColors, (TQImage::Endian) bitOrder);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_create__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject arg1, jint depth)
{
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->create((const QSize&)*(const QSize*) QtSupport::getQt(env, arg1), (int) depth);
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->create((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_create__Lorg_kde_qt_QSize_2II(JNIEnv* env, jobject obj, jobject arg1, jint depth, jint numColors)
{
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->create((const QSize&)*(const QSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors);
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->create((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_create__Lorg_kde_qt_QSize_2III(JNIEnv* env, jobject obj, jobject arg1, jint depth, jint numColors, jint bitOrder)
{
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->create((const QSize&)*(const QSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors, (QImage::Endian) bitOrder);
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->create((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors, (TQImage::Endian) bitOrder);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QImage_depth(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((QImage*) QtSupport::getQt(env, obj))->depth();
+ jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->depth();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_detach(JNIEnv* env, jobject obj)
{
- ((QImage*) QtSupport::getQt(env, obj))->detach();
+ ((TQImage*) QtSupport::getQt(env, obj))->detach();
return;
}
@@ -220,21 +220,21 @@ Java_org_kde_qt_QImage_dispose(JNIEnv* env, jobject obj)
JNIEXPORT jint JNICALL
Java_org_kde_qt_QImage_dotsPerMeterX(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((QImage*) QtSupport::getQt(env, obj))->dotsPerMeterX();
+ jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->dotsPerMeterX();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QImage_dotsPerMeterY(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((QImage*) QtSupport::getQt(env, obj))->dotsPerMeterY();
+ jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->dotsPerMeterY();
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_fill(JNIEnv* env, jobject obj, jint pixel)
{
- ((QImage*) QtSupport::getQt(env, obj))->fill((uint) pixel);
+ ((TQImage*) QtSupport::getQt(env, obj))->fill((uint) pixel);
return;
}
@@ -242,7 +242,7 @@ JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_finalize(JNIEnv* env, jobject obj)
{
if (QtSupport::allocatedInJavaWorld(env, obj)) {
- delete (QImage*)QtSupport::getQt(env, obj);
+ delete (TQImage*)QtSupport::getQt(env, obj);
QtSupport::setQt(env, obj, 0);
}
return;
@@ -252,22 +252,22 @@ JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_fromMimeSource(JNIEnv* env, jclass cls, jstring abs_name)
{
(void) cls;
-static QString* _qstring_abs_name = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(QImageJBridge::fromMimeSource((const QString&)*(QString*) QtSupport::toQString(env, abs_name, &_qstring_abs_name))), "org.kde.qt.QImage", TRUE);
+static TQString* _qstring_abs_name = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(QImageJBridge::fromMimeSource((const TQString&)*(TQString*) QtSupport::toQString(env, abs_name, &_qstring_abs_name))), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_hasAlphaBuffer(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->hasAlphaBuffer();
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->hasAlphaBuffer();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QImage_height(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((QImage*) QtSupport::getQt(env, obj))->height();
+ jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->height();
return xret;
}
@@ -276,40 +276,40 @@ Java_org_kde_qt_QImage_imageFormat(JNIEnv* env, jclass cls, jstring fileName)
{
const char* _qstring;
(void) cls;
-static QString* _qstring_fileName = 0;
- _qstring = QImageJBridge::imageFormat((const QString&)*(QString*) QtSupport::toQString(env, fileName, &_qstring_fileName));
+static TQString* _qstring_fileName = 0;
+ _qstring = QImageJBridge::imageFormat((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName));
return QtSupport::fromCharString(env, (char *) _qstring);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_inputFormatList(JNIEnv* env, jclass cls)
{
- QStringList _qlist;
+ TQStringList _qlist;
(void) cls;
_qlist = QImageJBridge::inputFormatList();
- return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist);
+ return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_inputFormats(JNIEnv* env, jclass cls)
{
- QStrList _qlist;
+ TQStrList _qlist;
(void) cls;
_qlist = QImageJBridge::inputFormats();
- return (jobject) QtSupport::arrayWithQStrList(env, (QStrList*) &_qlist);
+ return (jobject) QtSupport::arrayWithQStrList(env, (TQStrList*) &_qlist);
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_invertPixels__(JNIEnv* env, jobject obj)
{
- ((QImage*) QtSupport::getQt(env, obj))->invertPixels();
+ ((TQImage*) QtSupport::getQt(env, obj))->invertPixels();
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_invertPixels__Z(JNIEnv* env, jobject obj, jboolean invertAlpha)
{
- ((QImage*) QtSupport::getQt(env, obj))->invertPixels((bool) invertAlpha);
+ ((TQImage*) QtSupport::getQt(env, obj))->invertPixels((bool) invertAlpha);
return;
}
@@ -322,14 +322,14 @@ Java_org_kde_qt_QImage_isDisposed(JNIEnv* env, jobject obj)
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_isGrayscale(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->isGrayscale();
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->isGrayscale();
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_isNull(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->isNull();
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->isNull();
return xret;
}
@@ -337,72 +337,72 @@ JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_jumpTable(JNIEnv* env, jobject obj)
{
uchar** _qlist;
- _qlist = ((QImage*) QtSupport::getQt(env, obj))->jumpTable();
+ _qlist = ((TQImage*) QtSupport::getQt(env, obj))->jumpTable();
return (jobject) _qlist;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_loadFromData___3B(JNIEnv* env, jobject obj, jbyteArray data)
{
-static QByteArray* _qbyteArray_data = 0;
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->loadFromData((QByteArray)*(QByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data));
+static TQByteArray* _qbyteArray_data = 0;
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->loadFromData((TQByteArray)*(TQByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_loadFromData___3BLjava_lang_String_2(JNIEnv* env, jobject obj, jbyteArray data, jstring format)
{
-static QByteArray* _qbyteArray_data = 0;
-static QCString* _qstring_format = 0;
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->loadFromData((QByteArray)*(QByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data), (const char*) QtSupport::toCharString(env, format, &_qstring_format));
+static TQByteArray* _qbyteArray_data = 0;
+static TQCString* _qstring_format = 0;
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->loadFromData((TQByteArray)*(TQByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data), (const char*) QtSupport::toCharString(env, format, &_qstring_format));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_loadFromData___3CI(JNIEnv* env, jobject obj, jcharArray buf, jint len)
{
-static QByteArray* _qbytearray_buf = 0;
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->loadFromData((const uchar*) QtSupport::toUcharArray(env, buf, &_qbytearray_buf), (uint) len);
+static TQByteArray* _qbytearray_buf = 0;
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->loadFromData((const uchar*) QtSupport::toUcharArray(env, buf, &_qbytearray_buf), (uint) len);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_loadFromData___3CILjava_lang_String_2(JNIEnv* env, jobject obj, jcharArray buf, jint len, jstring format)
{
-static QByteArray* _qbytearray_buf = 0;
-static QCString* _qstring_format = 0;
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->loadFromData((const uchar*) QtSupport::toUcharArray(env, buf, &_qbytearray_buf), (uint) len, (const char*) QtSupport::toCharString(env, format, &_qstring_format));
+static TQByteArray* _qbytearray_buf = 0;
+static TQCString* _qstring_format = 0;
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->loadFromData((const uchar*) QtSupport::toUcharArray(env, buf, &_qbytearray_buf), (uint) len, (const char*) QtSupport::toCharString(env, format, &_qstring_format));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_load__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName)
{
-static QString* _qstring_fileName = 0;
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->load((const QString&)*(QString*) QtSupport::toQString(env, fileName, &_qstring_fileName));
+static TQString* _qstring_fileName = 0;
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_load__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName, jstring format)
{
-static QString* _qstring_fileName = 0;
-static QCString* _qstring_format = 0;
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->load((const QString&)*(QString*) QtSupport::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format));
+static TQString* _qstring_fileName = 0;
+static TQCString* _qstring_format = 0;
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format));
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_mirror__(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->mirror()), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->mirror()), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_mirror__ZZ(JNIEnv* env, jobject obj, jboolean horizontally, jboolean vertically)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->mirror((bool) horizontally, (bool) vertically)), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->mirror((bool) horizontally, (bool) vertically)), "org.kde.qt.TQImage", TRUE);
return xret;
}
@@ -440,7 +440,7 @@ JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_newQImage__IIIII(JNIEnv* env, jobject obj, jint width, jint height, jint depth, jint numColors, jint bitOrder)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QImageJBridge((int) width, (int) height, (int) depth, (int) numColors, (QImage::Endian) bitOrder));
+ QtSupport::setQt(env, obj, new QImageJBridge((int) width, (int) height, (int) depth, (int) numColors, (TQImage::Endian) bitOrder));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -449,9 +449,9 @@ Java_org_kde_qt_QImage_newQImage__IIIII(JNIEnv* env, jobject obj, jint width, ji
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_newQImage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName)
{
-static QString* _qstring_fileName = 0;
+static TQString* _qstring_fileName = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QImageJBridge((const QString&)*(QString*) QtSupport::toQString(env, fileName, &_qstring_fileName)));
+ QtSupport::setQt(env, obj, new QImageJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -460,10 +460,10 @@ static QString* _qstring_fileName = 0;
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_newQImage__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName, jstring format)
{
-static QString* _qstring_fileName = 0;
-static QCString* _qstring_format = 0;
+static TQString* _qstring_fileName = 0;
+static TQCString* _qstring_format = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QImageJBridge((const QString&)*(QString*) QtSupport::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format)));
+ QtSupport::setQt(env, obj, new QImageJBridge((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -473,7 +473,7 @@ JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_newQImage__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QImageJBridge((const QImage&)*(const QImage*) QtSupport::getQt(env, arg1)));
+ QtSupport::setQt(env, obj, new QImageJBridge((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -483,7 +483,7 @@ JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_newQImage__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject arg1, jint depth)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QImageJBridge((const QSize&)*(const QSize*) QtSupport::getQt(env, arg1), (int) depth));
+ QtSupport::setQt(env, obj, new QImageJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -493,7 +493,7 @@ JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_newQImage__Lorg_kde_qt_QSize_2II(JNIEnv* env, jobject obj, jobject arg1, jint depth, jint numColors)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QImageJBridge((const QSize&)*(const QSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors));
+ QtSupport::setQt(env, obj, new QImageJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -503,7 +503,7 @@ JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_newQImage__Lorg_kde_qt_QSize_2III(JNIEnv* env, jobject obj, jobject arg1, jint depth, jint numColors, jint bitOrder)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QImageJBridge((const QSize&)*(const QSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors, (QImage::Endian) bitOrder));
+ QtSupport::setQt(env, obj, new QImageJBridge((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors, (TQImage::Endian) bitOrder));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -512,9 +512,9 @@ Java_org_kde_qt_QImage_newQImage__Lorg_kde_qt_QSize_2III(JNIEnv* env, jobject ob
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_newQImage___3B(JNIEnv* env, jobject obj, jbyteArray data)
{
-static QByteArray* _qbyteArray_data = 0;
+static TQByteArray* _qbyteArray_data = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QImageJBridge((const QByteArray&)*(QByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data)));
+ QtSupport::setQt(env, obj, new QImageJBridge((const TQByteArray&)*(TQByteArray*) QtSupport::toQByteArray(env, data, &_qbyteArray_data)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -523,10 +523,10 @@ static QByteArray* _qbyteArray_data = 0;
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_newQImage___3CIII_3III(JNIEnv* env, jobject obj, jcharArray data, jint w, jint h, jint depth, jintArray colortable, jint numColors, jint bitOrder)
{
-static QByteArray* _qbytearray_data = 0;
+static TQByteArray* _qbytearray_data = 0;
int* _int_colortable = QtSupport::toIntPtr(env, colortable);
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QImageJBridge((uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (int) w, (int) h, (int) depth, (QRgb*) _int_colortable, (int) numColors, (QImage::Endian) bitOrder));
+ QtSupport::setQt(env, obj, new QImageJBridge((uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (int) w, (int) h, (int) depth, (QRgb*) _int_colortable, (int) numColors, (TQImage::Endian) bitOrder));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
env->SetIntArrayRegion(colortable, 0, 1, (jint *) _int_colortable);
}
@@ -536,258 +536,258 @@ static QByteArray* _qbytearray_data = 0;
JNIEXPORT jint JNICALL
Java_org_kde_qt_QImage_numBytes(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((QImage*) QtSupport::getQt(env, obj))->numBytes();
+ jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->numBytes();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QImage_numColors(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((QImage*) QtSupport::getQt(env, obj))->numColors();
+ jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->numColors();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_offset(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QPoint(((QImage*) QtSupport::getQt(env, obj))->offset()), "org.kde.qt.QPoint", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQImage*) QtSupport::getQt(env, obj))->offset()), "org.kde.qt.TQPoint", TRUE);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_op_1equals(JNIEnv* env, jobject obj, jobject arg1)
{
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->operator==((const QImage&)*(const QImage*) QtSupport::getQt(env, arg1));
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->operator==((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_op_1not_1equals(JNIEnv* env, jobject obj, jobject arg1)
{
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->operator!=((const QImage&)*(const QImage*) QtSupport::getQt(env, arg1));
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->operator!=((const TQImage&)*(const TQImage*) QtSupport::getQt(env, arg1));
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_outputFormatList(JNIEnv* env, jclass cls)
{
- QStringList _qlist;
+ TQStringList _qlist;
(void) cls;
_qlist = QImageJBridge::outputFormatList();
- return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist);
+ return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_outputFormats(JNIEnv* env, jclass cls)
{
- QStrList _qlist;
+ TQStrList _qlist;
(void) cls;
_qlist = QImageJBridge::outputFormats();
- return (jobject) QtSupport::arrayWithQStrList(env, (QStrList*) &_qlist);
+ return (jobject) QtSupport::arrayWithQStrList(env, (TQStrList*) &_qlist);
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QImage_pixelIndex(JNIEnv* env, jobject obj, jint x, jint y)
{
- jint xret = (jint) ((QImage*) QtSupport::getQt(env, obj))->pixelIndex((int) x, (int) y);
+ jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->pixelIndex((int) x, (int) y);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QImage_pixel(JNIEnv* env, jobject obj, jint x, jint y)
{
- jint xret = (jint) ((QImage*) QtSupport::getQt(env, obj))->pixel((int) x, (int) y);
+ jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->pixel((int) x, (int) y);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_rect(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QRect(((QImage*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.QRect", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQImage*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TQRect", TRUE);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_reset(JNIEnv* env, jobject obj)
{
- ((QImage*) QtSupport::getQt(env, obj))->reset();
+ ((TQImage*) QtSupport::getQt(env, obj))->reset();
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_save__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName, jstring format)
{
-static QString* _qstring_fileName = 0;
-static QCString* _qstring_format = 0;
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->save((const QString&)*(QString*) QtSupport::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format));
+static TQString* _qstring_fileName = 0;
+static TQCString* _qstring_format = 0;
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->save((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_save__Ljava_lang_String_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring fileName, jstring format, jint quality)
{
-static QString* _qstring_fileName = 0;
-static QCString* _qstring_format = 0;
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->save((const QString&)*(QString*) QtSupport::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (int) quality);
+static TQString* _qstring_fileName = 0;
+static TQCString* _qstring_format = 0;
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->save((const TQString&)*(TQString*) QtSupport::toQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (int) quality);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject device, jstring format)
{
-static QCString* _qstring_format = 0;
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->save((QIODevice*) QtSupport::getQt(env, device), (const char*) QtSupport::toCharString(env, format, &_qstring_format));
+static TQCString* _qstring_format = 0;
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->save((TQIODevice*) QtSupport::getQt(env, device), (const char*) QtSupport::toCharString(env, format, &_qstring_format));
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_save__Lorg_kde_qt_QIODeviceInterface_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject device, jstring format, jint quality)
{
-static QCString* _qstring_format = 0;
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->save((QIODevice*) QtSupport::getQt(env, device), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (int) quality);
+static TQCString* _qstring_format = 0;
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->save((TQIODevice*) QtSupport::getQt(env, device), (const char*) QtSupport::toCharString(env, format, &_qstring_format), (int) quality);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_scaleHeight(JNIEnv* env, jobject obj, jint h)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->scaleHeight((int) h)), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->scaleHeight((int) h)), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_scaleWidth(JNIEnv* env, jobject obj, jint w)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->scaleWidth((int) w)), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->scaleWidth((int) w)), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_scale__II(JNIEnv* env, jobject obj, jint w, jint h)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->scale((int) w, (int) h)), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->scale((int) w, (int) h)), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_scale__III(JNIEnv* env, jobject obj, jint w, jint h, jint mode)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->scale((int) w, (int) h, (QImage::ScaleMode) mode)), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->scale((int) w, (int) h, (TQImage::ScaleMode) mode)), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_scale__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject s)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->scale((const QSize&)*(const QSize*) QtSupport::getQt(env, s))), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->scale((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s))), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_scale__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject s, jint mode)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->scale((const QSize&)*(const QSize*) QtSupport::getQt(env, s), (QImage::ScaleMode) mode)), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->scale((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s), (TQImage::ScaleMode) mode)), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_setAlphaBuffer(JNIEnv* env, jobject obj, jboolean arg1)
{
- ((QImage*) QtSupport::getQt(env, obj))->setAlphaBuffer((bool) arg1);
+ ((TQImage*) QtSupport::getQt(env, obj))->setAlphaBuffer((bool) arg1);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_setColor(JNIEnv* env, jobject obj, jint i, jint c)
{
- ((QImage*) QtSupport::getQt(env, obj))->setColor((int) i, (QRgb) c);
+ ((TQImage*) QtSupport::getQt(env, obj))->setColor((int) i, (QRgb) c);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_setDotsPerMeterX(JNIEnv* env, jobject obj, jint arg1)
{
- ((QImage*) QtSupport::getQt(env, obj))->setDotsPerMeterX((int) arg1);
+ ((TQImage*) QtSupport::getQt(env, obj))->setDotsPerMeterX((int) arg1);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_setDotsPerMeterY(JNIEnv* env, jobject obj, jint arg1)
{
- ((QImage*) QtSupport::getQt(env, obj))->setDotsPerMeterY((int) arg1);
+ ((TQImage*) QtSupport::getQt(env, obj))->setDotsPerMeterY((int) arg1);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_setNumColors(JNIEnv* env, jobject obj, jint arg1)
{
- ((QImage*) QtSupport::getQt(env, obj))->setNumColors((int) arg1);
+ ((TQImage*) QtSupport::getQt(env, obj))->setNumColors((int) arg1);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_setOffset(JNIEnv* env, jobject obj, jobject arg1)
{
- ((QImage*) QtSupport::getQt(env, obj))->setOffset((const QPoint&)*(const QPoint*) QtSupport::getQt(env, arg1));
+ ((TQImage*) QtSupport::getQt(env, obj))->setOffset((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_setPixel(JNIEnv* env, jobject obj, jint x, jint y, jint index_or_rgb)
{
- ((QImage*) QtSupport::getQt(env, obj))->setPixel((int) x, (int) y, (uint) index_or_rgb);
+ ((TQImage*) QtSupport::getQt(env, obj))->setPixel((int) x, (int) y, (uint) index_or_rgb);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_setText(JNIEnv* env, jobject obj, jstring key, jstring lang, jstring arg3)
{
-static QCString* _qstring_key = 0;
-static QCString* _qstring_lang = 0;
-static QString* _qstring_arg3 = 0;
- ((QImage*) QtSupport::getQt(env, obj))->setText((const char*) QtSupport::toCharString(env, key, &_qstring_key), (const char*) QtSupport::toCharString(env, lang, &_qstring_lang), (const QString&)*(QString*) QtSupport::toQString(env, arg3, &_qstring_arg3));
+static TQCString* _qstring_key = 0;
+static TQCString* _qstring_lang = 0;
+static TQString* _qstring_arg3 = 0;
+ ((TQImage*) QtSupport::getQt(env, obj))->setText((const char*) QtSupport::toCharString(env, key, &_qstring_key), (const char*) QtSupport::toCharString(env, lang, &_qstring_lang), (const TQString&)*(TQString*) QtSupport::toQString(env, arg3, &_qstring_arg3));
return;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_size(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QSize(((QImage*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.QSize", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQImage*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TQSize", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_smoothScale__II(JNIEnv* env, jobject obj, jint w, jint h)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->smoothScale((int) w, (int) h)), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->smoothScale((int) w, (int) h)), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_smoothScale__III(JNIEnv* env, jobject obj, jint w, jint h, jint mode)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->smoothScale((int) w, (int) h, (QImage::ScaleMode) mode)), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->smoothScale((int) w, (int) h, (TQImage::ScaleMode) mode)), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_smoothScale__Lorg_kde_qt_QSize_2(JNIEnv* env, jobject obj, jobject s)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->smoothScale((const QSize&)*(const QSize*) QtSupport::getQt(env, s))), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->smoothScale((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s))), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_smoothScale__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject s, jint mode)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->smoothScale((const QSize&)*(const QSize*) QtSupport::getQt(env, s), (QImage::ScaleMode) mode)), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->smoothScale((const TQSize&)*(const TQSize*) QtSupport::getQt(env, s), (TQImage::ScaleMode) mode)), "org.kde.qt.TQImage", TRUE);
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_swapRGB(JNIEnv* env, jobject obj)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->swapRGB()), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->swapRGB()), "org.kde.qt.TQImage", TRUE);
return xret;
}
@@ -812,64 +812,64 @@ Java_org_kde_qt_QImage_systemByteOrder(JNIEnv* env, jclass cls)
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_textKeys(JNIEnv* env, jobject obj)
{
- QStringList _qlist;
- _qlist = ((QImage*) QtSupport::getQt(env, obj))->textKeys();
- return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist);
+ TQStringList _qlist;
+ _qlist = ((TQImage*) QtSupport::getQt(env, obj))->textKeys();
+ return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_textLanguages(JNIEnv* env, jobject obj)
{
- QStringList _qlist;
- _qlist = ((QImage*) QtSupport::getQt(env, obj))->textLanguages();
- return (jobject) QtSupport::arrayWithQStringList(env, (QStringList*) &_qlist);
+ TQStringList _qlist;
+ _qlist = ((TQImage*) QtSupport::getQt(env, obj))->textLanguages();
+ return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QImage_text__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring key)
{
- QString _qstring;
-static QCString* _qstring_key = 0;
- _qstring = ((QImage*) QtSupport::getQt(env, obj))->text((const char*) QtSupport::toCharString(env, key, &_qstring_key));
+ TQString _qstring;
+static TQCString* _qstring_key = 0;
+ _qstring = ((TQImage*) QtSupport::getQt(env, obj))->text((const char*) QtSupport::toCharString(env, key, &_qstring_key));
return QtSupport::fromQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QImage_text__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring key, jstring lang)
{
- QString _qstring;
-static QCString* _qstring_key = 0;
-static QCString* _qstring_lang = 0;
- _qstring = ((QImage*) QtSupport::getQt(env, obj))->text((const char*) QtSupport::toCharString(env, key, &_qstring_key), (const char*) QtSupport::toCharString(env, lang, &_qstring_lang));
+ TQString _qstring;
+static TQCString* _qstring_key = 0;
+static TQCString* _qstring_lang = 0;
+ _qstring = ((TQImage*) QtSupport::getQt(env, obj))->text((const char*) QtSupport::toCharString(env, key, &_qstring_key), (const char*) QtSupport::toCharString(env, lang, &_qstring_lang));
return QtSupport::fromQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QImage_text__Lorg_kde_qt_QImageTextKeyLang_2(JNIEnv* env, jobject obj, jobject arg1)
{
- QString _qstring;
- _qstring = ((QImage*) QtSupport::getQt(env, obj))->text((const QImageTextKeyLang&)*(const QImageTextKeyLang*) QtSupport::getQt(env, arg1));
+ TQString _qstring;
+ _qstring = ((TQImage*) QtSupport::getQt(env, obj))->text((const TQImageTextKeyLang&)*(const TQImageTextKeyLang*) QtSupport::getQt(env, arg1));
return QtSupport::fromQString(env, &_qstring);
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_valid(JNIEnv* env, jobject obj, jint x, jint y)
{
- jboolean xret = (jboolean) ((QImage*) QtSupport::getQt(env, obj))->valid((int) x, (int) y);
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->valid((int) x, (int) y);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QImage_width(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((QImage*) QtSupport::getQt(env, obj))->width();
+ jint xret = (jint) ((TQImage*) QtSupport::getQt(env, obj))->width();
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_xForm(JNIEnv* env, jobject obj, jobject matrix)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(((QImage*) QtSupport::getQt(env, obj))->xForm((const QWMatrix&)*(const QWMatrix*) QtSupport::getQt(env, matrix))), "org.kde.qt.QImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->xForm((const TQWMatrix&)*(const TQWMatrix*) QtSupport::getQt(env, matrix))), "org.kde.qt.TQImage", TRUE);
return xret;
}