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

#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/KPixmapEffect.h>

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KPixmapEffect_blend__Lorg_trinitydesktop_koala_KPixmap_2FLorg_trinitydesktop_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 TQColor&)*(const TQColor*) QtSupport::getQt(env, bgnd), (KPixmapEffect::GradientType) eff), "org.trinitydesktop.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KPixmapEffect_blend__Lorg_trinitydesktop_koala_KPixmap_2FLorg_trinitydesktop_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 TQColor&)*(const TQColor*) QtSupport::getQt(env, bgnd), (KPixmapEffect::GradientType) eff, (bool) anti_dir), "org.trinitydesktop.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KPixmapEffect_blend__Lorg_trinitydesktop_koala_KPixmap_2FLorg_trinitydesktop_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 TQColor&)*(const TQColor*) QtSupport::getQt(env, bgnd), (KPixmapEffect::GradientType) eff, (bool) anti_dir, (int) ncols), "org.trinitydesktop.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_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.trinitydesktop.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_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.trinitydesktop.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_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), (TQSize)*(TQSize*) QtSupport::getQt(env, size))), "org.trinitydesktop.koala.KPixmap", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KPixmapEffect_desaturate__Lorg_trinitydesktop_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.trinitydesktop.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KPixmapEffect_desaturate__Lorg_trinitydesktop_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.trinitydesktop.koala.KPixmap");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KPixmapEffect_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_koala_KPixmapEffect_finalize(env, obj);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_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 TQColor*) QtSupport::getQt(env, palette), (int) size), "org.trinitydesktop.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_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 TQColor&)*(const TQColor*) QtSupport::getQt(env, color)), "org.trinitydesktop.koala.KPixmap");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_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_trinitydesktop_koala_KPixmapEffect_gradient__Lorg_trinitydesktop_koala_KPixmap_2Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_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 TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type), "org.trinitydesktop.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KPixmapEffect_gradient__Lorg_trinitydesktop_koala_KPixmap_2Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_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 TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type, (int) ncols), "org.trinitydesktop.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KPixmapEffect_hash__Lorg_trinitydesktop_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.trinitydesktop.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KPixmapEffect_hash__Lorg_trinitydesktop_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.trinitydesktop.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KPixmapEffect_hash__Lorg_trinitydesktop_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.trinitydesktop.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KPixmapEffect_hash__Lorg_trinitydesktop_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.trinitydesktop.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_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.trinitydesktop.koala.KPixmap");
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_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_trinitydesktop_koala_KPixmapEffect_pattern__Lorg_trinitydesktop_koala_KPixmap_2Lorg_trinitydesktop_qt_QSize_2Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_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), (TQSize)*(TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb))), "org.trinitydesktop.koala.KPixmap", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KPixmapEffect_pattern__Lorg_trinitydesktop_koala_KPixmap_2Lorg_trinitydesktop_qt_QSize_2Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_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), (TQSize)*(TQSize*) QtSupport::getQt(env, size), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (int) ncols)), "org.trinitydesktop.koala.KPixmap", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_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 TQColor&)*(const TQColor*) QtSupport::getQt(env, col))), "org.trinitydesktop.koala.KPixmap", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KPixmapEffect_toGray__Lorg_trinitydesktop_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.trinitydesktop.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KPixmapEffect_toGray__Lorg_trinitydesktop_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.trinitydesktop.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KPixmapEffect_unbalancedGradient__Lorg_trinitydesktop_koala_KPixmap_2Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_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 TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type), "org.trinitydesktop.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KPixmapEffect_unbalancedGradient__Lorg_trinitydesktop_koala_KPixmap_2Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_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 TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type, (int) xfactor), "org.trinitydesktop.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KPixmapEffect_unbalancedGradient__Lorg_trinitydesktop_koala_KPixmap_2Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_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 TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type, (int) xfactor, (int) yfactor), "org.trinitydesktop.koala.KPixmap");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KPixmapEffect_unbalancedGradient__Lorg_trinitydesktop_koala_KPixmap_2Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_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 TQColor&)*(const TQColor*) QtSupport::getQt(env, ca), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, cb), (KPixmapEffect::GradientType) type, (int) xfactor, (int) yfactor, (int) ncols), "org.trinitydesktop.koala.KPixmap");
	return xret;
}

