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

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

class QResizeEventJBridge : public QResizeEvent
{
public:
	QResizeEventJBridge(const QSize& arg1,const QSize& arg2) : QResizeEvent(arg1,arg2) {};
	~QResizeEventJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_kde_qt_QResizeEvent_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QResizeEvent_finalize(env, obj);
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QResizeEvent_newQResizeEvent(JNIEnv* env, jobject obj, jobject size, jobject oldSize)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QResizeEventJBridge((const QSize&)*(const QSize*) QtSupport::getQt(env, size), (const QSize&)*(const QSize*) QtSupport::getQt(env, oldSize)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QResizeEvent_oldSize(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QSize *) &((QResizeEvent*) QtSupport::getQt(env, obj))->oldSize(), "org.kde.qt.QSize");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QResizeEvent_size(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QSize *) &((QResizeEvent*) QtSupport::getQt(env, obj))->size(), "org.kde.qt.QSize");
	return xret;
}

