//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqbrush.h>
#include <tqcolor.h>
#include <tqpalette.h>

#include <qtjava/QtSupport.h>
#include <qtjava/TQColorGroup.h>

class TQColorGroupJBridge : public TQColorGroup
{
public:
	TQColorGroupJBridge() : TQColorGroup() {};
	TQColorGroupJBridge(const TQColor& arg1,const TQColor& arg2,const TQColor& arg3,const TQColor& arg4,const TQColor& arg5,const TQColor& arg6,const TQColor& arg7) : TQColorGroup(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {};
	TQColorGroupJBridge(const TQBrush& arg1,const TQBrush& arg2,const TQBrush& arg3,const TQBrush& arg4,const TQBrush& arg5,const TQBrush& arg6,const TQBrush& arg7,const TQBrush& arg8,const TQBrush& arg9) : TQColorGroup(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {};
	TQColorGroupJBridge(const TQColorGroup& arg1) : TQColorGroup(arg1) {};
	~TQColorGroupJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QColorGroup_background(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->background(), "org.trinitydesktop.qt.TQColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QColorGroup_base(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->base(), "org.trinitydesktop.qt.TQColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QColorGroup_brightText(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->brightText(), "org.trinitydesktop.qt.TQColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QColorGroup_brush(JNIEnv* env, jobject obj, jint arg1)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQBrush *) &((TQColorGroup*) QtSupport::getQt(env, obj))->brush((TQColorGroup::ColorRole) arg1), "org.trinitydesktop.qt.TQBrush");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QColorGroup_buttonText(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->buttonText(), "org.trinitydesktop.qt.TQColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QColorGroup_button(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->button(), "org.trinitydesktop.qt.TQColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QColorGroup_color(JNIEnv* env, jobject obj, jint arg1)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->color((TQColorGroup::ColorRole) arg1), "org.trinitydesktop.qt.TQColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QColorGroup_dark(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->dark(), "org.trinitydesktop.qt.TQColor");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QColorGroup_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QColorGroup_finalize(env, obj);
	return;
}

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QColorGroup_foreground(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->foreground(), "org.trinitydesktop.qt.TQColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QColorGroup_highlight(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->highlight(), "org.trinitydesktop.qt.TQColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QColorGroup_highlightedText(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->highlightedText(), "org.trinitydesktop.qt.TQColor");
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QColorGroup_light(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->light(), "org.trinitydesktop.qt.TQColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QColorGroup_linkVisited(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->linkVisited(), "org.trinitydesktop.qt.TQColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QColorGroup_link(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->link(), "org.trinitydesktop.qt.TQColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QColorGroup_mid(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->mid(), "org.trinitydesktop.qt.TQColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QColorGroup_midlight(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->midlight(), "org.trinitydesktop.qt.TQColor");
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QColorGroup_newTQColorGroup__Lorg_trinitydesktop_qt_QBrush_2Lorg_trinitydesktop_qt_QBrush_2Lorg_trinitydesktop_qt_QBrush_2Lorg_trinitydesktop_qt_QBrush_2Lorg_trinitydesktop_qt_QBrush_2Lorg_trinitydesktop_qt_QBrush_2Lorg_trinitydesktop_qt_QBrush_2Lorg_trinitydesktop_qt_QBrush_2Lorg_trinitydesktop_qt_QBrush_2(JNIEnv* env, jobject obj, jobject foreground, jobject button, jobject light, jobject dark, jobject mid, jobject text, jobject bright_text, jobject base, jobject background)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQColorGroupJBridge((const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, foreground), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, button), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, light), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, dark), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, mid), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, text), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, bright_text), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, base), (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, background)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QColorGroup_newTQColorGroup__Lorg_trinitydesktop_qt_QColorGroup_2(JNIEnv* env, jobject obj, jobject arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQColorGroupJBridge((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg1)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QColorGroup_newTQColorGroup__Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_qt_QColor_2Lorg_trinitydesktop_qt_QColor_2(JNIEnv* env, jobject obj, jobject foreground, jobject button, jobject light, jobject dark, jobject mid, jobject text, jobject base)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQColorGroupJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, foreground), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, button), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, light), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, dark), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, mid), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, text), (const TQColor&)*(const TQColor*) QtSupport::getQt(env, base)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QColorGroup_op_1equals(JNIEnv* env, jobject obj, jobject g)
{
	jboolean xret = (jboolean) ((TQColorGroup*) QtSupport::getQt(env, obj))->operator==((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QColorGroup_op_1not_1equals(JNIEnv* env, jobject obj, jobject g)
{
	jboolean xret = (jboolean) ((TQColorGroup*) QtSupport::getQt(env, obj))->operator!=((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, g));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QColorGroup_setBrush(JNIEnv* env, jobject obj, jint arg1, jobject arg2)
{
	((TQColorGroup*) QtSupport::getQt(env, obj))->setBrush((TQColorGroup::ColorRole) arg1, (const TQBrush&)*(const TQBrush*) QtSupport::getQt(env, arg2));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QColorGroup_setColor(JNIEnv* env, jobject obj, jint arg1, jobject arg2)
{
	((TQColorGroup*) QtSupport::getQt(env, obj))->setColor((TQColorGroup::ColorRole) arg1, (const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg2));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QColorGroup_shadow(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->shadow(), "org.trinitydesktop.qt.TQColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QColorGroup_text(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColor *) &((TQColorGroup*) QtSupport::getQt(env, obj))->text(), "org.trinitydesktop.qt.TQColor");
	return xret;
}

