//Auto-generated by ../../kalyptus/kalyptus. DO NOT EDIT.
#include <tqrect.h>
#include <tqstyle.h>
#include <tqcolor.h>
#include <tqnamespace.h>

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

class TQStyleOptionJBridge : public TQStyleOption
{
public:
	TQStyleOptionJBridge(TQStyleOption::StyleOptionDefault arg1) : TQStyleOption(arg1) {};
	TQStyleOptionJBridge() : TQStyleOption() {};
	TQStyleOptionJBridge(int arg1,int arg2) : TQStyleOption(arg1,arg2) {};
	TQStyleOptionJBridge(int arg1,int arg2,int arg3,int arg4) : TQStyleOption(arg1,arg2,arg3,arg4) {};
	TQStyleOptionJBridge(TQMenuItem* arg1) : TQStyleOption(arg1) {};
	TQStyleOptionJBridge(TQMenuItem* arg1,int arg2) : TQStyleOption(arg1,arg2) {};
	TQStyleOptionJBridge(TQMenuItem* arg1,int arg2,int arg3) : TQStyleOption(arg1,arg2,arg3) {};
	TQStyleOptionJBridge(const TQColor& arg1) : TQStyleOption(arg1) {};
	TQStyleOptionJBridge(TQTab* arg1) : TQStyleOption(arg1) {};
	TQStyleOptionJBridge(TQListViewItem* arg1) : TQStyleOption(arg1) {};
	TQStyleOptionJBridge(TQCheckListItem* arg1) : TQStyleOption(arg1) {};
	TQStyleOptionJBridge(const TQRect& arg1) : TQStyleOption(arg1) {};
	TQStyleOptionJBridge(TQWidget* arg1) : TQStyleOption(arg1) {};
	~TQStyleOptionJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyleOption_arrowType(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->arrowType();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyleOption_checkListItem(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyleOption*) QtSupport::getQt(env, obj))->checkListItem(), "org.trinitydesktop.qt.TQCheckListItem");
	return xret;
}

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyleOption_day(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->day();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleOption_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QStyleOption_finalize(env, obj);
	return;
}

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyleOption_frameShadow(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->frameShadow();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyleOption_frameShape(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->frameShape();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyleOption_headerSection(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->headerSection();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QStyleOption_isDefault(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQStyleOption*) QtSupport::getQt(env, obj))->isDefault();
	return xret;
}

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyleOption_lineWidth(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->lineWidth();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyleOption_listViewItem(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyleOption*) QtSupport::getQt(env, obj))->listViewItem(), "org.trinitydesktop.qt.TQListViewItem");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyleOption_maxIconWidth(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->maxIconWidth();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyleOption_menuItem(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyleOption*) QtSupport::getQt(env, obj))->menuItem(), "org.trinitydesktop.qt.TQMenuItem");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyleOption_midLineWidth(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->midLineWidth();
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleOption_newTQStyleOption__I(JNIEnv* env, jobject obj, jint arg1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TQStyleOption::StyleOptionDefault) arg1));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleOption_newTQStyleOption__II(JNIEnv* env, jobject obj, jint in1, jint in2)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQStyleOptionJBridge((int) in1, (int) in2));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleOption_newTQStyleOption__IIII(JNIEnv* env, jobject obj, jint in1, jint in2, jint in3, jint in4)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQStyleOptionJBridge((int) in1, (int) in2, (int) in3, (int) in4));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleOption_newTQStyleOption__Lorg_trinitydesktop_qt_QColor_2(JNIEnv* env, jobject obj, jobject c)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQStyleOptionJBridge((const TQColor&)*(const TQColor*) QtSupport::getQt(env, c)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleOption_newTQStyleOption__Lorg_trinitydesktop_qt_QMenuItem_2I(JNIEnv* env, jobject obj, jobject m, jint in1)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TQMenuItem*) QtSupport::getQt(env, m), (int) in1));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleOption_newTQStyleOption__Lorg_trinitydesktop_qt_QMenuItem_2II(JNIEnv* env, jobject obj, jobject m, jint in1, jint in2)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQStyleOptionJBridge((TQMenuItem*) QtSupport::getQt(env, m), (int) in1, (int) in2));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QStyleOption_newTQStyleOption__Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jobject r)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQStyleOptionJBridge((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyleOption_rect(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQStyleOption*) QtSupport::getQt(env, obj))->rect()), "org.trinitydesktop.qt.TQRect", true);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QStyleOption_tabWidth(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQStyleOption*) QtSupport::getQt(env, obj))->tabWidth();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyleOption_tab(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyleOption*) QtSupport::getQt(env, obj))->tab(), "org.trinitydesktop.qt.TQTab");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QStyleOption_widget(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQStyleOption*) QtSupport::getQt(env, obj))->widget(), "org.trinitydesktop.qt.TQWidget");
	return xret;
}

