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.cpp302
1 files changed, 151 insertions, 151 deletions
diff --git a/qtjava/javalib/qtjava/QImage.cpp b/qtjava/javalib/qtjava/QImage.cpp
index b2534356..32cf21e6 100644
--- a/qtjava/javalib/qtjava/QImage.cpp
+++ b/qtjava/javalib/qtjava/QImage.cpp
@@ -16,53 +16,53 @@
class TQImageJBridge : public TQImage
{
public:
- TQImageJBridge() : TTQImage() {};
- TQImageJBridge(int arg1,int arg2,int arg3,int arg4,TTQImage::Endian arg5) : TTQImage(arg1,arg2,arg3,arg4,arg5) {};
- TQImageJBridge(int arg1,int arg2,int arg3,int arg4) : TTQImage(arg1,arg2,arg3,arg4) {};
- TQImageJBridge(int arg1,int arg2,int arg3) : TTQImage(arg1,arg2,arg3) {};
- TQImageJBridge(const TTQSize& arg1,int arg2,int arg3,TTQImage::Endian arg4) : TTQImage(arg1,arg2,arg3,arg4) {};
- TQImageJBridge(const TTQSize& arg1,int arg2,int arg3) : TTQImage(arg1,arg2,arg3) {};
- TQImageJBridge(const TTQSize& arg1,int arg2) : TTQImage(arg1,arg2) {};
- TQImageJBridge(const TTQString& arg1,const char* arg2) : TTQImage(arg1,arg2) {};
- TQImageJBridge(const TTQString& arg1) : TTQImage(arg1) {};
- TQImageJBridge(const TTQByteArray& arg1) : TTQImage(arg1) {};
- TQImageJBridge(uchar* arg1,int arg2,int arg3,int arg4,TQRgb* arg5,int arg6,TTQImage::Endian arg7) : TTQImage(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {};
- TQImageJBridge(const TTQImage& arg1) : TTQImage(arg1) {};
+ TQImageJBridge() : TQImage() {};
+ TQImageJBridge(int arg1,int arg2,int arg3,int arg4,TQImage::Endian arg5) : TQImage(arg1,arg2,arg3,arg4,arg5) {};
+ TQImageJBridge(int arg1,int arg2,int arg3,int arg4) : TQImage(arg1,arg2,arg3,arg4) {};
+ TQImageJBridge(int arg1,int arg2,int arg3) : TQImage(arg1,arg2,arg3) {};
+ TQImageJBridge(const TQSize& arg1,int arg2,int arg3,TQImage::Endian arg4) : TQImage(arg1,arg2,arg3,arg4) {};
+ TQImageJBridge(const TQSize& arg1,int arg2,int arg3) : TQImage(arg1,arg2,arg3) {};
+ TQImageJBridge(const TQSize& arg1,int arg2) : TQImage(arg1,arg2) {};
+ TQImageJBridge(const TQString& arg1,const char* arg2) : TQImage(arg1,arg2) {};
+ TQImageJBridge(const TQString& arg1) : TQImage(arg1) {};
+ TQImageJBridge(const TQByteArray& arg1) : TQImage(arg1) {};
+ TQImageJBridge(uchar* arg1,int arg2,int arg3,int arg4,TQRgb* arg5,int arg6,TQImage::Endian arg7) : TQImage(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {};
+ TQImageJBridge(const TQImage& arg1) : TQImage(arg1) {};
~TQImageJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_allGray(JNIEnv* env, jobject obj)
{
- jboolean xret = (jboolean) ((TTQImage*) 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) ((TTQImage*) 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) ((TTQImage*) 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) ((TTQImage*) 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->convertBitOrder((TTQImage::Endian) arg1)), "org.kde.qt.TTQImage", 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->convertDepthWithPalette((int) arg1, (TQRgb*) _int_p, (int) pc)), "org.kde.qt.TTQImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->convertDepthWithPalette((int) arg1, (TQRgb*) _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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->convertDepthWithPalette((int) arg1, (TQRgb*) _int_p, (int) pc, (int) cf)), "org.kde.qt.TTQImage", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(((TQImage*) QtSupport::getQt(env, obj))->convertDepthWithPalette((int) arg1, (TQRgb*) _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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->convertDepth((int) arg1)), "org.kde.qt.TTQImage", 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->convertDepth((int) arg1, (int) conversion_flags)), "org.kde.qt.TTQImage", 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->copy()), "org.kde.qt.TTQImage", 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->copy((int) x, (int) y, (int) w, (int) h)), "org.kde.qt.TTQImage", 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->copy((int) x, (int) y, (int) w, (int) h, (int) conversion_flags)), "org.kde.qt.TTQImage", 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->copy((const TTQRect&)*(const TTQRect*) QtSupport::getQt(env, arg1))), "org.kde.qt.TTQImage", 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->createAlphaMask()), "org.kde.qt.TTQImage", 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->createAlphaMask((int) conversion_flags)), "org.kde.qt.TTQImage", 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->createHeuristicMask()), "org.kde.qt.TTQImage", 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->createHeuristicMask((bool) clipTight)), "org.kde.qt.TTQImage", 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) ((TTQImage*) 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) ((TTQImage*) 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) ((TTQImage*) QtSupport::getQt(env, obj))->create((int) width, (int) height, (int) depth, (int) numColors, (TTQImage::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) ((TTQImage*) QtSupport::getQt(env, obj))->create((const TTQSize&)*(const TTQSize*) 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) ((TTQImage*) QtSupport::getQt(env, obj))->create((const TTQSize&)*(const TTQSize*) 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) ((TTQImage*) QtSupport::getQt(env, obj))->create((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors, (TTQImage::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) ((TTQImage*) 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)
{
- ((TTQImage*) 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) ((TTQImage*) 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) ((TTQImage*) 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)
{
- ((TTQImage*) 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 (TTQImage*)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 TTQString* _qstring_abs_name = 0;
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQImage(TQImageJBridge::fromMimeSource((const TTQString&)*(TTQString*) QtSupport::toTQString(env, abs_name, &_qstring_abs_name))), "org.kde.qt.TTQImage", TRUE);
+static TQString* _qstring_abs_name = 0;
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TQImage(TQImageJBridge::fromMimeSource((const TQString&)*(TQString*) QtSupport::toTQString(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) ((TTQImage*) 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) ((TTQImage*) 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 TTQString* _qstring_fileName = 0;
- _qstring = TQImageJBridge::imageFormat((const TTQString&)*(TTQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName));
+static TQString* _qstring_fileName = 0;
+ _qstring = TQImageJBridge::imageFormat((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName));
return QtSupport::fromCharString(env, (char *) _qstring);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_inputFormatList(JNIEnv* env, jclass cls)
{
- TTQStringList _qlist;
+ TQStringList _qlist;
(void) cls;
_qlist = TQImageJBridge::inputFormatList();
- return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist);
+ return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_inputFormats(JNIEnv* env, jclass cls)
{
- TTQStrList _qlist;
+ TQStrList _qlist;
(void) cls;
_qlist = TQImageJBridge::inputFormats();
- return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_qlist);
+ return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist);
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_invertPixels__(JNIEnv* env, jobject obj)
{
- ((TTQImage*) 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)
{
- ((TTQImage*) 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) ((TTQImage*) 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) ((TTQImage*) 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 = ((TTQImage*) 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 TTQByteArray* _qbyteArray_data = 0;
- jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->loadFromData((TTQByteArray)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data));
+static TQByteArray* _qbyteArray_data = 0;
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->loadFromData((TQByteArray)*(TQByteArray*) QtSupport::toTQByteArray(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 TTQByteArray* _qbyteArray_data = 0;
-static TTQCString* _qstring_format = 0;
- jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->loadFromData((TTQByteArray)*(TTQByteArray*) QtSupport::toTQByteArray(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::toTQByteArray(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 TTQByteArray* _qbytearray_buf = 0;
- jboolean xret = (jboolean) ((TTQImage*) 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 TTQByteArray* _qbytearray_buf = 0;
-static TTQCString* _qstring_format = 0;
- jboolean xret = (jboolean) ((TTQImage*) 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 TTQString* _qstring_fileName = 0;
- jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->load((const TTQString&)*(TTQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName));
+static TQString* _qstring_fileName = 0;
+ jboolean xret = (jboolean) ((TQImage*) QtSupport::getQt(env, obj))->load((const TQString&)*(TQString*) QtSupport::toTQString(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 TTQString* _qstring_fileName = 0;
-static TTQCString* _qstring_format = 0;
- jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->load((const TTQString&)*(TTQString*) QtSupport::toTQString(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::toTQString(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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->mirror()), "org.kde.qt.TTQImage", 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->mirror((bool) horizontally, (bool) vertically)), "org.kde.qt.TTQImage", 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_newTQImage__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 TQImageJBridge((int) width, (int) height, (int) depth, (int) numColors, (TTQImage::Endian) bitOrder));
+ QtSupport::setQt(env, obj, new TQImageJBridge((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_newTQImage__IIIII(JNIEnv* env, jobject obj, jint width, j
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_newTQImage__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName)
{
-static TTQString* _qstring_fileName = 0;
+static TQString* _qstring_fileName = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new TQImageJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)));
+ QtSupport::setQt(env, obj, new TQImageJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -460,10 +460,10 @@ static TTQString* _qstring_fileName = 0;
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_newTQImage__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring fileName, jstring format)
{
-static TTQString* _qstring_fileName = 0;
-static TTQCString* _qstring_format = 0;
+static TQString* _qstring_fileName = 0;
+static TQCString* _qstring_format = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new TQImageJBridge((const TTQString&)*(TTQString*) QtSupport::toTQString(env, fileName, &_qstring_fileName), (const char*) QtSupport::toCharString(env, format, &_qstring_format)));
+ QtSupport::setQt(env, obj, new TQImageJBridge((const TQString&)*(TQString*) QtSupport::toTQString(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_newTQImage__Lorg_kde_qt_QImage_2(JNIEnv* env, jobject obj, jobject arg1)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new TQImageJBridge((const TTQImage&)*(const TTQImage*) QtSupport::getQt(env, arg1)));
+ QtSupport::setQt(env, obj, new TQImageJBridge((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_newTQImage__Lorg_kde_qt_QSize_2I(JNIEnv* env, jobject obj, jobject arg1, jint depth)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new TQImageJBridge((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1), (int) depth));
+ QtSupport::setQt(env, obj, new TQImageJBridge((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_newTQImage__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 TQImageJBridge((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors));
+ QtSupport::setQt(env, obj, new TQImageJBridge((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_newTQImage__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 TQImageJBridge((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, arg1), (int) depth, (int) numColors, (TTQImage::Endian) bitOrder));
+ QtSupport::setQt(env, obj, new TQImageJBridge((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_newTQImage__Lorg_kde_qt_QSize_2III(JNIEnv* env, jobject o
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_newTQImage___3B(JNIEnv* env, jobject obj, jbyteArray data)
{
-static TTQByteArray* _qbyteArray_data = 0;
+static TQByteArray* _qbyteArray_data = 0;
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new TQImageJBridge((const TTQByteArray&)*(TTQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)));
+ QtSupport::setQt(env, obj, new TQImageJBridge((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data)));
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -523,10 +523,10 @@ static TTQByteArray* _qbyteArray_data = 0;
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_newTQImage___3CIII_3III(JNIEnv* env, jobject obj, jcharArray data, jint w, jint h, jint depth, jintArray colortable, jint numColors, jint bitOrder)
{
-static TTQByteArray* _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 TQImageJBridge((uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (int) w, (int) h, (int) depth, (TQRgb*) _int_colortable, (int) numColors, (TTQImage::Endian) bitOrder));
+ QtSupport::setQt(env, obj, new TQImageJBridge((uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (int) w, (int) h, (int) depth, (TQRgb*) _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 TTQByteArray* _qbytearray_data = 0;
JNIEXPORT jint JNICALL
Java_org_kde_qt_QImage_numBytes(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((TTQImage*) 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) ((TTQImage*) 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 TTQPoint(((TTQImage*) QtSupport::getQt(env, obj))->offset()), "org.kde.qt.TTQPoint", 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) ((TTQImage*) QtSupport::getQt(env, obj))->operator==((const TTQImage&)*(const TTQImage*) 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) ((TTQImage*) QtSupport::getQt(env, obj))->operator!=((const TTQImage&)*(const TTQImage*) 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)
{
- TTQStringList _qlist;
+ TQStringList _qlist;
(void) cls;
_qlist = TQImageJBridge::outputFormatList();
- return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist);
+ return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_outputFormats(JNIEnv* env, jclass cls)
{
- TTQStrList _qlist;
+ TQStrList _qlist;
(void) cls;
_qlist = TQImageJBridge::outputFormats();
- return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_qlist);
+ return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist);
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QImage_pixelIndex(JNIEnv* env, jobject obj, jint x, jint y)
{
- jint xret = (jint) ((TTQImage*) 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) ((TTQImage*) 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 TTQRect(((TTQImage*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.TTQRect", 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)
{
- ((TTQImage*) 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 TTQString* _qstring_fileName = 0;
-static TTQCString* _qstring_format = 0;
- jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->save((const TTQString&)*(TTQString*) QtSupport::toTQString(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::toTQString(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 TTQString* _qstring_fileName = 0;
-static TTQCString* _qstring_format = 0;
- jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->save((const TTQString&)*(TTQString*) QtSupport::toTQString(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::toTQString(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 TTQCString* _qstring_format = 0;
- jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->save((TTQIODevice*) 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 TTQCString* _qstring_format = 0;
- jboolean xret = (jboolean) ((TTQImage*) QtSupport::getQt(env, obj))->save((TTQIODevice*) 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->scaleHeight((int) h)), "org.kde.qt.TTQImage", 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->scaleWidth((int) w)), "org.kde.qt.TTQImage", 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->scale((int) w, (int) h)), "org.kde.qt.TTQImage", 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->scale((int) w, (int) h, (TTQImage::ScaleMode) mode)), "org.kde.qt.TTQImage", 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->scale((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s))), "org.kde.qt.TTQImage", 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->scale((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s), (TTQImage::ScaleMode) mode)), "org.kde.qt.TTQImage", 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)
{
- ((TTQImage*) 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)
{
- ((TTQImage*) QtSupport::getQt(env, obj))->setColor((int) i, (TQRgb) c);
+ ((TQImage*) QtSupport::getQt(env, obj))->setColor((int) i, (TQRgb) c);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QImage_setDotsPerMeterX(JNIEnv* env, jobject obj, jint arg1)
{
- ((TTQImage*) 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)
{
- ((TTQImage*) 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)
{
- ((TTQImage*) 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)
{
- ((TTQImage*) QtSupport::getQt(env, obj))->setOffset((const TTQPoint&)*(const TTQPoint*) 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)
{
- ((TTQImage*) 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 TTQCString* _qstring_key = 0;
-static TTQCString* _qstring_lang = 0;
-static TTQString* _qstring_arg3 = 0;
- ((TTQImage*) QtSupport::getQt(env, obj))->setText((const char*) QtSupport::toCharString(env, key, &_qstring_key), (const char*) QtSupport::toCharString(env, lang, &_qstring_lang), (const TTQString&)*(TTQString*) QtSupport::toTQString(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::toTQString(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 TTQSize(((TTQImage*) QtSupport::getQt(env, obj))->size()), "org.kde.qt.TTQSize", 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->smoothScale((int) w, (int) h)), "org.kde.qt.TTQImage", 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->smoothScale((int) w, (int) h, (TTQImage::ScaleMode) mode)), "org.kde.qt.TTQImage", 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->smoothScale((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s))), "org.kde.qt.TTQImage", 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->smoothScale((const TTQSize&)*(const TTQSize*) QtSupport::getQt(env, s), (TTQImage::ScaleMode) mode)), "org.kde.qt.TTQImage", 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->swapRGB()), "org.kde.qt.TTQImage", 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)
{
- TTQStringList _qlist;
- _qlist = ((TTQImage*) QtSupport::getQt(env, obj))->textKeys();
- return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist);
+ TQStringList _qlist;
+ _qlist = ((TQImage*) QtSupport::getQt(env, obj))->textKeys();
+ return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QImage_textLanguages(JNIEnv* env, jobject obj)
{
- TTQStringList _qlist;
- _qlist = ((TTQImage*) QtSupport::getQt(env, obj))->textLanguages();
- return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist);
+ TQStringList _qlist;
+ _qlist = ((TQImage*) QtSupport::getQt(env, obj))->textLanguages();
+ return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QImage_text__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring key)
{
- TTQString _qstring;
-static TTQCString* _qstring_key = 0;
- _qstring = ((TTQImage*) 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::fromTQString(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)
{
- TTQString _qstring;
-static TTQCString* _qstring_key = 0;
-static TTQCString* _qstring_lang = 0;
- _qstring = ((TTQImage*) 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::fromTQString(env, &_qstring);
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QImage_text__Lorg_kde_qt_QImageTextKeyLang_2(JNIEnv* env, jobject obj, jobject arg1)
{
- TTQString _qstring;
- _qstring = ((TTQImage*) QtSupport::getQt(env, obj))->text((const TTQImageTextKeyLang&)*(const TTQImageTextKeyLang*) QtSupport::getQt(env, arg1));
+ TQString _qstring;
+ _qstring = ((TQImage*) QtSupport::getQt(env, obj))->text((const TQImageTextKeyLang&)*(const TQImageTextKeyLang*) QtSupport::getQt(env, arg1));
return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QImage_valid(JNIEnv* env, jobject obj, jint x, jint y)
{
- jboolean xret = (jboolean) ((TTQImage*) 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) ((TTQImage*) 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 TTQImage(((TTQImage*) QtSupport::getQt(env, obj))->xForm((const TTQWMatrix&)*(const TTQWMatrix*) QtSupport::getQt(env, matrix))), "org.kde.qt.TTQImage", 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;
}