//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqsizepolicy.h>
#include <tqrect.h>
#include <tqlayout.h>
#include <tqsize.h>

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QLayoutItem_alignment(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQLayoutItem*) QtSupport::getQt(env, obj))->alignment();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QLayoutItem_expanding(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQLayoutItem*) QtSupport::getQt(env, obj))->expanding();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QLayoutItem_geometry(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQLayoutItem*) QtSupport::getQt(env, obj))->geometry()), "org.trinitydesktop.qt.TQRect", TRUE);
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QLayoutItem_hasHeightForWidth(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQLayoutItem*) QtSupport::getQt(env, obj))->hasHeightForWidth();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QLayoutItem_heightForWidth(JNIEnv* env, jobject obj, jint arg1)
{
	jint xret = (jint) ((TQLayoutItem*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QLayoutItem_invalidate(JNIEnv* env, jobject obj)
{
	((TQLayoutItem*) QtSupport::getQt(env, obj))->invalidate();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QLayoutItem_isEmpty(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQLayoutItem*) QtSupport::getQt(env, obj))->isEmpty();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QLayoutItem_layout(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayoutItem*) QtSupport::getQt(env, obj))->layout(), "org.trinitydesktop.qt.TQLayout");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QLayoutItem_maximumSize(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayoutItem*) QtSupport::getQt(env, obj))->maximumSize()), "org.trinitydesktop.qt.TQSize", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QLayoutItem_minimumSize(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayoutItem*) QtSupport::getQt(env, obj))->minimumSize()), "org.trinitydesktop.qt.TQSize", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QLayoutItem_setAlignment(JNIEnv* env, jobject obj, jint a)
{
	((TQLayoutItem*) QtSupport::getQt(env, obj))->setAlignment((int) a);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QLayoutItem_setGeometry(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQLayoutItem*) QtSupport::getQt(env, obj))->setGeometry((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QLayoutItem_sizeHint(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQLayoutItem*) QtSupport::getQt(env, obj))->sizeHint()), "org.trinitydesktop.qt.TQSize", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QLayoutItem_spacerItem(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQLayoutItem*) QtSupport::getQt(env, obj))->spacerItem(), "org.trinitydesktop.qt.TQSpacerItem");
	return xret;
}

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

