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

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

class TQSizePolicyJBridge : public TQSizePolicy
{
public:
	TQSizePolicyJBridge() : TQSizePolicy() {};
	TQSizePolicyJBridge(TQSizePolicy::SizeType arg1,TQSizePolicy::SizeType arg2,bool arg3) : TQSizePolicy(arg1,arg2,arg3) {};
	TQSizePolicyJBridge(TQSizePolicy::SizeType arg1,TQSizePolicy::SizeType arg2) : TQSizePolicy(arg1,arg2) {};
	TQSizePolicyJBridge(TQSizePolicy::SizeType arg1,TQSizePolicy::SizeType arg2,uchar arg3,uchar arg4,bool arg5) : TQSizePolicy(arg1,arg2,arg3,arg4,arg5) {};
	TQSizePolicyJBridge(TQSizePolicy::SizeType arg1,TQSizePolicy::SizeType arg2,uchar arg3,uchar arg4) : TQSizePolicy(arg1,arg2,arg3,arg4) {};
	~TQSizePolicyJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QSizePolicy_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QSizePolicy_finalize(env, obj);
	return;
}

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

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

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QSizePolicy_horData(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQSizePolicy*) QtSupport::getQt(env, obj))->horData();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QSizePolicy_horStretch(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQSizePolicy*) QtSupport::getQt(env, obj))->horStretch();
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QSizePolicy_mayGrowHorizontally(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQSizePolicy*) QtSupport::getQt(env, obj))->mayGrowHorizontally();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QSizePolicy_mayGrowVertically(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQSizePolicy*) QtSupport::getQt(env, obj))->mayGrowVertically();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QSizePolicy_mayShrinkHorizontally(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQSizePolicy*) QtSupport::getQt(env, obj))->mayShrinkHorizontally();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QSizePolicy_mayShrinkVertically(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQSizePolicy*) QtSupport::getQt(env, obj))->mayShrinkVertically();
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QSizePolicy_newTQSizePolicy__II(JNIEnv* env, jobject obj, jint hor, jint ver)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQSizePolicyJBridge((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QSizePolicy_newTQSizePolicy__IISS(JNIEnv* env, jobject obj, jint hor, jint ver, jshort hors, jshort vers)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQSizePolicyJBridge((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver, (uchar) hors, (uchar) vers));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QSizePolicy_newTQSizePolicy__IISSZ(JNIEnv* env, jobject obj, jint hor, jint ver, jshort hors, jshort vers, jboolean hfw)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQSizePolicyJBridge((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver, (uchar) hors, (uchar) vers, (bool) hfw));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QSizePolicy_newTQSizePolicy__IIZ(JNIEnv* env, jobject obj, jint hor, jint ver, jboolean hfw)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQSizePolicyJBridge((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver, (bool) hfw));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QSizePolicy_setHeightForWidth(JNIEnv* env, jobject obj, jboolean b)
{
	((TQSizePolicy*) QtSupport::getQt(env, obj))->setHeightForWidth((bool) b);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QSizePolicy_setHorData(JNIEnv* env, jobject obj, jint d)
{
	((TQSizePolicy*) QtSupport::getQt(env, obj))->setHorData((TQSizePolicy::SizeType) d);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QSizePolicy_setHorStretch(JNIEnv* env, jobject obj, jshort sf)
{
	((TQSizePolicy*) QtSupport::getQt(env, obj))->setHorStretch((uchar) sf);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QSizePolicy_setVerData(JNIEnv* env, jobject obj, jint d)
{
	((TQSizePolicy*) QtSupport::getQt(env, obj))->setVerData((TQSizePolicy::SizeType) d);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QSizePolicy_setVerStretch(JNIEnv* env, jobject obj, jshort sf)
{
	((TQSizePolicy*) QtSupport::getQt(env, obj))->setVerStretch((uchar) sf);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QSizePolicy_transpose(JNIEnv* env, jobject obj)
{
	((TQSizePolicy*) QtSupport::getQt(env, obj))->transpose();
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QSizePolicy_verData(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQSizePolicy*) QtSupport::getQt(env, obj))->verData();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QSizePolicy_verStretch(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQSizePolicy*) QtSupport::getQt(env, obj))->verStretch();
	return xret;
}

