//Auto-generated by kalyptus. DO NOT EDIT.
#include <qsizepolicy.h>
#include <qrect.h>
#include <qlayout.h>
#include <qstring.h>
#include <qsize.h>

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

class QGridLayoutJBridge : public QGridLayout
{
public:
	QGridLayoutJBridge(QWidget* arg1,int arg2,int arg3,int arg4,int arg5,const char* arg6) : QGridLayout(arg1,arg2,arg3,arg4,arg5,arg6) {};
	QGridLayoutJBridge(QWidget* arg1,int arg2,int arg3,int arg4,int arg5) : QGridLayout(arg1,arg2,arg3,arg4,arg5) {};
	QGridLayoutJBridge(QWidget* arg1,int arg2,int arg3,int arg4) : QGridLayout(arg1,arg2,arg3,arg4) {};
	QGridLayoutJBridge(QWidget* arg1,int arg2,int arg3) : QGridLayout(arg1,arg2,arg3) {};
	QGridLayoutJBridge(QWidget* arg1,int arg2) : QGridLayout(arg1,arg2) {};
	QGridLayoutJBridge(QWidget* arg1) : QGridLayout(arg1) {};
	QGridLayoutJBridge(int arg1,int arg2,int arg3,const char* arg4) : QGridLayout(arg1,arg2,arg3,arg4) {};
	QGridLayoutJBridge(int arg1,int arg2,int arg3) : QGridLayout(arg1,arg2,arg3) {};
	QGridLayoutJBridge(int arg1,int arg2) : QGridLayout(arg1,arg2) {};
	QGridLayoutJBridge(int arg1) : QGridLayout(arg1) {};
	QGridLayoutJBridge() : QGridLayout() {};
	QGridLayoutJBridge(QLayout* arg1,int arg2,int arg3,int arg4,const char* arg5) : QGridLayout(arg1,arg2,arg3,arg4,arg5) {};
	QGridLayoutJBridge(QLayout* arg1,int arg2,int arg3,int arg4) : QGridLayout(arg1,arg2,arg3,arg4) {};
	QGridLayoutJBridge(QLayout* arg1,int arg2,int arg3) : QGridLayout(arg1,arg2,arg3) {};
	QGridLayoutJBridge(QLayout* arg1,int arg2) : QGridLayout(arg1,arg2) {};
	QGridLayoutJBridge(QLayout* arg1) : QGridLayout(arg1) {};
	bool protected_findWidget(QWidget* arg1,int* arg2,int* arg3) {
		return (bool) QGridLayout::findWidget(arg1,arg2,arg3);
	}
	void protected_add(QLayoutItem* arg1,int arg2,int arg3) {
		QGridLayout::add(arg1,arg2,arg3);
		return;
	}
	~QGridLayoutJBridge() {QtSupport::qtKeyDeleted(this);}
	void removeChild(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::removeChild(arg1);
		}
		return;
	}
	void setMenuBar(QMenuBar* arg1) {
		if (!QtSupport::eventDelegate(this,"setMenuBar",(void*)arg1,"org.kde.qt.QMenuBar")) {
			QLayout::setMenuBar(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.kde.qt.QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.kde.qt.QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.kde.qt.QChildEvent")) {
			QLayout::childEvent(arg1);
		}
		return;
	}
	void insertChild(QObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.kde.qt.QObject")) {
			QObject::insertChild(arg1);
		}
		return;
	}
};

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_addColSpacing(JNIEnv* env, jobject obj, jint col, jint minsize)
{
	((QGridLayout*) QtSupport::getQt(env, obj))->addColSpacing((int) col, (int) minsize);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_addItem__Lorg_kde_qt_QLayoutItemInterface_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((QGridLayout*) QtSupport::getQt(env, obj))->addItem((QLayoutItem*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_addItem__Lorg_kde_qt_QLayoutItemInterface_2II(JNIEnv* env, jobject obj, jobject item, jint row, jint col)
{
	((QGridLayout*) QtSupport::getQt(env, obj))->addItem((QLayoutItem*) QtSupport::getQt(env, item), (int) row, (int) col);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_addLayout(JNIEnv* env, jobject obj, jobject layout, jint row, jint col)
{
	((QGridLayout*) QtSupport::getQt(env, obj))->addLayout((QLayout*) QtSupport::getQt(env, layout), (int) row, (int) col);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_addMultiCellLayout__Lorg_kde_qt_QLayout_2IIII(JNIEnv* env, jobject obj, jobject layout, jint fromRow, jint toRow, jint fromCol, jint toCol)
{
	((QGridLayout*) QtSupport::getQt(env, obj))->addMultiCellLayout((QLayout*) QtSupport::getQt(env, layout), (int) fromRow, (int) toRow, (int) fromCol, (int) toCol);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_addMultiCellLayout__Lorg_kde_qt_QLayout_2IIIII(JNIEnv* env, jobject obj, jobject layout, jint fromRow, jint toRow, jint fromCol, jint toCol, jint align)
{
	((QGridLayout*) QtSupport::getQt(env, obj))->addMultiCellLayout((QLayout*) QtSupport::getQt(env, layout), (int) fromRow, (int) toRow, (int) fromCol, (int) toCol, (int) align);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_addMultiCellWidget__Lorg_kde_qt_QWidget_2IIII(JNIEnv* env, jobject obj, jobject arg1, jint fromRow, jint toRow, jint fromCol, jint toCol)
{
	((QGridLayout*) QtSupport::getQt(env, obj))->addMultiCellWidget((QWidget*) QtSupport::getQt(env, arg1), (int) fromRow, (int) toRow, (int) fromCol, (int) toCol);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_addMultiCellWidget__Lorg_kde_qt_QWidget_2IIIII(JNIEnv* env, jobject obj, jobject arg1, jint fromRow, jint toRow, jint fromCol, jint toCol, jint align)
{
	((QGridLayout*) QtSupport::getQt(env, obj))->addMultiCellWidget((QWidget*) QtSupport::getQt(env, arg1), (int) fromRow, (int) toRow, (int) fromCol, (int) toCol, (int) align);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_addMultiCell__Lorg_kde_qt_QLayoutItemInterface_2IIII(JNIEnv* env, jobject obj, jobject arg1, jint fromRow, jint toRow, jint fromCol, jint toCol)
{
	((QGridLayout*) QtSupport::getQt(env, obj))->addMultiCell((QLayoutItem*) QtSupport::getQt(env, arg1), (int) fromRow, (int) toRow, (int) fromCol, (int) toCol);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_addMultiCell__Lorg_kde_qt_QLayoutItemInterface_2IIIII(JNIEnv* env, jobject obj, jobject arg1, jint fromRow, jint toRow, jint fromCol, jint toCol, jint align)
{
	((QGridLayout*) QtSupport::getQt(env, obj))->addMultiCell((QLayoutItem*) QtSupport::getQt(env, arg1), (int) fromRow, (int) toRow, (int) fromCol, (int) toCol, (int) align);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_addRowSpacing(JNIEnv* env, jobject obj, jint row, jint minsize)
{
	((QGridLayout*) QtSupport::getQt(env, obj))->addRowSpacing((int) row, (int) minsize);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_addWidget__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject arg1, jint row, jint col)
{
	((QGridLayout*) QtSupport::getQt(env, obj))->addWidget((QWidget*) QtSupport::getQt(env, arg1), (int) row, (int) col);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_addWidget__Lorg_kde_qt_QWidget_2III(JNIEnv* env, jobject obj, jobject arg1, jint row, jint col, jint align)
{
	((QGridLayout*) QtSupport::getQt(env, obj))->addWidget((QWidget*) QtSupport::getQt(env, arg1), (int) row, (int) col, (int) align);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_add(JNIEnv* env, jobject obj, jobject arg1, jint row, jint col)
{
	((QGridLayoutJBridge*) QtSupport::getQt(env, obj))->protected_add((QLayoutItem*) QtSupport::getQt(env, arg1), (int) row, (int) col);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QGridLayout_cellGeometry(JNIEnv* env, jobject obj, jint row, jint col)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QRect(((QGridLayout*) QtSupport::getQt(env, obj))->cellGeometry((int) row, (int) col)), "org.kde.qt.QRect", TRUE);
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QGridLayout_className(JNIEnv* env, jobject obj)
{
	const char* _qstring;
	_qstring = ((QGridLayout*) QtSupport::getQt(env, obj))->className();
	return QtSupport::fromCharString(env, (char *) _qstring);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QGridLayout_colSpacing(JNIEnv* env, jobject obj, jint col)
{
	jint xret = (jint) ((QGridLayout*) QtSupport::getQt(env, obj))->colSpacing((int) col);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QGridLayout_colStretch(JNIEnv* env, jobject obj, jint col)
{
	jint xret = (jint) ((QGridLayout*) QtSupport::getQt(env, obj))->colStretch((int) col);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QGridLayout_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_expand(JNIEnv* env, jobject obj, jint rows, jint cols)
{
	((QGridLayout*) QtSupport::getQt(env, obj))->expand((int) rows, (int) cols);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj) && ((QLayoutItem*)(QGridLayout*)QtSupport::getQt(env, obj))->layout() == 0 && ((QLayoutItem*)(QGridLayout*)QtSupport::getQt(env, obj))->widget() == 0 && ((QLayoutItem*)(QGridLayout*)QtSupport::getQt(env, obj))->spacerItem() == 0) {
		delete (QGridLayout*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QGridLayout_findWidget(JNIEnv* env, jobject obj, jobject w, jintArray r, jintArray c)
{
	int* _int_r = QtSupport::toIntPtr(env, r);
	int* _int_c = QtSupport::toIntPtr(env, c);
	jboolean xret = (jboolean) ((QGridLayoutJBridge*) QtSupport::getQt(env, obj))->protected_findWidget((QWidget*) QtSupport::getQt(env, w),  (int*) _int_r,  (int*) _int_c);
	env->SetIntArrayRegion(r, 0, 1, (jint *) _int_r);
	env->SetIntArrayRegion(c, 0, 1, (jint *) _int_c);
	return xret;
}

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

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

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QGridLayout_maximumSize(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QSize(((QGridLayout*) QtSupport::getQt(env, obj))->maximumSize()), "org.kde.qt.QSize", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QGridLayout_metaObject(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((QGridLayout*) QtSupport::getQt(env, obj))->metaObject(), "org.kde.qt.QMetaObject");
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QGridLayout_minimumSize(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QSize(((QGridLayout*) QtSupport::getQt(env, obj))->minimumSize()), "org.kde.qt.QSize", TRUE);
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_newQGridLayout__I(JNIEnv* env, jobject obj, jint nRows)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QGridLayoutJBridge((int) nRows));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_newQGridLayout__II(JNIEnv* env, jobject obj, jint nRows, jint nCols)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QGridLayoutJBridge((int) nRows, (int) nCols));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_newQGridLayout__III(JNIEnv* env, jobject obj, jint nRows, jint nCols, jint spacing)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QGridLayoutJBridge((int) nRows, (int) nCols, (int) spacing));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_newQGridLayout__IIILjava_lang_String_2(JNIEnv* env, jobject obj, jint nRows, jint nCols, jint spacing, jstring name)
{
static QCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QGridLayoutJBridge((int) nRows, (int) nCols, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_newQGridLayout__Lorg_kde_qt_QLayout_2I(JNIEnv* env, jobject obj, jobject parentLayout, jint nRows)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QGridLayoutJBridge((QLayout*) QtSupport::getQt(env, parentLayout), (int) nRows));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_newQGridLayout__Lorg_kde_qt_QLayout_2II(JNIEnv* env, jobject obj, jobject parentLayout, jint nRows, jint nCols)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QGridLayoutJBridge((QLayout*) QtSupport::getQt(env, parentLayout), (int) nRows, (int) nCols));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_newQGridLayout__Lorg_kde_qt_QLayout_2III(JNIEnv* env, jobject obj, jobject parentLayout, jint nRows, jint nCols, jint spacing)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QGridLayoutJBridge((QLayout*) QtSupport::getQt(env, parentLayout), (int) nRows, (int) nCols, (int) spacing));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_newQGridLayout__Lorg_kde_qt_QLayout_2IIILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parentLayout, jint nRows, jint nCols, jint spacing, jstring name)
{
static QCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QGridLayoutJBridge((QLayout*) QtSupport::getQt(env, parentLayout), (int) nRows, (int) nCols, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_newQGridLayout__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject parent, jint nRows)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QGridLayoutJBridge((QWidget*) QtSupport::getQt(env, parent), (int) nRows));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_newQGridLayout__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject parent, jint nRows, jint nCols)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QGridLayoutJBridge((QWidget*) QtSupport::getQt(env, parent), (int) nRows, (int) nCols));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_newQGridLayout__Lorg_kde_qt_QWidget_2III(JNIEnv* env, jobject obj, jobject parent, jint nRows, jint nCols, jint border)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QGridLayoutJBridge((QWidget*) QtSupport::getQt(env, parent), (int) nRows, (int) nCols, (int) border));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_newQGridLayout__Lorg_kde_qt_QWidget_2IIII(JNIEnv* env, jobject obj, jobject parent, jint nRows, jint nCols, jint border, jint spacing)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QGridLayoutJBridge((QWidget*) QtSupport::getQt(env, parent), (int) nRows, (int) nCols, (int) border, (int) spacing));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_newQGridLayout__Lorg_kde_qt_QWidget_2IIIILjava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jint nRows, jint nCols, jint border, jint spacing, jstring name)
{
static QCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QGridLayoutJBridge((QWidget*) QtSupport::getQt(env, parent), (int) nRows, (int) nCols, (int) border, (int) spacing, (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QGridLayout_numCols(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QGridLayout*) QtSupport::getQt(env, obj))->numCols();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QGridLayout_numRows(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QGridLayout*) QtSupport::getQt(env, obj))->numRows();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QGridLayout_origin(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QGridLayout*) QtSupport::getQt(env, obj))->origin();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QGridLayout_rowSpacing(JNIEnv* env, jobject obj, jint row)
{
	jint xret = (jint) ((QGridLayout*) QtSupport::getQt(env, obj))->rowSpacing((int) row);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QGridLayout_rowStretch(JNIEnv* env, jobject obj, jint row)
{
	jint xret = (jint) ((QGridLayout*) QtSupport::getQt(env, obj))->rowStretch((int) row);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_setColSpacing(JNIEnv* env, jobject obj, jint col, jint minSize)
{
	((QGridLayout*) QtSupport::getQt(env, obj))->setColSpacing((int) col, (int) minSize);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_setColStretch(JNIEnv* env, jobject obj, jint col, jint stretch)
{
	((QGridLayout*) QtSupport::getQt(env, obj))->setColStretch((int) col, (int) stretch);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_setOrigin(JNIEnv* env, jobject obj, jint arg1)
{
	((QGridLayout*) QtSupport::getQt(env, obj))->setOrigin((QGridLayout::Corner) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_setRowSpacing(JNIEnv* env, jobject obj, jint row, jint minSize)
{
	((QGridLayout*) QtSupport::getQt(env, obj))->setRowSpacing((int) row, (int) minSize);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QGridLayout_setRowStretch(JNIEnv* env, jobject obj, jint row, jint stretch)
{
	((QGridLayout*) QtSupport::getQt(env, obj))->setRowStretch((int) row, (int) stretch);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QGridLayout_sizeHint(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QSize(((QGridLayout*) QtSupport::getQt(env, obj))->sizeHint()), "org.kde.qt.QSize", TRUE);
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QGridLayout_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1)
{
	QString  _qstring;
	(void) cls;
static QCString* _qstring_arg1 = 0;
	_qstring = QGridLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QGridLayout_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2)
{
	QString  _qstring;
	(void) cls;
static QCString* _qstring_arg1 = 0;
static QCString* _qstring_arg2 = 0;
	_qstring = QGridLayoutJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2));
	return QtSupport::fromQString(env, &_qstring);
}

