//Auto-generated by kalyptus. DO NOT EDIT.
#include <qbrush.h>
#include <qcolor.h>
#include <qpalette.h>

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

class QColorGroupJBridge : public QColorGroup
{
public:
	QColorGroupJBridge() : QColorGroup() {};
	QColorGroupJBridge(const QColor& arg1,const QColor& arg2,const QColor& arg3,const QColor& arg4,const QColor& arg5,const QColor& arg6,const QColor& arg7) : QColorGroup(arg1,arg2,arg3,arg4,arg5,arg6,arg7) {};
	QColorGroupJBridge(const QBrush& arg1,const QBrush& arg2,const QBrush& arg3,const QBrush& arg4,const QBrush& arg5,const QBrush& arg6,const QBrush& arg7,const QBrush& arg8,const QBrush& arg9) : QColorGroup(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9) {};
	QColorGroupJBridge(const QColorGroup& arg1) : QColorGroup(arg1) {};
	~QColorGroupJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QColorGroup_background(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColor *) &((QColorGroup*) QtSupport::getQt(env, obj))->background(), "org.kde.qt.QColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QColorGroup_base(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColor *) &((QColorGroup*) QtSupport::getQt(env, obj))->base(), "org.kde.qt.QColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QColorGroup_brightText(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColor *) &((QColorGroup*) QtSupport::getQt(env, obj))->brightText(), "org.kde.qt.QColor");
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QColorGroup_buttonText(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColor *) &((QColorGroup*) QtSupport::getQt(env, obj))->buttonText(), "org.kde.qt.QColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QColorGroup_button(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColor *) &((QColorGroup*) QtSupport::getQt(env, obj))->button(), "org.kde.qt.QColor");
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QColorGroup_dark(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColor *) &((QColorGroup*) QtSupport::getQt(env, obj))->dark(), "org.kde.qt.QColor");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QColorGroup_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QColorGroup_finalize(env, obj);
	return;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QColorGroup_foreground(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColor *) &((QColorGroup*) QtSupport::getQt(env, obj))->foreground(), "org.kde.qt.QColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QColorGroup_highlight(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColor *) &((QColorGroup*) QtSupport::getQt(env, obj))->highlight(), "org.kde.qt.QColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QColorGroup_highlightedText(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColor *) &((QColorGroup*) QtSupport::getQt(env, obj))->highlightedText(), "org.kde.qt.QColor");
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QColorGroup_light(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColor *) &((QColorGroup*) QtSupport::getQt(env, obj))->light(), "org.kde.qt.QColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QColorGroup_linkVisited(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColor *) &((QColorGroup*) QtSupport::getQt(env, obj))->linkVisited(), "org.kde.qt.QColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QColorGroup_link(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColor *) &((QColorGroup*) QtSupport::getQt(env, obj))->link(), "org.kde.qt.QColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QColorGroup_mid(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColor *) &((QColorGroup*) QtSupport::getQt(env, obj))->mid(), "org.kde.qt.QColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QColorGroup_midlight(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColor *) &((QColorGroup*) QtSupport::getQt(env, obj))->midlight(), "org.kde.qt.QColor");
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QColorGroup_newQColorGroup__Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_qt_QBrush_2Lorg_kde_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 QColorGroupJBridge((const QBrush&)*(const QBrush*) QtSupport::getQt(env, foreground), (const QBrush&)*(const QBrush*) QtSupport::getQt(env, button), (const QBrush&)*(const QBrush*) QtSupport::getQt(env, light), (const QBrush&)*(const QBrush*) QtSupport::getQt(env, dark), (const QBrush&)*(const QBrush*) QtSupport::getQt(env, mid), (const QBrush&)*(const QBrush*) QtSupport::getQt(env, text), (const QBrush&)*(const QBrush*) QtSupport::getQt(env, bright_text), (const QBrush&)*(const QBrush*) QtSupport::getQt(env, base), (const QBrush&)*(const QBrush*) QtSupport::getQt(env, background)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QColorGroup_newQColorGroup__Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_qt_QColor_2Lorg_kde_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 QColorGroupJBridge((const QColor&)*(const QColor*) QtSupport::getQt(env, foreground), (const QColor&)*(const QColor*) QtSupport::getQt(env, button), (const QColor&)*(const QColor*) QtSupport::getQt(env, light), (const QColor&)*(const QColor*) QtSupport::getQt(env, dark), (const QColor&)*(const QColor*) QtSupport::getQt(env, mid), (const QColor&)*(const QColor*) QtSupport::getQt(env, text), (const QColor&)*(const QColor*) QtSupport::getQt(env, base)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

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

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QColorGroup_shadow(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColor *) &((QColorGroup*) QtSupport::getQt(env, obj))->shadow(), "org.kde.qt.QColor");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QColorGroup_text(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QColor *) &((QColorGroup*) QtSupport::getQt(env, obj))->text(), "org.kde.qt.QColor");
	return xret;
}

