//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqsizepolicy.h>
#include <tqrect.h>
#include <tqstyle.h>
#include <tqstring.h>
#include <tqpoint.h>
#include <tqfontmetrics.h>
#include <tqpalette.h>
#include <tqwidget.h>
#include <tqpaintdevice.h>
#include <tqbrush.h>
#include <tqsize.h>
#include <tqregion.h>
#include <tqcursor.h>
#include <tqfontinfo.h>
#include <tqbitmap.h>
#include <tqpixmap.h>
#include <tqfont.h>
#include <tqcolor.h>
#include <tqnamespace.h>

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

class TQWidgetJBridge : public TQWidget
{
public:
	TQWidgetJBridge(TQWidget* arg1,const char* arg2,TQt::WFlags arg3) : TQWidget(arg1,arg2,arg3) {};
	TQWidgetJBridge(TQWidget* arg1,const char* arg2) : TQWidget(arg1,arg2) {};
	TQWidgetJBridge(TQWidget* arg1) : TQWidget(arg1) {};
	TQWidgetJBridge() : TQWidget() {};
	void public_unsetCursor() {
		TQWidget::unsetCursor();
		return;
	}
	void public_setActiveWindow() {
		TQWidget::setActiveWindow();
		return;
	}
	void public_setFocus() {
		TQWidget::setFocus();
		return;
	}
	void public_show() {
		TQWidget::show();
		return;
	}
	void public_hide() {
		TQWidget::hide();
		return;
	}
	void public_showMinimized() {
		TQWidget::showMinimized();
		return;
	}
	void public_showMaximized() {
		TQWidget::showMaximized();
		return;
	}
	void public_showNormal() {
		TQWidget::showNormal();
		return;
	}
	void public_polish() {
		TQWidget::polish();
		return;
	}
	void public_adjustSize() {
		TQWidget::adjustSize();
		return;
	}
	bool protected_event(TQEvent* arg1) {
		return (bool) TQWidget::event(arg1);
	}
	void protected_mousePressEvent(TQMouseEvent* arg1) {
		TQWidget::mousePressEvent(arg1);
		return;
	}
	void protected_mouseReleaseEvent(TQMouseEvent* arg1) {
		TQWidget::mouseReleaseEvent(arg1);
		return;
	}
	void protected_mouseDoubleClickEvent(TQMouseEvent* arg1) {
		TQWidget::mouseDoubleClickEvent(arg1);
		return;
	}
	void protected_mouseMoveEvent(TQMouseEvent* arg1) {
		TQWidget::mouseMoveEvent(arg1);
		return;
	}
	void protected_wheelEvent(TQWheelEvent* arg1) {
		TQWidget::wheelEvent(arg1);
		return;
	}
	void protected_keyPressEvent(TQKeyEvent* arg1) {
		TQWidget::keyPressEvent(arg1);
		return;
	}
	void protected_keyReleaseEvent(TQKeyEvent* arg1) {
		TQWidget::keyReleaseEvent(arg1);
		return;
	}
	void protected_focusInEvent(TQFocusEvent* arg1) {
		TQWidget::focusInEvent(arg1);
		return;
	}
	void protected_focusOutEvent(TQFocusEvent* arg1) {
		TQWidget::focusOutEvent(arg1);
		return;
	}
	void protected_enterEvent(TQEvent* arg1) {
		TQWidget::enterEvent(arg1);
		return;
	}
	void protected_leaveEvent(TQEvent* arg1) {
		TQWidget::leaveEvent(arg1);
		return;
	}
	void protected_paintEvent(TQPaintEvent* arg1) {
		TQWidget::paintEvent(arg1);
		return;
	}
	void protected_moveEvent(TQMoveEvent* arg1) {
		TQWidget::moveEvent(arg1);
		return;
	}
	void protected_resizeEvent(TQResizeEvent* arg1) {
		TQWidget::resizeEvent(arg1);
		return;
	}
	void protected_closeEvent(TQCloseEvent* arg1) {
		TQWidget::closeEvent(arg1);
		return;
	}
	void protected_contextMenuEvent(TQContextMenuEvent* arg1) {
		TQWidget::contextMenuEvent(arg1);
		return;
	}
	void protected_imStartEvent(TQIMEvent* arg1) {
		TQWidget::imStartEvent(arg1);
		return;
	}
	void protected_imComposeEvent(TQIMEvent* arg1) {
		TQWidget::imComposeEvent(arg1);
		return;
	}
	void protected_imEndEvent(TQIMEvent* arg1) {
		TQWidget::imEndEvent(arg1);
		return;
	}
	void protected_tabletEvent(TQTabletEvent* arg1) {
		TQWidget::tabletEvent(arg1);
		return;
	}
	void protected_dragEnterEvent(TQDragEnterEvent* arg1) {
		TQWidget::dragEnterEvent(arg1);
		return;
	}
	void protected_dragMoveEvent(TQDragMoveEvent* arg1) {
		TQWidget::dragMoveEvent(arg1);
		return;
	}
	void protected_dragLeaveEvent(TQDragLeaveEvent* arg1) {
		TQWidget::dragLeaveEvent(arg1);
		return;
	}
	void protected_dropEvent(TQDropEvent* arg1) {
		TQWidget::dropEvent(arg1);
		return;
	}
	void protected_showEvent(TQShowEvent* arg1) {
		TQWidget::showEvent(arg1);
		return;
	}
	void protected_hideEvent(TQHideEvent* arg1) {
		TQWidget::hideEvent(arg1);
		return;
	}
	void protected_updateMask() {
		TQWidget::updateMask();
		return;
	}
	void protected_styleChange(TQStyle& arg1) {
		TQWidget::styleChange(arg1);
		return;
	}
	void protected_enabledChange(bool arg1) {
		TQWidget::enabledChange(arg1);
		return;
	}
	void protected_paletteChange(const TQPalette& arg1) {
		TQWidget::paletteChange(arg1);
		return;
	}
	void protected_fontChange(const TQFont& arg1) {
		TQWidget::fontChange(arg1);
		return;
	}
	void protected_windowActivationChange(bool arg1) {
		TQWidget::windowActivationChange(arg1);
		return;
	}
	int protected_metric(int arg1) {
		return (int) TQWidget::metric(arg1);
	}
	void protected_resetInputContext() {
		TQWidget::resetInputContext();
		return;
	}
	void protected_create(WId arg1,bool arg2,bool arg3) {
		TQWidget::create(arg1,arg2,arg3);
		return;
	}
	void protected_create(WId arg1,bool arg2) {
		TQWidget::create(arg1,arg2);
		return;
	}
	void protected_create(WId arg1) {
		TQWidget::create(arg1);
		return;
	}
	void protected_create() {
		TQWidget::create();
		return;
	}
	void protected_destroy(bool arg1,bool arg2) {
		TQWidget::destroy(arg1,arg2);
		return;
	}
	void protected_destroy(bool arg1) {
		TQWidget::destroy(arg1);
		return;
	}
	void protected_destroy() {
		TQWidget::destroy();
		return;
	}
	uint protected_getWState() {
		return (uint) TQWidget::getWState();
	}
	void protected_setWState(uint arg1) {
		TQWidget::setWState(arg1);
		return;
	}
	void protected_clearWState(uint arg1) {
		TQWidget::clearWState(arg1);
		return;
	}
	TQt::WFlags protected_getWFlags() {
		return (TQt::WFlags) TQWidget::getWFlags();
	}
	void protected_setWFlags(TQt::WFlags arg1) {
		TQWidget::setWFlags(arg1);
		return;
	}
	void protected_clearWFlags(TQt::WFlags arg1) {
		TQWidget::clearWFlags(arg1);
		return;
	}
	bool protected_focusNextPrevChild(bool arg1) {
		return (bool) TQWidget::focusNextPrevChild(arg1);
	}
	TQFocusData* protected_focusData() {
		return (TQFocusData*) TQWidget::focusData();
	}
	void protected_setKeyCompression(bool arg1) {
		TQWidget::setKeyCompression(arg1);
		return;
	}
	void protected_setMicroFocusHint(int arg1,int arg2,int arg3,int arg4,bool arg5,TQFont* arg6) {
		TQWidget::setMicroFocusHint(arg1,arg2,arg3,arg4,arg5,arg6);
		return;
	}
	void protected_setMicroFocusHint(int arg1,int arg2,int arg3,int arg4,bool arg5) {
		TQWidget::setMicroFocusHint(arg1,arg2,arg3,arg4,arg5);
		return;
	}
	void protected_setMicroFocusHint(int arg1,int arg2,int arg3,int arg4) {
		TQWidget::setMicroFocusHint(arg1,arg2,arg3,arg4);
		return;
	}
	~TQWidgetJBridge() {QtSupport::qtKeyDeleted(this);}
	int protected_fontMet(TQFont* arg1,int arg2,const char* arg3,int arg4) {
		return (int) TQPaintDevice::fontMet(arg1,arg2,arg3,arg4);
	}
	int protected_fontMet(TQFont* arg1,int arg2,const char* arg3) {
		return (int) TQPaintDevice::fontMet(arg1,arg2,arg3);
	}
	int protected_fontMet(TQFont* arg1,int arg2) {
		return (int) TQPaintDevice::fontMet(arg1,arg2);
	}
	int protected_fontInf(TQFont* arg1,int arg2) {
		return (int) TQPaintDevice::fontInf(arg1,arg2);
	}
	void dragLeaveEvent(TQDragLeaveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragLeaveEvent",(void*)arg1,"org.trinitydesktop.qt.TQDragLeaveEvent")) {
			TQWidget::dragLeaveEvent(arg1);
		}
		return;
	}
	void setMask(const TQRegion& arg1) {
		if (!QtSupport::eventDelegate(this,"setMask",(void*)&arg1,"org.trinitydesktop.qt.TQRegion")) {
			TQWidget::setMask(arg1);
		}
		return;
	}
	void resizeEvent(TQResizeEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"resizeEvent",(void*)arg1,"org.trinitydesktop.qt.TQResizeEvent")) {
			TQWidget::resizeEvent(arg1);
		}
		return;
	}
	void mouseDoubleClickEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseDoubleClickEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
			TQWidget::mouseDoubleClickEvent(arg1);
		}
		return;
	}
	void paletteChange(const TQPalette& arg1) {
		if (!QtSupport::eventDelegate(this,"paletteChange",(void*)&arg1,"org.trinitydesktop.qt.TQPalette")) {
			TQWidget::paletteChange(arg1);
		}
		return;
	}
	void setActiveWindow() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQWidget","setActiveWindow")) {
			TQWidget::setActiveWindow();
		}
		return;
	}
	void dragEnterEvent(TQDragEnterEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragEnterEvent",(void*)arg1,"org.trinitydesktop.qt.TQDragEnterEvent")) {
			TQWidget::dragEnterEvent(arg1);
		}
		return;
	}
	void show() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQWidget","show")) {
			TQWidget::show();
		}
		return;
	}
	void focusOutEvent(TQFocusEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"focusOutEvent",(void*)arg1,"org.trinitydesktop.qt.TQFocusEvent")) {
			TQWidget::focusOutEvent(arg1);
		}
		return;
	}
	void setFocus() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQWidget","setFocus")) {
			TQWidget::setFocus();
		}
		return;
	}
	void dragMoveEvent(TQDragMoveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dragMoveEvent",(void*)arg1,"org.trinitydesktop.qt.TQDragMoveEvent")) {
			TQWidget::dragMoveEvent(arg1);
		}
		return;
	}
	void styleChange(TQStyle& arg1) {
		if (!QtSupport::eventDelegate(this,"styleChange",(void*)&arg1,"org.trinitydesktop.qt.TQStyle")) {
			TQWidget::styleChange(arg1);
		}
		return;
	}
	void hide() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQWidget","hide")) {
			TQWidget::hide();
		}
		return;
	}
	void setPaletteBackgroundColor(const TQColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setPaletteBackgroundColor",(void*)&arg1,"org.trinitydesktop.qt.TQColor")) {
			TQWidget::setPaletteBackgroundColor(arg1);
		}
		return;
	}
	void setEraseColor(const TQColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setEraseColor",(void*)&arg1,"org.trinitydesktop.qt.TQColor")) {
			TQWidget::setEraseColor(arg1);
		}
		return;
	}
	void removeChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"removeChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
			TQObject::removeChild(arg1);
		}
		return;
	}
	void paintEvent(TQPaintEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"paintEvent",(void*)arg1,"org.trinitydesktop.qt.TQPaintEvent")) {
			TQWidget::paintEvent(arg1);
		}
		return;
	}
	void imStartEvent(TQIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imStartEvent",(void*)arg1,"org.trinitydesktop.qt.TQIMEvent")) {
			TQWidget::imStartEvent(arg1);
		}
		return;
	}
	void unsetCursor() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQWidget","unsetCursor")) {
			TQWidget::unsetCursor();
		}
		return;
	}
	void hideEvent(TQHideEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"hideEvent",(void*)arg1,"org.trinitydesktop.qt.TQHideEvent")) {
			TQWidget::hideEvent(arg1);
		}
		return;
	}
	void moveEvent(TQMoveEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"moveEvent",(void*)arg1,"org.trinitydesktop.qt.TQMoveEvent")) {
			TQWidget::moveEvent(arg1);
		}
		return;
	}
	void polish() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQWidget","polish")) {
			TQWidget::polish();
		}
		return;
	}
	void showMaximized() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQWidget","showMaximized")) {
			TQWidget::showMaximized();
		}
		return;
	}
	void setBackgroundPixmap(const TQPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setBackgroundPixmap",(void*)&arg1,"org.trinitydesktop.qt.TQPixmap")) {
			TQWidget::setBackgroundPixmap(arg1);
		}
		return;
	}
	void showEvent(TQShowEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"showEvent",(void*)arg1,"org.trinitydesktop.qt.TQShowEvent")) {
			TQWidget::showEvent(arg1);
		}
		return;
	}
	void keyPressEvent(TQKeyEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"keyPressEvent",(void*)arg1,"org.trinitydesktop.qt.TQKeyEvent")) {
			TQWidget::keyPressEvent(arg1);
		}
		return;
	}
	bool customWhatsThis() {
		return QtSupport::booleanDelegate(this,"customWhatsThis");
	}
	void setPaletteBackgroundPixmap(const TQPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setPaletteBackgroundPixmap",(void*)&arg1,"org.trinitydesktop.qt.TQPixmap")) {
			TQWidget::setPaletteBackgroundPixmap(arg1);
		}
		return;
	}
	void setCursor(const TQCursor& arg1) {
		if (!QtSupport::eventDelegate(this,"setCursor",(void*)&arg1,"org.trinitydesktop.qt.TQCursor")) {
			TQWidget::setCursor(arg1);
		}
		return;
	}
	void closeEvent(TQCloseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"closeEvent",(void*)arg1,"org.trinitydesktop.qt.TQCloseEvent")) {
			TQWidget::closeEvent(arg1);
		}
		return;
	}
	void customEvent(TQCustomEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"customEvent",(void*)arg1,"org.trinitydesktop.qt.TQCustomEvent")) {
			TQObject::customEvent(arg1);
		}
		return;
	}
	void enterEvent(TQEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"enterEvent",(void*)arg1,"org.trinitydesktop.qt.TQEvent")) {
			TQWidget::enterEvent(arg1);
		}
		return;
	}
	void timerEvent(TQTimerEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"timerEvent",(void*)arg1,"org.trinitydesktop.qt.TQTimerEvent")) {
			TQObject::timerEvent(arg1);
		}
		return;
	}
	void mouseReleaseEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseReleaseEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
			TQWidget::mouseReleaseEvent(arg1);
		}
		return;
	}
	void setErasePixmap(const TQPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setErasePixmap",(void*)&arg1,"org.trinitydesktop.qt.TQPixmap")) {
			TQWidget::setErasePixmap(arg1);
		}
		return;
	}
	void childEvent(TQChildEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"childEvent",(void*)arg1,"org.trinitydesktop.qt.TQChildEvent")) {
			TQObject::childEvent(arg1);
		}
		return;
	}
	void dropEvent(TQDropEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"dropEvent",(void*)arg1,"org.trinitydesktop.qt.TQDropEvent")) {
			TQWidget::dropEvent(arg1);
		}
		return;
	}
	void leaveEvent(TQEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"leaveEvent",(void*)arg1,"org.trinitydesktop.qt.TQEvent")) {
			TQWidget::leaveEvent(arg1);
		}
		return;
	}
	void setIcon(const TQPixmap& arg1) {
		if (!QtSupport::eventDelegate(this,"setIcon",(void*)&arg1,"org.trinitydesktop.qt.TQPixmap")) {
			TQWidget::setIcon(arg1);
		}
		return;
	}
	void updateMask() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQWidget","updateMask")) {
			TQWidget::updateMask();
		}
		return;
	}
	void showNormal() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQWidget","showNormal")) {
			TQWidget::showNormal();
		}
		return;
	}
	void imComposeEvent(TQIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imComposeEvent",(void*)arg1,"org.trinitydesktop.qt.TQIMEvent")) {
			TQWidget::imComposeEvent(arg1);
		}
		return;
	}
	void mousePressEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mousePressEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
			TQWidget::mousePressEvent(arg1);
		}
		return;
	}
	void mouseMoveEvent(TQMouseEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"mouseMoveEvent",(void*)arg1,"org.trinitydesktop.qt.TQMouseEvent")) {
			TQWidget::mouseMoveEvent(arg1);
		}
		return;
	}
	void setFocusProxy(TQWidget* arg1) {
		if (!QtSupport::eventDelegate(this,"setFocusProxy",(void*)arg1,"org.trinitydesktop.qt.TQWidget")) {
			TQWidget::setFocusProxy(arg1);
		}
		return;
	}
	void fontChange(const TQFont& arg1) {
		if (!QtSupport::eventDelegate(this,"fontChange",(void*)&arg1,"org.trinitydesktop.qt.TQFont")) {
			TQWidget::fontChange(arg1);
		}
		return;
	}
	void setBackgroundColor(const TQColor& arg1) {
		if (!QtSupport::eventDelegate(this,"setBackgroundColor",(void*)&arg1,"org.trinitydesktop.qt.TQColor")) {
			TQWidget::setBackgroundColor(arg1);
		}
		return;
	}
	void adjustSize() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQWidget","adjustSize")) {
			TQWidget::adjustSize();
		}
		return;
	}
	void wheelEvent(TQWheelEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"wheelEvent",(void*)arg1,"org.trinitydesktop.qt.TQWheelEvent")) {
			TQWidget::wheelEvent(arg1);
		}
		return;
	}
	void imEndEvent(TQIMEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"imEndEvent",(void*)arg1,"org.trinitydesktop.qt.TQIMEvent")) {
			TQWidget::imEndEvent(arg1);
		}
		return;
	}
	void insertChild(TQObject* arg1) {
		if (!QtSupport::eventDelegate(this,"insertChild",(void*)arg1,"org.trinitydesktop.qt.TQObject")) {
			TQObject::insertChild(arg1);
		}
		return;
	}
	void focusInEvent(TQFocusEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"focusInEvent",(void*)arg1,"org.trinitydesktop.qt.TQFocusEvent")) {
			TQWidget::focusInEvent(arg1);
		}
		return;
	}
	void tabletEvent(TQTabletEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"tabletEvent",(void*)arg1,"org.trinitydesktop.qt.TQTabletEvent")) {
			TQWidget::tabletEvent(arg1);
		}
		return;
	}
	void keyReleaseEvent(TQKeyEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"keyReleaseEvent",(void*)arg1,"org.trinitydesktop.qt.TQKeyEvent")) {
			TQWidget::keyReleaseEvent(arg1);
		}
		return;
	}
	void contextMenuEvent(TQContextMenuEvent* arg1) {
		if (!QtSupport::eventDelegate(this,"contextMenuEvent",(void*)arg1,"org.trinitydesktop.qt.TQContextMenuEvent")) {
			TQWidget::contextMenuEvent(arg1);
		}
		return;
	}
	bool eventFilter(TQObject* object,TQEvent* event) {
		if (!QtSupport::eventFilterDelegate(this,"org.trinitydesktop.qt.TQWidget",object,event)) {
			return TQObject::eventFilter(object,event);
		} else {
			return true;
		}
	}
	void setGeometry(const TQRect& arg1) {
		if (!QtSupport::eventDelegate(this,"setGeometry",(void*)&arg1,"org.trinitydesktop.qt.TQRect")) {
			TQWidget::setGeometry(arg1);
		}
		return;
	}
	void showMinimized() {
		if (!QtSupport::voidDelegate(this,"org.trinitydesktop.qt.TQWidget","showMinimized")) {
			TQWidget::showMinimized();
		}
		return;
	}
};

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_acceptDrops(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->acceptDrops();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_adjustSize(JNIEnv* env, jobject obj)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_adjustSize();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_autoMask(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->autoMask();
	return xret;
}

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

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QWidget_backgroundMode(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->backgroundMode();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_backgroundOffset(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->backgroundOffset()), "org.trinitydesktop.qt.TQPoint", true);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QWidget_backgroundOrigin(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->backgroundOrigin();
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_baseSize(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidget*) QtSupport::getQt(env, obj))->baseSize()), "org.trinitydesktop.qt.TQSize", true);
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QWidget_caption(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQWidget*) QtSupport::getQt(env, obj))->caption();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_childAt__II(JNIEnv* env, jobject obj, jint x, jint y)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->childAt((int) x, (int) y), "org.trinitydesktop.qt.TQWidget");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_childAt__IIZ(JNIEnv* env, jobject obj, jint x, jint y, jboolean includeThis)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->childAt((int) x, (int) y, (bool) includeThis), "org.trinitydesktop.qt.TQWidget");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_childAt__Lorg_trinitydesktop_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->childAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1)), "org.trinitydesktop.qt.TQWidget");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_childAt__Lorg_trinitydesktop_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean includeThis)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->childAt((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (bool) includeThis), "org.trinitydesktop.qt.TQWidget");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_childrenRect(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQWidget*) QtSupport::getQt(env, obj))->childrenRect()), "org.trinitydesktop.qt.TQRect", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_childrenRegion(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQWidget*) QtSupport::getQt(env, obj))->childrenRegion()), "org.trinitydesktop.qt.TQRegion", true);
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_clearFocus(JNIEnv* env, jobject obj)
{
	((TQWidget*) QtSupport::getQt(env, obj))->clearFocus();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_clearMask(JNIEnv* env, jobject obj)
{
	((TQWidget*) QtSupport::getQt(env, obj))->clearMask();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_clearWFlags(JNIEnv* env, jobject obj, jint n)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_clearWFlags((TQt::WFlags) n);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_clearWState(JNIEnv* env, jobject obj, jint n)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_clearWState((uint) n);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_clipRegion(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRegion(((TQWidget*) QtSupport::getQt(env, obj))->clipRegion()), "org.trinitydesktop.qt.TQRegion", true);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_closeEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_closeEvent((TQCloseEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_close__(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->close();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_close__Z(JNIEnv* env, jobject obj, jboolean alsoDelete)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->close((bool) alsoDelete);
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_constPolish(JNIEnv* env, jobject obj)
{
	((TQWidget*) QtSupport::getQt(env, obj))->constPolish();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_contextMenuEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_contextMenuEvent((TQContextMenuEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_create__(JNIEnv* env, jobject obj)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_create();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_create__J(JNIEnv* env, jobject obj, jlong arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_create__JZ(JNIEnv* env, jobject obj, jlong arg1, jboolean initializeWindow)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1, (bool) initializeWindow);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_create__JZZ(JNIEnv* env, jobject obj, jlong arg1, jboolean initializeWindow, jboolean destroyOldWindow)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_create((WId) arg1, (bool) initializeWindow, (bool) destroyOldWindow);
	return;
}

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_customWhatsThis(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->customWhatsThis();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_destroy__(JNIEnv* env, jobject obj)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_destroy();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_destroy__Z(JNIEnv* env, jobject obj, jboolean destroyWindow)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_destroy((bool) destroyWindow);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_destroy__ZZ(JNIEnv* env, jobject obj, jboolean destroyWindow, jboolean destroySubWindows)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_destroy((bool) destroyWindow, (bool) destroySubWindows);
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QWidget_devType(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQPaintDevice*)(TQWidget*) QtSupport::getQt(env, obj))->devType();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QWidget_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_dragEnterEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dragEnterEvent((TQDragEnterEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_dragLeaveEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dragLeaveEvent((TQDragLeaveEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_dragMoveEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dragMoveEvent((TQDragMoveEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_drawText__IILjava_lang_String_2(JNIEnv* env, jobject obj, jint x, jint y, jstring arg3)
{
static TQString* _qstring_arg3 = 0;
	((TQWidget*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg3, &_qstring_arg3));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_drawText__Lorg_trinitydesktop_qt_QPoint_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jstring arg2)
{
static TQString* _qstring_arg2 = 0;
	((TQWidget*) QtSupport::getQt(env, obj))->drawText((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_dropEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((TQDropEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_enabledChange(JNIEnv* env, jobject obj, jboolean oldEnabled)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_enabledChange((bool) oldEnabled);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_enterEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_enterEvent((TQEvent*) QtSupport::getQt(env, arg1));
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_erase__(JNIEnv* env, jobject obj)
{
	((TQWidget*) QtSupport::getQt(env, obj))->erase();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_erase__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h)
{
	((TQWidget*) QtSupport::getQt(env, obj))->erase((int) x, (int) y, (int) w, (int) h);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_erase__Lorg_trinitydesktop_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->erase((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_event(JNIEnv* env, jobject obj, jobject arg1)
{
	jboolean xret = (jboolean) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_event((TQEvent*) QtSupport::getQt(env, arg1));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj) && ((TQWidget*)QtSupport::getQt(env, obj))->parentWidget(true) == 0) {
		delete (TQWidget*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_find(JNIEnv* env, jclass cls, jlong arg1)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)TQWidgetJBridge::find((WId) arg1), "org.trinitydesktop.qt.TQWidget");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_focusData(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_focusData(), "org.trinitydesktop.qt.TQFocusData");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_focusInEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_focusInEvent((TQFocusEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_focusNextPrevChild(JNIEnv* env, jobject obj, jboolean next)
{
	jboolean xret = (jboolean) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) next);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_focusOutEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_focusOutEvent((TQFocusEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QWidget_focusPolicy(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->focusPolicy();
	return xret;
}

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_fontChange(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QWidget_fontInf(JNIEnv* env, jobject obj, jobject arg1, jint arg2)
{
	jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontInf((TQFont*) QtSupport::getQt(env, arg1), (int) arg2);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_fontInfo(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFontInfo(((TQWidget*) QtSupport::getQt(env, obj))->fontInfo()), "org.trinitydesktop.qt.TQFontInfo", true);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QWidget_fontMet__Lorg_trinitydesktop_qt_QFont_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2)
{
	jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QWidget_fontMet__Lorg_trinitydesktop_qt_QFont_2ILjava_lang_String_2(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jstring arg3)
{
static TQCString* _qstring_arg3 = 0;
	jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3));
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QWidget_fontMet__Lorg_trinitydesktop_qt_QFont_2ILjava_lang_String_2I(JNIEnv* env, jobject obj, jobject arg1, jint arg2, jstring arg3, jint arg4)
{
static TQCString* _qstring_arg3 = 0;
	jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontMet((TQFont*) QtSupport::getQt(env, arg1), (int) arg2, (const char*) QtSupport::toCharString(env, arg3, &_qstring_arg3), (int) arg4);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_fontMetrics(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFontMetrics(((TQWidget*) QtSupport::getQt(env, obj))->fontMetrics()), "org.trinitydesktop.qt.TQFontMetrics", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_font(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQFont(((TQWidget*) QtSupport::getQt(env, obj))->font()), "org.trinitydesktop.qt.TQFont", true);
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_frameGeometry(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQWidget*) QtSupport::getQt(env, obj))->frameGeometry()), "org.trinitydesktop.qt.TQRect", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_frameSize(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidget*) QtSupport::getQt(env, obj))->frameSize()), "org.trinitydesktop.qt.TQSize", true);
	return xret;
}

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QWidget_getWFlags(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_getWFlags();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QWidget_getWState(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_getWState();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_grabKeyboard(JNIEnv* env, jobject obj)
{
	((TQWidget*) QtSupport::getQt(env, obj))->grabKeyboard();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_grabMouse__(JNIEnv* env, jobject obj)
{
	((TQWidget*) QtSupport::getQt(env, obj))->grabMouse();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_grabMouse__Lorg_trinitydesktop_qt_QCursor_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->grabMouse((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_hasFocus(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->hasFocus();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_hasMouseTracking(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->hasMouseTracking();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_hasMouse(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->hasMouse();
	return xret;
}

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QWidget_height(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->height();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_hideEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_hideEvent((TQHideEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_hide(JNIEnv* env, jobject obj)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_hide();
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QWidget_iconText(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TQWidget*) QtSupport::getQt(env, obj))->iconText();
	return QtSupport::fromTQString(env, &_qstring);
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_iconify(JNIEnv* env, jobject obj)
{
	((TQWidget*) QtSupport::getQt(env, obj))->iconify();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_imComposeEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_imComposeEvent((TQIMEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_imEndEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_imEndEvent((TQIMEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_imStartEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_imStartEvent((TQIMEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_isActiveWindow(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isActiveWindow();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_isDesktop(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isDesktop();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_isDialog(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isDialog();
	return xret;
}

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_isEnabledToTLW(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isEnabledToTLW();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_isEnabledTo(JNIEnv* env, jobject obj, jobject arg1)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isEnabledTo((TQWidget*) QtSupport::getQt(env, arg1));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_isEnabled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isEnabled();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_isExtDev(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQPaintDevice*)(TQWidget*) QtSupport::getQt(env, obj))->isExtDev();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_isFocusEnabled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isFocusEnabled();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_isFullScreen(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isFullScreen();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_isHidden(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isHidden();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_isInputMethodEnabled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isInputMethodEnabled();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_isMaximized(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isMaximized();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_isMinimized(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isMinimized();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_isModal(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isModal();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_isPopup(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isPopup();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_isShown(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isShown();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_isTopLevel(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isTopLevel();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_isUpdatesEnabled(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isUpdatesEnabled();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_isVisibleToTLW(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isVisibleToTLW();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_isVisibleTo(JNIEnv* env, jobject obj, jobject arg1)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isVisibleTo((TQWidget*) QtSupport::getQt(env, arg1));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_isVisible(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->isVisible();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_keyPressEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((TQKeyEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_keyReleaseEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_keyReleaseEvent((TQKeyEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_keyboardGrabber(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)TQWidgetJBridge::keyboardGrabber(), "org.trinitydesktop.qt.TQWidget");
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_leaveEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_leaveEvent((TQEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_lower(JNIEnv* env, jobject obj)
{
	((TQWidget*) QtSupport::getQt(env, obj))->lower();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_mapFromGlobal(JNIEnv* env, jobject obj, jobject arg1)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->mapFromGlobal((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.trinitydesktop.qt.TQPoint", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_mapFromParent(JNIEnv* env, jobject obj, jobject arg1)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->mapFromParent((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.trinitydesktop.qt.TQPoint", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_mapFrom(JNIEnv* env, jobject obj, jobject arg1, jobject arg2)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->mapFrom((TQWidget*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg2))), "org.trinitydesktop.qt.TQPoint", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_mapToGlobal(JNIEnv* env, jobject obj, jobject arg1)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->mapToGlobal((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.trinitydesktop.qt.TQPoint", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_mapToParent(JNIEnv* env, jobject obj, jobject arg1)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->mapToParent((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1))), "org.trinitydesktop.qt.TQPoint", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_mapTo(JNIEnv* env, jobject obj, jobject arg1, jobject arg2)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->mapTo((TQWidget*) QtSupport::getQt(env, arg1), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg2))), "org.trinitydesktop.qt.TQPoint", true);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QWidget_maximumHeight(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->maximumHeight();
	return xret;
}

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QWidget_maximumWidth(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->maximumWidth();
	return xret;
}

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

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_microFocusHint(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQWidget*) QtSupport::getQt(env, obj))->microFocusHint()), "org.trinitydesktop.qt.TQRect", true);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QWidget_minimumHeight(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->minimumHeight();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_minimumSizeHint(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidget*) QtSupport::getQt(env, obj))->minimumSizeHint()), "org.trinitydesktop.qt.TQSize", true);
	return xret;
}

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QWidget_minimumWidth(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->minimumWidth();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_mouseDoubleClickEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((TQMouseEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_mouseGrabber(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)TQWidgetJBridge::mouseGrabber(), "org.trinitydesktop.qt.TQWidget");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_mouseMoveEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseMoveEvent((TQMouseEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_mousePressEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((TQMouseEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_mouseReleaseEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_mouseReleaseEvent((TQMouseEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_moveEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_moveEvent((TQMoveEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_move__II(JNIEnv* env, jobject obj, jint x, jint y)
{
	((TQWidget*) QtSupport::getQt(env, obj))->move((int) x, (int) y);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_move__Lorg_trinitydesktop_qt_QPoint_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->move((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg1));
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_newTQWidget__Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name)
{
static TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_newTQWidget__Lorg_trinitydesktop_qt_QWidget_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject parent, jstring name, jint f)
{
static TQCString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQWidgetJBridge((TQWidget*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (TQt::WFlags) f));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_ownCursor(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->ownCursor();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_ownFont(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->ownFont();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_ownPalette(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQWidget*) QtSupport::getQt(env, obj))->ownPalette();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_paintEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paintEvent((TQPaintEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QWidget_paintingActive(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TQPaintDevice*)(TQWidget*) QtSupport::getQt(env, obj))->paintingActive();
	return xret;
}

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_paletteChange(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paletteChange((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1));
	return;
}

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

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

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_parentWidget__Z(JNIEnv* env, jobject obj, jboolean sameWindow)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->parentWidget((bool) sameWindow), "org.trinitydesktop.qt.TQWidget");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_polish(JNIEnv* env, jobject obj)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_polish();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_pos(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQPoint(((TQWidget*) QtSupport::getQt(env, obj))->pos()), "org.trinitydesktop.qt.TQPoint", true);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_raise(JNIEnv* env, jobject obj)
{
	((TQWidget*) QtSupport::getQt(env, obj))->raise();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_recreate__Lorg_trinitydesktop_qt_QWidget_2ILorg_trinitydesktop_qt_QPoint_2(JNIEnv* env, jobject obj, jobject parent, jint f, jobject p)
{
	((TQWidget*) QtSupport::getQt(env, obj))->recreate((TQWidget*) QtSupport::getQt(env, parent), (TQt::WFlags) f, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_recreate__Lorg_trinitydesktop_qt_QWidget_2ILorg_trinitydesktop_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject parent, jint f, jobject p, jboolean showIt)
{
	((TQWidget*) QtSupport::getQt(env, obj))->recreate((TQWidget*) QtSupport::getQt(env, parent), (TQt::WFlags) f, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, p), (bool) showIt);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_rect(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQWidget*) QtSupport::getQt(env, obj))->rect()), "org.trinitydesktop.qt.TQRect", true);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_releaseKeyboard(JNIEnv* env, jobject obj)
{
	((TQWidget*) QtSupport::getQt(env, obj))->releaseKeyboard();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_releaseMouse(JNIEnv* env, jobject obj)
{
	((TQWidget*) QtSupport::getQt(env, obj))->releaseMouse();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_repaint__(JNIEnv* env, jobject obj)
{
	((TQWidget*) QtSupport::getQt(env, obj))->repaint();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_repaint__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h)
{
	((TQWidget*) QtSupport::getQt(env, obj))->repaint((int) x, (int) y, (int) w, (int) h);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_repaint__IIIIZ(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jboolean erase)
{
	((TQWidget*) QtSupport::getQt(env, obj))->repaint((int) x, (int) y, (int) w, (int) h, (bool) erase);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_repaint__Lorg_trinitydesktop_qt_QRect_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean erase)
{
	((TQWidget*) QtSupport::getQt(env, obj))->repaint((const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg1), (bool) erase);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_repaint__Lorg_trinitydesktop_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->repaint((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_repaint__Lorg_trinitydesktop_qt_QRegion_2Z(JNIEnv* env, jobject obj, jobject arg1, jboolean erase)
{
	((TQWidget*) QtSupport::getQt(env, obj))->repaint((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1), (bool) erase);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_repaint__Z(JNIEnv* env, jobject obj, jboolean erase)
{
	((TQWidget*) QtSupport::getQt(env, obj))->repaint((bool) erase);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_reparent__Lorg_trinitydesktop_qt_QWidget_2ILorg_trinitydesktop_qt_QPoint_2(JNIEnv* env, jobject obj, jobject parent, jint arg2, jobject arg3)
{
	((TQWidget*) QtSupport::getQt(env, obj))->reparent((TQWidget*) QtSupport::getQt(env, parent), (TQt::WFlags) arg2, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg3));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_reparent__Lorg_trinitydesktop_qt_QWidget_2ILorg_trinitydesktop_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject parent, jint arg2, jobject arg3, jboolean showIt)
{
	((TQWidget*) QtSupport::getQt(env, obj))->reparent((TQWidget*) QtSupport::getQt(env, parent), (TQt::WFlags) arg2, (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg3), (bool) showIt);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_reparent__Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QPoint_2(JNIEnv* env, jobject obj, jobject parent, jobject arg2)
{
	((TQWidget*) QtSupport::getQt(env, obj))->reparent((TQWidget*) QtSupport::getQt(env, parent), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg2));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_reparent__Lorg_trinitydesktop_qt_QWidget_2Lorg_trinitydesktop_qt_QPoint_2Z(JNIEnv* env, jobject obj, jobject parent, jobject arg2, jboolean showIt)
{
	((TQWidget*) QtSupport::getQt(env, obj))->reparent((TQWidget*) QtSupport::getQt(env, parent), (const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, arg2), (bool) showIt);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_resetInputContext(JNIEnv* env, jobject obj)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resetInputContext();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_resizeEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_resizeEvent((TQResizeEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_resize__II(JNIEnv* env, jobject obj, jint w, jint h)
{
	((TQWidget*) QtSupport::getQt(env, obj))->resize((int) w, (int) h);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_resize__Lorg_trinitydesktop_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->resize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QWidget_resolution(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQPaintDevice*)(TQWidget*) QtSupport::getQt(env, obj))->resolution();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_scroll__II(JNIEnv* env, jobject obj, jint dx, jint dy)
{
	((TQWidget*) QtSupport::getQt(env, obj))->scroll((int) dx, (int) dy);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_scroll__IILorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jint dx, jint dy, jobject arg3)
{
	((TQWidget*) QtSupport::getQt(env, obj))->scroll((int) dx, (int) dy, (const TQRect&)*(const TQRect*) QtSupport::getQt(env, arg3));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setAcceptDrops(JNIEnv* env, jobject obj, jboolean on)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setAcceptDrops((bool) on);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setActiveWindow(JNIEnv* env, jobject obj)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_setActiveWindow();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setAutoMask(JNIEnv* env, jobject obj, jboolean arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setAutoMask((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setBackgroundColor(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setBackgroundMode__I(JNIEnv* env, jobject obj, jint arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setBackgroundMode((TQt::BackgroundMode) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setBackgroundMode__II(JNIEnv* env, jobject obj, jint arg1, jint arg2)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setBackgroundMode((TQt::BackgroundMode) arg1, (TQt::BackgroundMode) arg2);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setBackgroundOrigin(JNIEnv* env, jobject obj, jint arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setBackgroundOrigin((TQWidget::BackgroundOrigin) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setBackgroundPixmap(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setBackgroundPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setBaseSize__II(JNIEnv* env, jobject obj, jint basew, jint baseh)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setBaseSize((int) basew, (int) baseh);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setBaseSize__Lorg_trinitydesktop_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setBaseSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setCaption(JNIEnv* env, jobject obj, jstring arg1)
{
static TQString* _qstring_arg1 = 0;
	((TQWidget*) QtSupport::getQt(env, obj))->setCaption((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setCursor(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setCursor((const TQCursor&)*(const TQCursor*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setDisabled(JNIEnv* env, jobject obj, jboolean arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setDisabled((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setEnabled(JNIEnv* env, jobject obj, jboolean arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setEnabled((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setEraseColor(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setEraseColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setErasePixmap(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setErasePixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setFixedHeight(JNIEnv* env, jobject obj, jint h)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setFixedHeight((int) h);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setFixedSize__II(JNIEnv* env, jobject obj, jint w, jint h)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setFixedSize((int) w, (int) h);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setFixedSize__Lorg_trinitydesktop_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setFixedSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setFixedWidth(JNIEnv* env, jobject obj, jint w)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setFixedWidth((int) w);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setFocusPolicy(JNIEnv* env, jobject obj, jint arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setFocusPolicy((TQWidget::FocusPolicy) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setFocusProxy(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setFocusProxy((TQWidget*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setFocus(JNIEnv* env, jobject obj)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_setFocus();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setFont__Lorg_trinitydesktop_qt_QFont_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setFont__Lorg_trinitydesktop_qt_QFont_2Z(JNIEnv* env, jobject obj, jobject f, jboolean arg2)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setFont((const TQFont&)*(const TQFont*) QtSupport::getQt(env, f), (bool) arg2);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setGeometry__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setGeometry((int) x, (int) y, (int) w, (int) h);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setHidden(JNIEnv* env, jobject obj, jboolean hide)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setHidden((bool) hide);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setIconText(JNIEnv* env, jobject obj, jstring arg1)
{
static TQString* _qstring_arg1 = 0;
	((TQWidget*) QtSupport::getQt(env, obj))->setIconText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setIcon(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setIcon((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setInputMethodEnabled(JNIEnv* env, jobject obj, jboolean b)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setInputMethodEnabled((bool) b);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setKeyCompression(JNIEnv* env, jobject obj, jboolean arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setKeyCompression((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setMask__Lorg_trinitydesktop_qt_QBitmap_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setMask((const TQBitmap&)*(const TQBitmap*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setMask__Lorg_trinitydesktop_qt_QRegion_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setMask((const TQRegion&)*(const TQRegion*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setMaximumHeight(JNIEnv* env, jobject obj, jint maxh)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setMaximumHeight((int) maxh);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setMaximumSize__II(JNIEnv* env, jobject obj, jint maxw, jint maxh)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setMaximumSize((int) maxw, (int) maxh);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setMaximumSize__Lorg_trinitydesktop_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setMaximumSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setMaximumWidth(JNIEnv* env, jobject obj, jint maxw)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setMaximumWidth((int) maxw);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setMicroFocusHint__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setMicroFocusHint((int) x, (int) y, (int) w, (int) h);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setMicroFocusHint__IIIIZ(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jboolean text)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setMicroFocusHint((int) x, (int) y, (int) w, (int) h, (bool) text);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setMicroFocusHint__IIIIZLorg_trinitydesktop_qt_QFont_2(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h, jboolean text, jobject f)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setMicroFocusHint((int) x, (int) y, (int) w, (int) h, (bool) text, (TQFont*) QtSupport::getQt(env, f));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setMinimumHeight(JNIEnv* env, jobject obj, jint minh)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setMinimumHeight((int) minh);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setMinimumSize__II(JNIEnv* env, jobject obj, jint minw, jint minh)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setMinimumSize((int) minw, (int) minh);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setMinimumSize__Lorg_trinitydesktop_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setMinimumSize((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setMinimumWidth(JNIEnv* env, jobject obj, jint minw)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setMinimumWidth((int) minw);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setMouseTracking(JNIEnv* env, jobject obj, jboolean enable)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setMouseTracking((bool) enable);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setName(JNIEnv* env, jobject obj, jstring name)
{
static TQCString* _qstring_name = 0;
	((TQWidget*) QtSupport::getQt(env, obj))->setName((const char*) QtSupport::toCharString(env, name, &_qstring_name));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setPaletteBackgroundColor(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setPaletteBackgroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setPaletteBackgroundPixmap(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setPaletteBackgroundPixmap((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setPaletteForegroundColor(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setPaletteForegroundColor((const TQColor&)*(const TQColor*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setPalette__Lorg_trinitydesktop_qt_QPalette_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setPalette__Lorg_trinitydesktop_qt_QPalette_2Z(JNIEnv* env, jobject obj, jobject p, jboolean arg2)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setPalette((const TQPalette&)*(const TQPalette*) QtSupport::getQt(env, p), (bool) arg2);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setResolution(JNIEnv* env, jobject obj, jint arg1)
{
	((TQPaintDevice*)(TQWidget*) QtSupport::getQt(env, obj))->setResolution((int) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setShown(JNIEnv* env, jobject obj, jboolean show)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setShown((bool) show);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setSizeIncrement__II(JNIEnv* env, jobject obj, jint w, jint h)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setSizeIncrement((int) w, (int) h);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setSizeIncrement__Lorg_trinitydesktop_qt_QSize_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setSizeIncrement((const TQSize&)*(const TQSize*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setSizePolicy__II(JNIEnv* env, jobject obj, jint hor, jint ver)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setSizePolicy((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setSizePolicy__IIZ(JNIEnv* env, jobject obj, jint hor, jint ver, jboolean hfw)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setSizePolicy((TQSizePolicy::SizeType) hor, (TQSizePolicy::SizeType) ver, (bool) hfw);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setSizePolicy__Lorg_trinitydesktop_qt_QSizePolicy_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setSizePolicy((TQSizePolicy)*(TQSizePolicy*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_setStyle__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring arg1)
{
static TQString* _qstring_arg1 = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TQWidget*) QtSupport::getQt(env, obj))->setStyle((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)), "org.trinitydesktop.qt.TQStyle");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setStyle__Lorg_trinitydesktop_qt_QStyle_2(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setStyle((TQStyle*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setTabOrder(JNIEnv* env, jclass cls, jobject arg1, jobject arg2)
{
	(void) cls;
	TQWidgetJBridge::setTabOrder((TQWidget*) QtSupport::getQt(env, arg1), (TQWidget*) QtSupport::getQt(env, arg2));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setUpdatesEnabled(JNIEnv* env, jobject obj, jboolean enable)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setUpdatesEnabled((bool) enable);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setWFlags(JNIEnv* env, jobject obj, jint arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setWFlags((TQt::WFlags) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setWState(JNIEnv* env, jobject obj, jint arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_setWState((uint) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setWindowOpacity(JNIEnv* env, jobject obj, jdouble level)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setWindowOpacity((double) level);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_setWindowState(JNIEnv* env, jobject obj, jint windowState)
{
	((TQWidget*) QtSupport::getQt(env, obj))->setWindowState((uint) windowState);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_showEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_showEvent((TQShowEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_showFullScreen(JNIEnv* env, jobject obj)
{
	((TQWidget*) QtSupport::getQt(env, obj))->showFullScreen();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_showMaximized(JNIEnv* env, jobject obj)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_showMaximized();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_showMinimized(JNIEnv* env, jobject obj)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_showMinimized();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_showNormal(JNIEnv* env, jobject obj)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_showNormal();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_show(JNIEnv* env, jobject obj)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_show();
	return;
}

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_sizeIncrement(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidget*) QtSupport::getQt(env, obj))->sizeIncrement()), "org.trinitydesktop.qt.TQSize", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_sizePolicy(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSizePolicy(((TQWidget*) QtSupport::getQt(env, obj))->sizePolicy()), "org.trinitydesktop.qt.TQSizePolicy", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_size(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQSize(((TQWidget*) QtSupport::getQt(env, obj))->size()), "org.trinitydesktop.qt.TQSize", true);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_stackUnder(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidget*) QtSupport::getQt(env, obj))->stackUnder((TQWidget*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_styleChange(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((TQStyle&)*(TQStyle*) QtSupport::getQt(env, arg1));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_tabletEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_tabletEvent((TQTabletEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QWidget_testWFlags(JNIEnv* env, jobject obj, jint f)
{
	jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->testWFlags((TQt::WFlags) f);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QWidget_testWState(JNIEnv* env, jobject obj, jint s)
{
	jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->testWState((TQt::WState) s);
	return xret;
}

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QWidget_tr__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1)
{
	TQString  _qstring;
	(void) cls;
static TQCString* _qstring_arg1 = 0;
	_qstring = TQWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QWidget_tr__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring arg1, jstring arg2)
{
	TQString  _qstring;
	(void) cls;
static TQCString* _qstring_arg1 = 0;
static TQCString* _qstring_arg2 = 0;
	_qstring = TQWidgetJBridge::tr((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, arg2, &_qstring_arg2));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_unsetCursor(JNIEnv* env, jobject obj)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->public_unsetCursor();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_unsetFont(JNIEnv* env, jobject obj)
{
	((TQWidget*) QtSupport::getQt(env, obj))->unsetFont();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_unsetPalette(JNIEnv* env, jobject obj)
{
	((TQWidget*) QtSupport::getQt(env, obj))->unsetPalette();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_updateGeometry(JNIEnv* env, jobject obj)
{
	((TQWidget*) QtSupport::getQt(env, obj))->updateGeometry();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_updateMask(JNIEnv* env, jobject obj)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_updateMask();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_update__(JNIEnv* env, jobject obj)
{
	((TQWidget*) QtSupport::getQt(env, obj))->update();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_update__IIII(JNIEnv* env, jobject obj, jint x, jint y, jint w, jint h)
{
	((TQWidget*) QtSupport::getQt(env, obj))->update((int) x, (int) y, (int) w, (int) h);
	return;
}

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QWidget_visibleRect(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQWidget*) QtSupport::getQt(env, obj))->visibleRect()), "org.trinitydesktop.qt.TQRect", true);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_wheelEvent(JNIEnv* env, jobject obj, jobject arg1)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_wheelEvent((TQWheelEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QWidget_width(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->width();
	return xret;
}

JNIEXPORT jlong JNICALL
Java_org_trinitydesktop_qt_QWidget_winId(JNIEnv* env, jobject obj)
{
	jlong xret = (jlong) ((TQWidget*) QtSupport::getQt(env, obj))->winId();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QWidget_windowActivationChange(JNIEnv* env, jobject obj, jboolean oldActive)
{
	((TQWidgetJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) oldActive);
	return;
}

JNIEXPORT jdouble JNICALL
Java_org_trinitydesktop_qt_QWidget_windowOpacity(JNIEnv* env, jobject obj)
{
	jdouble xret = (jdouble) ((TQWidget*) QtSupport::getQt(env, obj))->windowOpacity();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QWidget_windowState(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->windowState();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QWidget_x(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->x();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_qt_QWidget_y(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TQWidget*) QtSupport::getQt(env, obj))->y();
	return xret;
}

JNIEXPORT jlong JNICALL
Java_org_trinitydesktop_qt_QWidget_paintDevice(JNIEnv* env, jobject obj)
{
	return (jlong) (TQPaintDevice*)(TQWidget*) QtSupport::getQt(env, obj);
}

