//Auto-generated by kalyptus. DO NOT EDIT.
#include <qsize.h>
#include <kpixmap.h>
#include <kpixmapeffect.h>
#include <qcolor.h>

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

class KPixmapEffectJBridge : public KPixmapEffect
{
public:
	KPixmapEffectJBridge() : KPixmapEffect() {};
	~KPixmapEffectJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_blend__Lorg_kde_koala_KPixmap_2FLorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject pixmap, jfloat initial_intensity, jobject bgnd, jint eff)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::blend((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (float) initial_intensity, (const QColor&)*(const QColor*) QtSupport::getQt(env, bgnd), (KPixmapEffect::GradientType) eff), "org.kde.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_blend__Lorg_kde_koala_KPixmap_2FLorg_kde_qt_QColor_2IZ(JNIEnv* env, jclass cls, jobject pixmap, jfloat initial_intensity, jobject bgnd, jint eff, jboolean anti_dir)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::blend((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (float) initial_intensity, (const QColor&)*(const QColor*) QtSupport::getQt(env, bgnd), (KPixmapEffect::GradientType) eff, (bool) anti_dir), "org.kde.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_blend__Lorg_kde_koala_KPixmap_2FLorg_kde_qt_QColor_2IZI(JNIEnv* env, jclass cls, jobject pixmap, jfloat initial_intensity, jobject bgnd, jint eff, jboolean anti_dir, jint ncols)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::blend((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (float) initial_intensity, (const QColor&)*(const QColor*) QtSupport::getQt(env, bgnd), (KPixmapEffect::GradientType) eff, (bool) anti_dir, (int) ncols), "org.kde.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_channelIntensity(JNIEnv* env, jclass cls, jobject pixmap, jfloat ratio, jint channel)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::channelIntensity((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (float) ratio, (KPixmapEffect::RGBComponent) channel), "org.kde.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_contrast(JNIEnv* env, jclass cls, jobject pixmap, jint c)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::contrast((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (int) c), "org.kde.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_createTiled(JNIEnv* env, jclass cls, jobject pixmap, jobject size)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KPixmap(KPixmapEffectJBridge::createTiled((const KPixmap&)*(const KPixmap*) QtSupport::getQt(env, pixmap), (QSize)*(QSize*) QtSupport::getQt(env, size))), "org.kde.koala.KPixmap", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_desaturate__Lorg_kde_koala_KPixmap_2(JNIEnv* env, jclass cls, jobject pixmap)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::desaturate((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_desaturate__Lorg_kde_koala_KPixmap_2F(JNIEnv* env, jclass cls, jobject pixmap, jfloat desat)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::desaturate((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (float) desat), "org.kde.koala.KPixmap");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KPixmapEffect_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_koala_KPixmapEffect_finalize(env, obj);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_dither(JNIEnv* env, jclass cls, jobject pixmap, jobject palette, jint size)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::dither((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (const QColor*) QtSupport::getQt(env, palette), (int) size), "org.kde.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_fade(JNIEnv* env, jclass cls, jobject pixmap, jdouble val, jobject color)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::fade((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (double) val, (const QColor&)*(const QColor*) QtSupport::getQt(env, color)), "org.kde.koala.KPixmap");
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_gradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject pixmap, jobject ca, jobject cb, jint type)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::gradient((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (const QColor&)*(const QColor*) QtSupport::getQt(env, ca), (const QColor&)*(const QColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type), "org.kde.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_gradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2II(JNIEnv* env, jclass cls, jobject pixmap, jobject ca, jobject cb, jint type, jint ncols)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::gradient((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (const QColor&)*(const QColor*) QtSupport::getQt(env, ca), (const QColor&)*(const QColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type, (int) ncols), "org.kde.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_hash__Lorg_kde_koala_KPixmap_2(JNIEnv* env, jclass cls, jobject pixmap)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::hash((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_hash__Lorg_kde_koala_KPixmap_2I(JNIEnv* env, jclass cls, jobject pixmap, jint lite)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::hash((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (KPixmapEffect::Lighting) lite), "org.kde.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_hash__Lorg_kde_koala_KPixmap_2II(JNIEnv* env, jclass cls, jobject pixmap, jint lite, jint spacing)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::hash((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (KPixmapEffect::Lighting) lite, (unsigned int) spacing), "org.kde.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_hash__Lorg_kde_koala_KPixmap_2III(JNIEnv* env, jclass cls, jobject pixmap, jint lite, jint spacing, jint ncols)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::hash((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (KPixmapEffect::Lighting) lite, (unsigned int) spacing, (int) ncols), "org.kde.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_intensity(JNIEnv* env, jclass cls, jobject pixmap, jfloat ratio)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::intensity((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (float) ratio), "org.kde.koala.KPixmap");
	return xret;
}

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_pattern__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2(JNIEnv* env, jclass cls, jobject pixmap, jobject size, jobject ca, jobject cb)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KPixmap(KPixmapEffectJBridge::pattern((const KPixmap&)*(const KPixmap*) QtSupport::getQt(env, pixmap), (QSize)*(QSize*) QtSupport::getQt(env, size), (const QColor&)*(const QColor*) QtSupport::getQt(env, ca), (const QColor&)*(const QColor*) QtSupport::getQt(env, cb))), "org.kde.koala.KPixmap", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_pattern__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QSize_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject pixmap, jobject size, jobject ca, jobject cb, jint ncols)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KPixmap(KPixmapEffectJBridge::pattern((const KPixmap&)*(const KPixmap*) QtSupport::getQt(env, pixmap), (QSize)*(QSize*) QtSupport::getQt(env, size), (const QColor&)*(const QColor*) QtSupport::getQt(env, ca), (const QColor&)*(const QColor*) QtSupport::getQt(env, cb), (int) ncols)), "org.kde.koala.KPixmap", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_selectedPixmap(JNIEnv* env, jclass cls, jobject pixmap, jobject col)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KPixmap(KPixmapEffectJBridge::selectedPixmap((const KPixmap&)*(const KPixmap*) QtSupport::getQt(env, pixmap), (const QColor&)*(const QColor*) QtSupport::getQt(env, col))), "org.kde.koala.KPixmap", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_toGray__Lorg_kde_koala_KPixmap_2(JNIEnv* env, jclass cls, jobject pixmap)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::toGray((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap)), "org.kde.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_toGray__Lorg_kde_koala_KPixmap_2Z(JNIEnv* env, jclass cls, jobject pixmap, jboolean fast)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::toGray((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (bool) fast), "org.kde.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_unbalancedGradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2I(JNIEnv* env, jclass cls, jobject pixmap, jobject ca, jobject cb, jint type)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::unbalancedGradient((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (const QColor&)*(const QColor*) QtSupport::getQt(env, ca), (const QColor&)*(const QColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type), "org.kde.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_unbalancedGradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2II(JNIEnv* env, jclass cls, jobject pixmap, jobject ca, jobject cb, jint type, jint xfactor)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::unbalancedGradient((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (const QColor&)*(const QColor*) QtSupport::getQt(env, ca), (const QColor&)*(const QColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type, (int) xfactor), "org.kde.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_unbalancedGradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2III(JNIEnv* env, jclass cls, jobject pixmap, jobject ca, jobject cb, jint type, jint xfactor, jint yfactor)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::unbalancedGradient((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (const QColor&)*(const QColor*) QtSupport::getQt(env, ca), (const QColor&)*(const QColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type, (int) xfactor, (int) yfactor), "org.kde.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KPixmapEffect_unbalancedGradient__Lorg_kde_koala_KPixmap_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2IIII(JNIEnv* env, jclass cls, jobject pixmap, jobject ca, jobject cb, jint type, jint xfactor, jint yfactor, jint ncols)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)(KPixmap *) &KPixmapEffectJBridge::unbalancedGradient((KPixmap&)*(KPixmap*) QtSupport::getQt(env, pixmap), (const QColor&)*(const QColor*) QtSupport::getQt(env, ca), (const QColor&)*(const QColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type, (int) xfactor, (int) yfactor, (int) ncols), "org.kde.koala.KPixmap");
	return xret;
}

