//Auto-generated by kalyptus. DO NOT EDIT.
#include <qsize.h>
#include <qrect.h>
#include <kimageeffect.h>
#include <qimage.h>
#include <qpoint.h>
#include <qcolor.h>

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KImageEffect.h>

class KImageEffectJBridge : public KImageEffect
{
public:
	KImageEffectJBridge() : KImageEffect() {};
	~KImageEffectJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_addNoise__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::addNoise((QImage&)*(QImage*) QtSupport::getQt(env, src))), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_addNoise__Lorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject src, jint type)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::addNoise((QImage&)*(QImage*) QtSupport::getQt(env, src), (KImageEffect::NoiseType) type)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KImageEffect_blendOnLower__IILorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jint x, jint y, jobject upper, jobject lower)
{
	(void) cls;
	jboolean xret = (jboolean) KImageEffectJBridge::blendOnLower((int) x, (int) y, (const QImage&)*(const QImage*) QtSupport::getQt(env, upper), (const QImage&)*(const QImage*) QtSupport::getQt(env, lower));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KImageEffect_blendOnLower__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2IF(JNIEnv* env, jclass cls, jobject upper, jobject lower, jint disposition, jfloat opacity)
{
	(void) cls;
	KImageEffectJBridge::blendOnLower((QImage&)*(QImage*) QtSupport::getQt(env, upper), (QImage&)*(QImage*) QtSupport::getQt(env, lower), (KImageEffect::Disposition) disposition, (float) opacity);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KImageEffect_blendOnLower__Lorg_kde_qt_QImage_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QRect_2(JNIEnv* env, jclass cls, jobject upper, jobject upperOffset, jobject lower, jobject lowerRect)
{
	(void) cls;
	KImageEffectJBridge::blendOnLower((const QImage&)*(const QImage*) QtSupport::getQt(env, upper), (const QPoint&)*(const QPoint*) QtSupport::getQt(env, upperOffset), (QImage&)*(QImage*) QtSupport::getQt(env, lower), (const QRect&)*(const QRect*) QtSupport::getQt(env, lowerRect));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KImageEffect_blendOnLower__Lorg_kde_qt_QImage_2Lorg_kde_qt_QPoint_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QRect_2F(JNIEnv* env, jclass cls, jobject upper, jobject upperOffset, jobject lower, jobject lowerRect, jfloat opacity)
{
	(void) cls;
	KImageEffectJBridge::blendOnLower((const QImage&)*(const QImage*) QtSupport::getQt(env, upper), (const QPoint&)*(const QPoint*) QtSupport::getQt(env, upperOffset), (QImage&)*(QImage*) QtSupport::getQt(env, lower), (const QRect&)*(const QRect*) QtSupport::getQt(env, lowerRect), (float) opacity);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QColor_2Lorg_kde_qt_QImage_2F(JNIEnv* env, jclass cls, jobject clr, jobject dst, jfloat opacity)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::blend((const QColor&)*(const QColor*) QtSupport::getQt(env, clr), (QImage&)*(QImage*) QtSupport::getQt(env, dst), (float) opacity), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2FLorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject image, jfloat initial_intensity, jobject bgnd, jint eff)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::blend((QImage&)*(QImage*) QtSupport::getQt(env, image), (float) initial_intensity, (const QColor&)*(const QColor*) QtSupport::getQt(env, bgnd), (KImageEffect::GradientType) eff), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2FLorg_kde_qt_QColor_2IZ(JNIEnv* env, jclass cls, jobject image, jfloat initial_intensity, jobject bgnd, jint eff, jboolean anti_dir)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::blend((QImage&)*(QImage*) QtSupport::getQt(env, image), (float) initial_intensity, (const QColor&)*(const QColor*) QtSupport::getQt(env, bgnd), (KImageEffect::GradientType) eff, (bool) anti_dir), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2F(JNIEnv* env, jclass cls, jobject src, jobject dst, jfloat opacity)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::blend((QImage&)*(QImage*) QtSupport::getQt(env, src), (QImage&)*(QImage*) QtSupport::getQt(env, dst), (float) opacity), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject image1, jobject image2, jint gt)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::blend((QImage&)*(QImage*) QtSupport::getQt(env, image1), (QImage&)*(QImage*) QtSupport::getQt(env, image2), (KImageEffect::GradientType) gt), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2II(JNIEnv* env, jclass cls, jobject image1, jobject image2, jint gt, jint xf)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::blend((QImage&)*(QImage*) QtSupport::getQt(env, image1), (QImage&)*(QImage*) QtSupport::getQt(env, image2), (KImageEffect::GradientType) gt, (int) xf), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2III(JNIEnv* env, jclass cls, jobject image1, jobject image2, jint gt, jint xf, jint yf)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::blend((QImage&)*(QImage*) QtSupport::getQt(env, image1), (QImage&)*(QImage*) QtSupport::getQt(env, image2), (KImageEffect::GradientType) gt, (int) xf, (int) yf), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject upper, jobject lower, jobject output)
{
	(void) cls;
	jboolean xret = (jboolean) KImageEffectJBridge::blend((const QImage&)*(const QImage*) QtSupport::getQt(env, upper), (const QImage&)*(const QImage*) QtSupport::getQt(env, lower), (QImage&)*(QImage*) QtSupport::getQt(env, output));
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_blend__Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject image1, jobject image2, jobject blendImage, jint channel)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::blend((QImage&)*(QImage*) QtSupport::getQt(env, image1), (QImage&)*(QImage*) QtSupport::getQt(env, image2), (QImage&)*(QImage*) QtSupport::getQt(env, blendImage), (KImageEffect::RGBComponent) channel), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KImageEffect_blend___3I_3ILorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jintArray x, jintArray y, jobject upper, jobject lower, jobject output)
{
	(void) cls;
	int* _int_x = QtSupport::toIntPtr(env, x);
	int* _int_y = QtSupport::toIntPtr(env, y);
	jboolean xret = (jboolean) KImageEffectJBridge::blend( (int&) *_int_x,  (int&) *_int_y, (const QImage&)*(const QImage*) QtSupport::getQt(env, upper), (const QImage&)*(const QImage*) QtSupport::getQt(env, lower), (QImage&)*(QImage*) QtSupport::getQt(env, output));
	env->SetIntArrayRegion(x, 0, 1, (jint *) _int_x);
	env->SetIntArrayRegion(y, 0, 1, (jint *) _int_y);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_blur__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::blur((QImage&)*(QImage*) QtSupport::getQt(env, src))), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_blur__Lorg_kde_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble factor)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::blur((QImage&)*(QImage*) QtSupport::getQt(env, src), (double) factor)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_blur__Lorg_kde_qt_QImage_2DD(JNIEnv* env, jclass cls, jobject src, jdouble radius, jdouble sigma)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::blur((QImage&)*(QImage*) QtSupport::getQt(env, src), (double) radius, (double) sigma)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_bumpmap(JNIEnv* env, jclass cls, jobject img, jobject map, jdouble azimuth, jdouble elevation, jint depth, jint xofs, jint yofs, jint waterlevel, jint ambient, jboolean compensate, jboolean invert, jint type, jboolean tiled)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::bumpmap((QImage&)*(QImage*) QtSupport::getQt(env, img), (QImage&)*(QImage*) QtSupport::getQt(env, map), (double) azimuth, (double) elevation, (int) depth, (int) xofs, (int) yofs, (int) waterlevel, (int) ambient, (bool) compensate, (bool) invert, (KImageEffect::BumpmapType) type, (bool) tiled)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_channelIntensity(JNIEnv* env, jclass cls, jobject image, jfloat percent, jint channel)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::channelIntensity((QImage&)*(QImage*) QtSupport::getQt(env, image), (float) percent, (KImageEffect::RGBComponent) channel), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_charcoal__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::charcoal((QImage&)*(QImage*) QtSupport::getQt(env, src))), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_charcoal__Lorg_kde_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble factor)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::charcoal((QImage&)*(QImage*) QtSupport::getQt(env, src), (double) factor)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_charcoal__Lorg_kde_qt_QImage_2DD(JNIEnv* env, jclass cls, jobject src, jdouble radius, jdouble sigma)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::charcoal((QImage&)*(QImage*) QtSupport::getQt(env, src), (double) radius, (double) sigma)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_computeDestinationRect(JNIEnv* env, jclass cls, jobject lowerSize, jint disposition, jobject upper)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QRect(KImageEffectJBridge::computeDestinationRect((const QSize&)*(const QSize*) QtSupport::getQt(env, lowerSize), (KImageEffect::Disposition) disposition, (QImage&)*(QImage*) QtSupport::getQt(env, upper))), "org.kde.qt.QRect", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KImageEffect_contrastHSV__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject img)
{
	(void) cls;
	KImageEffectJBridge::contrastHSV((QImage&)*(QImage*) QtSupport::getQt(env, img));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KImageEffect_contrastHSV__Lorg_kde_qt_QImage_2Z(JNIEnv* env, jclass cls, jobject img, jboolean sharpen)
{
	(void) cls;
	KImageEffectJBridge::contrastHSV((QImage&)*(QImage*) QtSupport::getQt(env, img), (bool) sharpen);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_contrast(JNIEnv* env, jclass cls, jobject image, jint c)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::contrast((QImage&)*(QImage*) QtSupport::getQt(env, image), (int) c), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_desaturate__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject image)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::desaturate((QImage&)*(QImage*) QtSupport::getQt(env, image)), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_desaturate__Lorg_kde_qt_QImage_2F(JNIEnv* env, jclass cls, jobject image, jfloat desat)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::desaturate((QImage&)*(QImage*) QtSupport::getQt(env, image), (float) desat), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_despeckle(JNIEnv* env, jclass cls, jobject src)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::despeckle((QImage&)*(QImage*) QtSupport::getQt(env, src))), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KImageEffect_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_koala_KImageEffect_finalize(env, obj);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_dither(JNIEnv* env, jclass cls, jobject image, jobject palette, jint size)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::dither((QImage&)*(QImage*) QtSupport::getQt(env, image), (const QColor*) QtSupport::getQt(env, palette), (int) size), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_edge(JNIEnv* env, jclass cls, jobject src, jdouble radius)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::edge((QImage&)*(QImage*) QtSupport::getQt(env, src), (double) radius)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_emboss__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::emboss((QImage&)*(QImage*) QtSupport::getQt(env, src))), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_emboss__Lorg_kde_qt_QImage_2DD(JNIEnv* env, jclass cls, jobject src, jdouble radius, jdouble sigma)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::emboss((QImage&)*(QImage*) QtSupport::getQt(env, src), (double) radius, (double) sigma)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KImageEffect_equalize(JNIEnv* env, jclass cls, jobject img)
{
	(void) cls;
	KImageEffectJBridge::equalize((QImage&)*(QImage*) QtSupport::getQt(env, img));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_fade(JNIEnv* env, jclass cls, jobject image, jfloat val, jobject color)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::fade((QImage&)*(QImage*) QtSupport::getQt(env, image), (float) val, (const QColor&)*(const QColor*) QtSupport::getQt(env, color)), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KImageEffect_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj)) {
		delete (KImageEffect*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_flatten__Lorg_kde_qt_QImage_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jclass cls, jobject image, jobject ca, jobject cb)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::flatten((QImage&)*(QImage*) QtSupport::getQt(env, image), (const QColor&)*(const QColor*) QtSupport::getQt(env, ca), (const QColor&)*(const QColor*) QtSupport::getQt(env, cb)), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_flatten__Lorg_kde_qt_QImage_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject image, jobject ca, jobject cb, jint ncols)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::flatten((QImage&)*(QImage*) QtSupport::getQt(env, image), (const QColor&)*(const QColor*) QtSupport::getQt(env, ca), (const QColor&)*(const QColor*) QtSupport::getQt(env, cb), (int) ncols), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_gradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::gradient((const QSize&)*(const QSize*) QtSupport::getQt(env, size), (const QColor&)*(const QColor*) QtSupport::getQt(env, ca), (const QColor&)*(const QColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_gradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2II(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type, jint ncols)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::gradient((const QSize&)*(const QSize*) QtSupport::getQt(env, size), (const QColor&)*(const QColor*) QtSupport::getQt(env, ca), (const QColor&)*(const QColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type, (int) ncols)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_hash__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject image)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::hash((QImage&)*(QImage*) QtSupport::getQt(env, image)), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_hash__Lorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject image, jint lite)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::hash((QImage&)*(QImage*) QtSupport::getQt(env, image), (KImageEffect::Lighting) lite), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_hash__Lorg_kde_qt_QImage_2II(JNIEnv* env, jclass cls, jobject image, jint lite, jint spacing)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::hash((QImage&)*(QImage*) QtSupport::getQt(env, image), (KImageEffect::Lighting) lite, (unsigned int) spacing), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_implode__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::implode((QImage&)*(QImage*) QtSupport::getQt(env, src))), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_implode__Lorg_kde_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble factor)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::implode((QImage&)*(QImage*) QtSupport::getQt(env, src), (double) factor)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_implode__Lorg_kde_qt_QImage_2DI(JNIEnv* env, jclass cls, jobject src, jdouble factor, jint background)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::implode((QImage&)*(QImage*) QtSupport::getQt(env, src), (double) factor, (unsigned int) background)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_intensity(JNIEnv* env, jclass cls, jobject image, jfloat percent)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::intensity((QImage&)*(QImage*) QtSupport::getQt(env, image), (float) percent), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KImageEffect_isDisposed(JNIEnv* env, jobject obj)
{
	return (QtSupport::getQt(env, obj) == 0);
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_modulate(JNIEnv* env, jclass cls, jobject image, jobject modImage, jboolean reverse, jint type, jint factor, jint channel)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::modulate((QImage&)*(QImage*) QtSupport::getQt(env, image), (QImage&)*(QImage*) QtSupport::getQt(env, modImage), (bool) reverse, (KImageEffect::ModulationType) type, (int) factor, (KImageEffect::RGBComponent) channel), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KImageEffect_newKImageEffect(JNIEnv* env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KImageEffectJBridge());
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KImageEffect_normalize(JNIEnv* env, jclass cls, jobject img)
{
	(void) cls;
	KImageEffectJBridge::normalize((QImage&)*(QImage*) QtSupport::getQt(env, img));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_oilPaintConvolve(JNIEnv* env, jclass cls, jobject src, jdouble radius)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::oilPaintConvolve((QImage&)*(QImage*) QtSupport::getQt(env, src), (double) radius)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_oilPaint__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::oilPaint((QImage&)*(QImage*) QtSupport::getQt(env, src))), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_oilPaint__Lorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject src, jint radius)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::oilPaint((QImage&)*(QImage*) QtSupport::getQt(env, src), (int) radius)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_rotate(JNIEnv* env, jclass cls, jobject src, jint r)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::rotate((QImage&)*(QImage*) QtSupport::getQt(env, src), (KImageEffect::RotateDirection) r)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_sample(JNIEnv* env, jclass cls, jobject src, jint w, jint h)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::sample((QImage&)*(QImage*) QtSupport::getQt(env, src), (int) w, (int) h)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_selectedImage(JNIEnv* env, jclass cls, jobject img, jobject col)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::selectedImage((QImage&)*(QImage*) QtSupport::getQt(env, img), (const QColor&)*(const QColor*) QtSupport::getQt(env, col)), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_shade__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::shade((QImage&)*(QImage*) QtSupport::getQt(env, src))), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_shade__Lorg_kde_qt_QImage_2Z(JNIEnv* env, jclass cls, jobject src, jboolean color_shading)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::shade((QImage&)*(QImage*) QtSupport::getQt(env, src), (bool) color_shading)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_shade__Lorg_kde_qt_QImage_2ZD(JNIEnv* env, jclass cls, jobject src, jboolean color_shading, jdouble azimuth)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::shade((QImage&)*(QImage*) QtSupport::getQt(env, src), (bool) color_shading, (double) azimuth)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_shade__Lorg_kde_qt_QImage_2ZDD(JNIEnv* env, jclass cls, jobject src, jboolean color_shading, jdouble azimuth, jdouble elevation)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::shade((QImage&)*(QImage*) QtSupport::getQt(env, src), (bool) color_shading, (double) azimuth, (double) elevation)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_sharpen__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::sharpen((QImage&)*(QImage*) QtSupport::getQt(env, src))), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_sharpen__Lorg_kde_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble factor)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::sharpen((QImage&)*(QImage*) QtSupport::getQt(env, src), (double) factor)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_sharpen__Lorg_kde_qt_QImage_2DD(JNIEnv* env, jclass cls, jobject src, jdouble radius, jdouble sigma)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::sharpen((QImage&)*(QImage*) QtSupport::getQt(env, src), (double) radius, (double) sigma)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KImageEffect_solarize__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject img)
{
	(void) cls;
	KImageEffectJBridge::solarize((QImage&)*(QImage*) QtSupport::getQt(env, img));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KImageEffect_solarize__Lorg_kde_qt_QImage_2D(JNIEnv* env, jclass cls, jobject img, jdouble factor)
{
	(void) cls;
	KImageEffectJBridge::solarize((QImage&)*(QImage*) QtSupport::getQt(env, img), (double) factor);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_spread__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::spread((QImage&)*(QImage*) QtSupport::getQt(env, src))), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_spread__Lorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject src, jint amount)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::spread((QImage&)*(QImage*) QtSupport::getQt(env, src), (unsigned int) amount)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_swirl__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::swirl((QImage&)*(QImage*) QtSupport::getQt(env, src))), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_swirl__Lorg_kde_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble degrees)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::swirl((QImage&)*(QImage*) QtSupport::getQt(env, src), (double) degrees)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_swirl__Lorg_kde_qt_QImage_2DI(JNIEnv* env, jclass cls, jobject src, jdouble degrees, jint background)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::swirl((QImage&)*(QImage*) QtSupport::getQt(env, src), (double) degrees, (unsigned int) background)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KImageEffect_threshold__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject img)
{
	(void) cls;
	KImageEffectJBridge::threshold((QImage&)*(QImage*) QtSupport::getQt(env, img));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KImageEffect_threshold__Lorg_kde_qt_QImage_2I(JNIEnv* env, jclass cls, jobject img, jint value)
{
	(void) cls;
	KImageEffectJBridge::threshold((QImage&)*(QImage*) QtSupport::getQt(env, img), (unsigned int) value);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_toGray__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject image)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::toGray((QImage&)*(QImage*) QtSupport::getQt(env, image)), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_toGray__Lorg_kde_qt_QImage_2Z(JNIEnv* env, jclass cls, jobject image, jboolean fast)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QImage *) &KImageEffectJBridge::toGray((QImage&)*(QImage*) QtSupport::getQt(env, image), (bool) fast), "org.kde.qt.QImage");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_unbalancedGradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::unbalancedGradient((const QSize&)*(const QSize*) QtSupport::getQt(env, size), (const QColor&)*(const QColor*) QtSupport::getQt(env, ca), (const QColor&)*(const QColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_unbalancedGradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2II(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type, jint xfactor)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::unbalancedGradient((const QSize&)*(const QSize*) QtSupport::getQt(env, size), (const QColor&)*(const QColor*) QtSupport::getQt(env, ca), (const QColor&)*(const QColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type, (int) xfactor)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_unbalancedGradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2III(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type, jint xfactor, jint yfactor)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::unbalancedGradient((const QSize&)*(const QSize*) QtSupport::getQt(env, size), (const QColor&)*(const QColor*) QtSupport::getQt(env, ca), (const QColor&)*(const QColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type, (int) xfactor, (int) yfactor)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_unbalancedGradient__Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2IIII(JNIEnv* env, jclass cls, jobject size, jobject ca, jobject cb, jint type, jint xfactor, jint yfactor, jint ncols)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::unbalancedGradient((const QSize&)*(const QSize*) QtSupport::getQt(env, size), (const QColor&)*(const QColor*) QtSupport::getQt(env, ca), (const QColor&)*(const QColor*) QtSupport::getQt(env, cb), (KImageEffect::GradientType) type, (int) xfactor, (int) yfactor, (int) ncols)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_wave__Lorg_kde_qt_QImage_2(JNIEnv* env, jclass cls, jobject src)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::wave((QImage&)*(QImage*) QtSupport::getQt(env, src))), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_wave__Lorg_kde_qt_QImage_2D(JNIEnv* env, jclass cls, jobject src, jdouble amplitude)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::wave((QImage&)*(QImage*) QtSupport::getQt(env, src), (double) amplitude)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_wave__Lorg_kde_qt_QImage_2DD(JNIEnv* env, jclass cls, jobject src, jdouble amplitude, jdouble frequency)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::wave((QImage&)*(QImage*) QtSupport::getQt(env, src), (double) amplitude, (double) frequency)), "org.kde.qt.QImage", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KImageEffect_wave__Lorg_kde_qt_QImage_2DDI(JNIEnv* env, jclass cls, jobject src, jdouble amplitude, jdouble frequency, jint background)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QImage(KImageEffectJBridge::wave((QImage&)*(QImage*) QtSupport::getQt(env, src), (double) amplitude, (double) frequency, (unsigned int) background)), "org.kde.qt.QImage", TRUE);
	return xret;
}

