//Auto-generated by ../../kalyptus/kalyptus. DO NOT EDIT.
#include <qrect.h>
#include <qstyle.h>
#include <qcolor.h>
#include <qnamespace.h>

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

class QStyleOptionJBridge : public QStyleOption
{
public:
	QStyleOptionJBridge(QStyleOption::StyleOptionDefault arg1) : QStyleOption(arg1) {};
	QStyleOptionJBridge() : QStyleOption() {};
	QStyleOptionJBridge(int arg1,int arg2) : QStyleOption(arg1,arg2) {};
	QStyleOptionJBridge(int arg1,int arg2,int arg3,int arg4) : QStyleOption(arg1,arg2,arg3,arg4) {};
	QStyleOptionJBridge(QMenuItem* arg1) : QStyleOption(arg1) {};
	QStyleOptionJBridge(QMenuItem* arg1,int arg2) : QStyleOption(arg1,arg2) {};
	QStyleOptionJBridge(QMenuItem* arg1,int arg2,int arg3) : QStyleOption(arg1,arg2,arg3) {};
	QStyleOptionJBridge(const QColor& arg1) : QStyleOption(arg1) {};
	QStyleOptionJBridge(QTab* arg1) : QStyleOption(arg1) {};
	QStyleOptionJBridge(QListViewItem* arg1) : QStyleOption(arg1) {};
	QStyleOptionJBridge(QCheckListItem* arg1) : QStyleOption(arg1) {};
	QStyleOptionJBridge(const QRect& arg1) : QStyleOption(arg1) {};
	QStyleOptionJBridge(QWidget* arg1) : QStyleOption(arg1) {};
	~QStyleOptionJBridge() {QtSupport::qtKeyDeleted(this);}
};

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QStyleOption_checkListItem(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QStyleOption*) QtSupport::getQt(env, obj))->checkListItem(), "org.kde.qt.QCheckListItem");
	return xret;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QStyleOption_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QStyleOption_finalize(env, obj);
	return;
}

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

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

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

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

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

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QStyleOption_listViewItem(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QStyleOption*) QtSupport::getQt(env, obj))->listViewItem(), "org.kde.qt.QListViewItem");
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QStyleOption_menuItem(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QStyleOption*) QtSupport::getQt(env, obj))->menuItem(), "org.kde.qt.QMenuItem");
	return xret;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QStyleOption_rect(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QRect(((QStyleOption*) QtSupport::getQt(env, obj))->rect()), "org.kde.qt.QRect", TRUE);
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QStyleOption_tab(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QStyleOption*) QtSupport::getQt(env, obj))->tab(), "org.kde.qt.QTab");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QStyleOption_widget(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QStyleOption*) QtSupport::getQt(env, obj))->widget(), "org.kde.qt.QWidget");
	return xret;
}

