/***************************************************************************
                            QWidget.cpp -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

#define _BOOL_H_
#include <qwidget.h>
#include <qstring.h>
#include <qcstring.h>

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

class QWidgetJBridge : public QWidget
{
public:
	QWidgetJBridge(QWidget* parent, const char* name, WFlags f) : QWidget(parent, name, f) {}
	~QWidgetJBridge() {QtSupport::qtKeyDeleted(this);}
	bool  protected_event(QEvent* arg1) {
		return (bool ) QWidget::event(arg1);
	}
//	 unsigned char * protected_scanLine(int arg1) {
//		return ( unsigned char *) QWidget::scanLine(arg1);
//	}
//	 int  protected_bytesPerLine() {
//		return ( int ) QWidget::bytesPerLine();
//	}
	void protected_updateMask() {
		QWidget::updateMask();
		return;
	}
	void protected_styleChange(QStyle& arg1) {
		QWidget::styleChange(arg1);
		return;
	}
	void protected_enabledChange(bool oldEnabled) {
		QWidget::enabledChange(oldEnabled);
		return;
	}
	void protected_paletteChange(const QPalette& arg1) {
		QWidget::paletteChange(arg1);
		return;
	}
	void protected_fontChange(const QFont& arg1) {
		QWidget::fontChange(arg1);
		return;
	}
	void protected_windowActivationChange(bool oldActive) {
		QWidget::windowActivationChange(oldActive);
		return;
	}
	int  protected_metric(int arg1) {
		return (int ) QWidget::metric(arg1);
	}
	void protected_resetInputContext() {
		QWidget::resetInputContext();
		return;
	}
	void protected_create(WId arg1, bool initializeWindow, bool destroyOldWindow) {
		QWidget::create(arg1, initializeWindow, destroyOldWindow);
		return;
	}
	void protected_destroy(bool destroyWindow, bool destroySubWindows) {
		QWidget::destroy(destroyWindow, destroySubWindows);
		return;
	}
	uint  protected_getWState() {
		return (uint ) QWidget::getWState();
	}
	void protected_setWState(uint arg1) {
		QWidget::setWState(arg1);
		return;
	}
	void protected_clearWState(uint n) {
		QWidget::clearWState(n);
		return;
	}
	WFlags  protected_getWFlags() {
		return (WFlags ) QWidget::getWFlags();
	}
	void protected_setWFlags(WFlags arg1) {
		QWidget::setWFlags(arg1);
		return;
	}
	void protected_clearWFlags(WFlags n) {
		QWidget::clearWFlags(n);
		return;
	}
	 bool  protected_focusNextPrevChild(bool next) {
		return ( bool ) QWidget::focusNextPrevChild(next);
	}
	QWExtra * protected_extraData() {
		return (QWExtra *) QWidget::extraData();
	}
	QTLWExtra * protected_topData() {
		return (QTLWExtra *) QWidget::topData();
	}
	QFocusData * protected_focusData() {
		return (QFocusData *) QWidget::focusData();
	}
	void protected_setKeyCompression(bool arg1) {
		QWidget::setKeyCompression(arg1);
		return;
	}
	void protected_setMicroFocusHint(int x, int y, int w, int h, bool text, QFont* f) {
		QWidget::setMicroFocusHint(x, y, w, h, text, f);
		return;
	}
//	void protected_dirtyClippedRegion(bool arg1) {
//		QWidget::dirtyClippedRegion(arg1);
//		return;
//	}
//	bool  protected_isClippedRegionDirty() {
//		return (bool ) QWidget::isClippedRegionDirty();
//	}
	void keyPressEvent(QKeyEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "keyPressEvent", arg1, "org.kde.qt.QKeyEvent")) {
			QWidget::keyPressEvent(arg1);
		}
		return;
	}
	void keyReleaseEvent(QKeyEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "keyReleaseEvent", arg1, "org.kde.qt.QKeyEvent")) {
			QWidget::keyReleaseEvent(arg1);
		}
		return;
	}
	void focusOutEvent(QFocusEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "focusOutEvent", arg1, "org.kde.qt.QFocusEvent")) {
			QWidget::focusOutEvent(arg1);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "childEvent", arg1, "org.kde.qt.QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void dragMoveEvent(QDragMoveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dragMoveEvent", arg1, "org.kde.qt.QDragMoveEvent")) {
			QWidget::dragMoveEvent(arg1);
		}
		return;
	}
	void leaveEvent(QEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "leaveEvent", arg1, "org.kde.qt.QEvent")) {
			QWidget::leaveEvent(arg1);
		}
		return;
	}
	void tabletEvent(QTabletEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "tabletEvent", arg1, "org.kde.qt.QTabletEvent")) {
			QWidget::tabletEvent(arg1);
		}
		return;
	}
	void showEvent(QShowEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "showEvent", arg1, "org.kde.qt.QShowEvent")) {
			QWidget::showEvent(arg1);
		}
		return;
	}
	void contextMenuEvent(QContextMenuEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "contextMenuEvent", arg1, "org.kde.qt.QContextMenuEvent")) {
			QWidget::contextMenuEvent(arg1);
		}
		return;
	}
	bool eventFilter(QObject * object, QEvent * event) {
		if (! QtSupport::eventFilterDelegate((QObject *) this, "org.kde.qt.QWidget", object, event)) {
			return QWidget::eventFilter(object, event);
		} else {
			return TRUE;
		}
	}
	void mousePressEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mousePressEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QWidget::mousePressEvent(arg1);
		}
		return;
	}
	void imComposeEvent(QIMEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "imComposeEvent", arg1, "org.kde.qt.QIMEvent")) {
			QWidget::imComposeEvent(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "customEvent", arg1, "org.kde.qt.QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void mouseReleaseEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mouseReleaseEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QWidget::mouseReleaseEvent(arg1);
		}
		return;
	}
	void mouseDoubleClickEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mouseDoubleClickEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QWidget::mouseDoubleClickEvent(arg1);
		}
		return;
	}
	void dragLeaveEvent(QDragLeaveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dragLeaveEvent", arg1, "org.kde.qt.QDragLeaveEvent")) {
			QWidget::dragLeaveEvent(arg1);
		}
		return;
	}
	void enterEvent(QEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "enterEvent", arg1, "org.kde.qt.QEvent")) {
			QWidget::enterEvent(arg1);
		}
		return;
	}
	void focusInEvent(QFocusEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "focusInEvent", arg1, "org.kde.qt.QFocusEvent")) {
			QWidget::focusInEvent(arg1);
		}
		return;
	}
	void imEndEvent(QIMEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "imEndEvent", arg1, "org.kde.qt.QIMEvent")) {
			QWidget::imEndEvent(arg1);
		}
		return;
	}
	void dropEvent(QDropEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dropEvent", arg1, "org.kde.qt.QDropEvent")) {
			QWidget::dropEvent(arg1);
		}
		return;
	}
	void dragEnterEvent(QDragEnterEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dragEnterEvent", arg1, "org.kde.qt.QDragEnterEvent")) {
			QWidget::dragEnterEvent(arg1);
		}
		return;
	}
	void mouseMoveEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mouseMoveEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QWidget::mouseMoveEvent(arg1);
		}
		return;
	}
	void moveEvent(QMoveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "moveEvent", arg1, "org.kde.qt.QMoveEvent")) {
			QWidget::moveEvent(arg1);
		}
		return;
	}
	void wheelEvent(QWheelEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "wheelEvent", arg1, "org.kde.qt.QWheelEvent")) {
			QWidget::wheelEvent(arg1);
		}
		return;
	}
	void hideEvent(QHideEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "hideEvent", arg1, "org.kde.qt.QHideEvent")) {
			QWidget::hideEvent(arg1);
		}
		return;
	}
	void imStartEvent(QIMEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "imStartEvent", arg1, "org.kde.qt.QIMEvent")) {
			QWidget::imStartEvent(arg1);
		}
		return;
	}
	void closeEvent(QCloseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "closeEvent", arg1, "org.kde.qt.QCloseEvent")) {
			QWidget::closeEvent(arg1);
		}
		return;
	}
	void paintEvent(QPaintEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "paintEvent", arg1, "org.kde.qt.QPaintEvent")) {
			QWidget::paintEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "timerEvent", arg1, "org.kde.qt.QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
	void resizeEvent(QResizeEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "resizeEvent", arg1, "org.kde.qt.QResizeEvent")) {
			QWidget::resizeEvent(arg1);
		}
		return;
	}
};


JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_newQWidget__Lorg_kde_qt_QWidget_2Ljava_lang_String_2I(JNIEnv *env, jobject obj, jobject parent, jstring name, jint f)
{
static QCString * _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QWidgetJBridge((QWidget*) QtSupport::getQt(env, parent), (char*) QtSupport::toCharString(env, name, &_qstring_name), (QWidget::WFlags) f));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QWidget_winId(JNIEnv *env, jobject obj)
{
	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->winId();
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_style(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)(QStyle *) &((QWidgetJBridge*) QtSupport::getQt(env, obj))->style(), "org.kde.qt.QStyle");
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setStyle__Lorg_kde_qt_QStyle_2(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setStyle((QStyle*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_setStyle__Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring arg1)
{
static QString * _qstring_arg1 = 0;
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QWidgetJBridge*) QtSupport::getQt(env, obj))->setStyle((QString&) * (QString *) QtSupport::toQString(env, arg1, &_qstring_arg1)), "org.kde.qt.QStyle");
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_isTopLevel(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->isTopLevel();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_isDialog(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->isDialog();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_isPopup(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->isPopup();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_isDesktop(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->isDesktop();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_isModal(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->isModal();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_isEnabled(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->isEnabled();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_isEnabledTo(JNIEnv *env, jobject obj, jobject arg1)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->isEnabledTo((QWidget*) QtSupport::getQt(env, arg1));
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_isEnabledToTLW(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->isEnabledToTLW();
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_frameGeometry(JNIEnv *env, jobject obj)
{
	QRect _r= ((QWidgetJBridge*) QtSupport::getQt(env, obj))->frameGeometry();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QRect(_r.left(),_r.top(),_r.width(),_r.height()), "org.kde.qt.QRect", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_geometry(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)(QRect *) &((QWidgetJBridge*) QtSupport::getQt(env, obj))->geometry(), "org.kde.qt.QRect");
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QWidget_x(JNIEnv *env, jobject obj)
{
	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->x();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QWidget_y(JNIEnv *env, jobject obj)
{
	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->y();
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_pos(JNIEnv *env, jobject obj)
{
	QPoint _p= ((QWidgetJBridge*) QtSupport::getQt(env, obj))->pos();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QPoint(_p.x(),_p.y()), "org.kde.qt.QPoint", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_frameSize(JNIEnv *env, jobject obj)
{
	QSize _s= ((QWidgetJBridge*) QtSupport::getQt(env, obj))->frameSize();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QSize(_s.width(),_s.height()), "org.kde.qt.QSize", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_size(JNIEnv *env, jobject obj)
{
	QSize _s= ((QWidgetJBridge*) QtSupport::getQt(env, obj))->size();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QSize(_s.width(),_s.height()), "org.kde.qt.QSize", TRUE);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QWidget_width(JNIEnv *env, jobject obj)
{
	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->width();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QWidget_height(JNIEnv *env, jobject obj)
{
	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->height();
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_rect(JNIEnv *env, jobject obj)
{
	QRect _r= ((QWidgetJBridge*) QtSupport::getQt(env, obj))->rect();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QRect(_r.left(),_r.top(),_r.width(),_r.height()), "org.kde.qt.QRect", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_childrenRect(JNIEnv *env, jobject obj)
{
	QRect _r= ((QWidgetJBridge*) QtSupport::getQt(env, obj))->childrenRect();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QRect(_r.left(),_r.top(),_r.width(),_r.height()), "org.kde.qt.QRect", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_childrenRegion(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QRegion (((QWidgetJBridge*) QtSupport::getQt(env, obj))->childrenRegion()), "org.kde.qt.QRegion", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_minimumSize(JNIEnv *env, jobject obj)
{
	QSize _s= ((QWidgetJBridge*) QtSupport::getQt(env, obj))->minimumSize();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QSize(_s.width(),_s.height()), "org.kde.qt.QSize", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_maximumSize(JNIEnv *env, jobject obj)
{
	QSize _s= ((QWidgetJBridge*) QtSupport::getQt(env, obj))->maximumSize();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QSize(_s.width(),_s.height()), "org.kde.qt.QSize", TRUE);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QWidget_minimumWidth(JNIEnv *env, jobject obj)
{
	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->minimumWidth();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QWidget_minimumHeight(JNIEnv *env, jobject obj)
{
	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->minimumHeight();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QWidget_maximumWidth(JNIEnv *env, jobject obj)
{
	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->maximumWidth();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QWidget_maximumHeight(JNIEnv *env, jobject obj)
{
	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->maximumHeight();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setMinimumSize__Lorg_kde_qt_QSize_2(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setMinimumSize((QSize&) *(QSize *) QtSupport::getQt(env, arg1));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setMaximumSize__Lorg_kde_qt_QSize_2(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setMaximumSize((QSize&) *(QSize *) QtSupport::getQt(env, arg1));
	return;
}

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

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

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

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_sizeIncrement(JNIEnv *env, jobject obj)
{
	QSize _s= ((QWidgetJBridge*) QtSupport::getQt(env, obj))->sizeIncrement();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QSize(_s.width(),_s.height()), "org.kde.qt.QSize", TRUE);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setSizeIncrement__Lorg_kde_qt_QSize_2(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setSizeIncrement((QSize&) *(QSize *) QtSupport::getQt(env, arg1));
	return;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_baseSize(JNIEnv *env, jobject obj)
{
	QSize _s= ((QWidgetJBridge*) QtSupport::getQt(env, obj))->baseSize();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QSize(_s.width(),_s.height()), "org.kde.qt.QSize", TRUE);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setBaseSize__Lorg_kde_qt_QSize_2(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setBaseSize((QSize&) *(QSize *) QtSupport::getQt(env, arg1));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setFixedSize__Lorg_kde_qt_QSize_2(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setFixedSize((QSize&) *(QSize *) QtSupport::getQt(env, arg1));
	return;
}

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

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_mapToGlobal(JNIEnv *env, jobject obj, jobject arg1)
{
	QPoint _p= ((QWidgetJBridge*) QtSupport::getQt(env, obj))->mapToGlobal((QPoint&) *(QPoint *) QtSupport::getQt(env, arg1));
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QPoint(_p.x(),_p.y()), "org.kde.qt.QPoint", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_mapFromGlobal(JNIEnv *env, jobject obj, jobject arg1)
{
	QPoint _p= ((QWidgetJBridge*) QtSupport::getQt(env, obj))->mapFromGlobal((QPoint&) *(QPoint *) QtSupport::getQt(env, arg1));
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QPoint(_p.x(),_p.y()), "org.kde.qt.QPoint", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_mapToParent(JNIEnv *env, jobject obj, jobject arg1)
{
	QPoint _p= ((QWidgetJBridge*) QtSupport::getQt(env, obj))->mapToParent((QPoint&) *(QPoint *) QtSupport::getQt(env, arg1));
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QPoint(_p.x(),_p.y()), "org.kde.qt.QPoint", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_mapFromParent(JNIEnv *env, jobject obj, jobject arg1)
{
	QPoint _p= ((QWidgetJBridge*) QtSupport::getQt(env, obj))->mapFromParent((QPoint&) *(QPoint *) QtSupport::getQt(env, arg1));
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QPoint(_p.x(),_p.y()), "org.kde.qt.QPoint", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_mapTo(JNIEnv *env, jobject obj, jobject arg1, jobject arg2)
{
	QPoint _p= ((QWidgetJBridge*) QtSupport::getQt(env, obj))->mapTo((QWidget*) QtSupport::getQt(env, arg1), (QPoint&) *(QPoint *) QtSupport::getQt(env, arg2));
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QPoint(_p.x(),_p.y()), "org.kde.qt.QPoint", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_mapFrom(JNIEnv *env, jobject obj, jobject arg1, jobject arg2)
{
	QPoint _p= ((QWidgetJBridge*) QtSupport::getQt(env, obj))->mapFrom((QWidget*) QtSupport::getQt(env, arg1), (QPoint&) *(QPoint *) QtSupport::getQt(env, arg2));
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QPoint(_p.x(),_p.y()), "org.kde.qt.QPoint", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_topLevelWidget(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QWidgetJBridge*) QtSupport::getQt(env, obj))->topLevelWidget(), "org.kde.qt.QWidget");
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QWidget_backgroundMode(JNIEnv *env, jobject obj)
{
	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->backgroundMode();
}

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_foregroundColor(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)(QColor *) &((QWidgetJBridge*) QtSupport::getQt(env, obj))->foregroundColor(), "org.kde.qt.QColor");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_eraseColor(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)(QColor *) &((QWidgetJBridge*) QtSupport::getQt(env, obj))->eraseColor(), "org.kde.qt.QColor");
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setEraseColor(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setEraseColor((QColor&) *(QColor *) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_erasePixmap(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QWidgetJBridge*) QtSupport::getQt(env, obj))->erasePixmap(), "org.kde.qt.QPixmap");
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setErasePixmap(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setErasePixmap((QPixmap&) *(QPixmap *) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_colorGroup(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)(QColorGroup *) &((QWidgetJBridge*) QtSupport::getQt(env, obj))->colorGroup(), "org.kde.qt.QColorGroup");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_palette(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)(QPalette *) &((QWidgetJBridge*) QtSupport::getQt(env, obj))->palette(), "org.kde.qt.QPalette");
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_ownPalette(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->ownPalette();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setPalette__Lorg_kde_qt_QPalette_2(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setPalette((QPalette&) *(QPalette *) QtSupport::getQt(env, arg1));
	return;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_paletteForegroundColor(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)(QColor *) &((QWidgetJBridge*) QtSupport::getQt(env, obj))->paletteForegroundColor(), "org.kde.qt.QColor");
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setPaletteForegroundColor(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setPaletteForegroundColor((QColor&) *(QColor *) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_paletteBackgroundColor(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)(QColor *) &((QWidgetJBridge*) QtSupport::getQt(env, obj))->paletteBackgroundColor(), "org.kde.qt.QColor");
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setPaletteBackgroundColor(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setPaletteBackgroundColor((QColor&) *(QColor *) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_paletteBackgroundPixmap(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QWidgetJBridge*) QtSupport::getQt(env, obj))->paletteBackgroundPixmap(), "org.kde.qt.QPixmap");
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setPaletteBackgroundPixmap(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setPaletteBackgroundPixmap((QPixmap&) *(QPixmap *) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_backgroundBrush(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)(QBrush *) &((QWidgetJBridge*) QtSupport::getQt(env, obj))->backgroundBrush(), "org.kde.qt.QBrush");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_font(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QFont (((QWidgetJBridge*) QtSupport::getQt(env, obj))->font()), "org.kde.qt.QFont", TRUE);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_ownFont(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->ownFont();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setFont__Lorg_kde_qt_QFont_2(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setFont((QFont&) *(QFont *) QtSupport::getQt(env, arg1));
	return;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_fontMetrics(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QFontMetrics (((QWidgetJBridge*) QtSupport::getQt(env, obj))->fontMetrics()), "org.kde.qt.QFontMetrics", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_fontInfo(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QFontInfo (((QWidgetJBridge*) QtSupport::getQt(env, obj))->fontInfo()), "org.kde.qt.QFontInfo", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_cursor(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)(QCursor *) &((QWidgetJBridge*) QtSupport::getQt(env, obj))->cursor(), "org.kde.qt.QCursor");
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_ownCursor(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->ownCursor();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setCursor(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setCursor((QCursor&) *(QCursor *) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_unsetCursor(JNIEnv *env, jobject obj)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->unsetCursor();
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QWidget_caption(JNIEnv *env, jobject obj)
{
	QString  _qstring;
	_qstring = ((QWidgetJBridge*) QtSupport::getQt(env, obj))->caption();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_icon(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QWidgetJBridge*) QtSupport::getQt(env, obj))->icon(), "org.kde.qt.QPixmap");
}

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QWidget_iconText(JNIEnv *env, jobject obj)
{
	QString  _qstring;
	_qstring = ((QWidgetJBridge*) QtSupport::getQt(env, obj))->iconText();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_hasMouseTracking(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->hasMouseTracking();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_hasMouse(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->hasMouse();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setMask__Lorg_kde_qt_QBitmap_2(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setMask((QBitmap&) *(QBitmap *) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setMask__Lorg_kde_qt_QRegion_2(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setMask((QRegion&) *(QRegion *) QtSupport::getQt(env, arg1));
	return;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_backgroundColor(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)(QColor *) &((QWidgetJBridge*) QtSupport::getQt(env, obj))->backgroundColor(), "org.kde.qt.QColor");
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setBackgroundColor(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setBackgroundColor((QColor&) *(QColor *) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_backgroundPixmap(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QWidgetJBridge*) QtSupport::getQt(env, obj))->backgroundPixmap(), "org.kde.qt.QPixmap");
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setBackgroundPixmap(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setBackgroundPixmap((QPixmap&) *(QPixmap *) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_isActiveWindow(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->isActiveWindow();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setActiveWindow(JNIEnv *env, jobject obj)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setActiveWindow();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_isFocusEnabled(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->isFocusEnabled();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QWidget_focusPolicy(JNIEnv *env, jobject obj)
{
	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->focusPolicy();
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_hasFocus(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->hasFocus();
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_focusProxy(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QWidgetJBridge*) QtSupport::getQt(env, obj))->focusProxy(), "org.kde.qt.QWidget");
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_grabMouse__Lorg_kde_qt_QCursor_2(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->grabMouse((QCursor&) *(QCursor *) QtSupport::getQt(env, arg1));
	return;
}

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

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_isUpdatesEnabled(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->isUpdatesEnabled();
}

//JNIEXPORT void JNICALL
//Java_org_kde_qt_QWidget_repaintUnclipped__Lorg_kde_qt_QRegion_2Z(JNIEnv *env, jobject obj, jobject arg1, jboolean erase)
//{
//	((QWidgetJBridge*) QtSupport::getQt(env, obj))->repaintUnclipped((QRegion&) *(QRegion *) QtSupport::getQt(env, arg1), (bool) erase);
//	return;
//}

//JNIEXPORT void JNICALL
//Java_org_kde_qt_QWidget_repaintUnclipped__Lorg_kde_qt_QRegion_2(JNIEnv *env, jobject obj, jobject arg1)
//{
//	((QWidgetJBridge*) QtSupport::getQt(env, obj))->repaintUnclipped((QRegion&) *(QRegion *) QtSupport::getQt(env, arg1), TRUE);
//	return;
//}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_close__Z(JNIEnv *env, jobject obj, jboolean alsoDelete)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->close((bool) alsoDelete);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_isVisible(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->isVisible();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_isVisibleTo(JNIEnv *env, jobject obj, jobject arg1)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->isVisibleTo((QWidget*) QtSupport::getQt(env, arg1));
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_isVisibleToTLW(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->isVisibleToTLW();
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_visibleRect(JNIEnv *env, jobject obj)
{
	QRect _r= ((QWidgetJBridge*) QtSupport::getQt(env, obj))->visibleRect();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QRect(_r.left(),_r.top(),_r.width(),_r.height()), "org.kde.qt.QRect", TRUE);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_isHidden(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->isHidden();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_isMinimized(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->isMinimized();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_isMaximized(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->isMaximized();
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_sizeHint(JNIEnv *env, jobject obj)
{
	QSize _s= ((QWidgetJBridge*) QtSupport::getQt(env, obj))->sizeHint();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QSize(_s.width(),_s.height()), "org.kde.qt.QSize", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_minimumSizeHint(JNIEnv *env, jobject obj)
{
	QSize _s= ((QWidgetJBridge*) QtSupport::getQt(env, obj))->minimumSizeHint();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QSize(_s.width(),_s.height()), "org.kde.qt.QSize", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_sizePolicy(JNIEnv *env, jobject obj)
{
	QSizePolicy _s= ((QWidgetJBridge*) QtSupport::getQt(env, obj))->sizePolicy();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QSizePolicy(_s.horData(),_s.verData(),_s.hasHeightForWidth()), "org.kde.qt.QSizePolicy", TRUE);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setSizePolicy(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setSizePolicy((QSizePolicy) *(QSizePolicy *) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QWidget_heightForWidth(JNIEnv *env, jobject obj, jint arg1)
{
	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->heightForWidth((int) arg1);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_adjustSize(JNIEnv *env, jobject obj)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->adjustSize();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_layout(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QWidgetJBridge*) QtSupport::getQt(env, obj))->layout(), "org.kde.qt.QLayout");
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_reparent__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2Z(JNIEnv *env, jobject obj, jobject parent, jint arg1, jobject arg2, jboolean showIt)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->reparent((QWidget*) QtSupport::getQt(env, parent), (QWidget::WFlags) arg1, (QPoint&) *(QPoint *) QtSupport::getQt(env, arg2), (bool) showIt);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_reparent__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2(JNIEnv *env, jobject obj, jobject parent, jint arg1, jobject arg2)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->reparent((QWidget*) QtSupport::getQt(env, parent), (QWidget::WFlags) arg1, (QPoint&) *(QPoint *) QtSupport::getQt(env, arg2), FALSE);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_reparent__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2Z(JNIEnv *env, jobject obj, jobject parent, jobject arg1, jboolean showIt)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->reparent((QWidget*) QtSupport::getQt(env, parent), (QPoint&) *(QPoint *) QtSupport::getQt(env, arg1), (bool) showIt);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_reparent__Lorg_kde_qt_QWidget_2Lorg_kde_qt_QPoint_2(JNIEnv *env, jobject obj, jobject parent, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->reparent((QWidget*) QtSupport::getQt(env, parent), (QPoint&) *(QPoint *) QtSupport::getQt(env, arg1), FALSE);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_recreate__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2Z(JNIEnv *env, jobject obj, jobject parent, jint f, jobject p, jboolean showIt)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->recreate((QWidget*) QtSupport::getQt(env, parent), (QWidget::WFlags) f, (QPoint&) *(QPoint *) QtSupport::getQt(env, p), (bool) showIt);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_recreate__Lorg_kde_qt_QWidget_2ILorg_kde_qt_QPoint_2(JNIEnv *env, jobject obj, jobject parent, jint f, jobject p)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->recreate((QWidget*) QtSupport::getQt(env, parent), (QWidget::WFlags) f, (QPoint&) *(QPoint *) QtSupport::getQt(env, p), FALSE);
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_erase__Lorg_kde_qt_QRect_2(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->erase((QRect&) *(QRect *) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_erase__Lorg_kde_qt_QRegion_2(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->erase((QRegion&) *(QRegion *) QtSupport::getQt(env, arg1));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_scroll__IILorg_kde_qt_QRect_2(JNIEnv *env, jobject obj, jint dx, jint dy, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->scroll((int) dx, (int) dy, (QRect&) *(QRect *) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_drawText__IILjava_lang_String_2(JNIEnv *env, jobject obj, jint x, jint y, jstring arg1)
{
static QString * _qstring_arg1 = 0;
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->drawText((int) x, (int) y, (QString&) * (QString *) QtSupport::toQString(env, arg1, &_qstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_drawText__Lorg_kde_qt_QPoint_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject arg1, jstring arg2)
{
static QString * _qstring_arg2 = 0;
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->drawText((QPoint&) *(QPoint *) QtSupport::getQt(env, arg1), (QString&) * (QString *) QtSupport::toQString(env, arg2, &_qstring_arg2));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_focusWidget(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QWidgetJBridge*) QtSupport::getQt(env, obj))->focusWidget(), "org.kde.qt.QWidget");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_microFocusHint(JNIEnv *env, jobject obj)
{
	QRect _r= ((QWidgetJBridge*) QtSupport::getQt(env, obj))->microFocusHint();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QRect(_r.left(),_r.top(),_r.width(),_r.height()), "org.kde.qt.QRect", TRUE);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_acceptDrops(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->acceptDrops();
}

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_autoMask(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->autoMask();
}

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QWidget_backgroundOrigin(JNIEnv *env, jobject obj)
{
	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->backgroundOrigin();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_customWhatsThis(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->customWhatsThis();
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_parentWidget__Z(JNIEnv *env, jobject obj, jboolean sameWindow)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QWidgetJBridge*) QtSupport::getQt(env, obj))->parentWidget((bool) sameWindow), "org.kde.qt.QWidget");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_parentWidget__(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QWidgetJBridge*) QtSupport::getQt(env, obj))->parentWidget(FALSE), "org.kde.qt.QWidget");
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QWidget_testWState(JNIEnv *env, jobject obj, jint s)
{
	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->testWState((QWidget::WState) s);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QWidget_testWFlags(JNIEnv *env, jobject obj, jint f)
{
	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->testWFlags((QWidget::WFlags) f);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_childAt__IIZ(JNIEnv *env, jobject obj, jint x, jint y, jboolean includeThis)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QWidgetJBridge*) QtSupport::getQt(env, obj))->childAt((int) x, (int) y, (bool) includeThis), "org.kde.qt.QWidget");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_childAt__II(JNIEnv *env, jobject obj, jint x, jint y)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QWidgetJBridge*) QtSupport::getQt(env, obj))->childAt((int) x, (int) y, FALSE), "org.kde.qt.QWidget");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_childAt__Lorg_kde_qt_QPoint_2Z(JNIEnv *env, jobject obj, jobject arg1, jboolean includeThis)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QWidgetJBridge*) QtSupport::getQt(env, obj))->childAt((QPoint&) *(QPoint *) QtSupport::getQt(env, arg1), (bool) includeThis), "org.kde.qt.QWidget");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_childAt__Lorg_kde_qt_QPoint_2(JNIEnv *env, jobject obj, jobject arg1)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QWidgetJBridge*) QtSupport::getQt(env, obj))->childAt((QPoint&) *(QPoint *) QtSupport::getQt(env, arg1), FALSE), "org.kde.qt.QWidget");
}

//JNIEXPORT jobject JNICALL
//Java_org_kde_qt_QWidget_graphicsContext__Z(JNIEnv *env, jobject obj, jboolean clip_children)
//{
//	return (jobject) QtSupport::objectForQtKey(env, (void *)((QWidgetJBridge*) QtSupport::getQt(env, obj))->graphicsContext((bool) clip_children), "org.kde.qt.QGfx");
//}

//JNIEXPORT jobject JNICALL
//Java_org_kde_qt_QWidget_graphicsContext__(JNIEnv *env, jobject obj)
//{
//	return (jobject) QtSupport::objectForQtKey(env, (void *)((QWidgetJBridge*) QtSupport::getQt(env, obj))->graphicsContext(TRUE), "org.kde.qt.QGfx");
//}

//JNIEXPORT jobject JNICALL
//Java_org_kde_qt_QWidget_clippedRegion__Z(JNIEnv *env, jobject obj, jboolean do_children)
//{
//	return (jobject) QtSupport::objectForQtKey(env, (void *)new QRegion (((QWidgetJBridge*) QtSupport::getQt(env, obj))->clippedRegion((bool) do_children)), "org.kde.qt.QRegion", TRUE);
//}

//JNIEXPORT jobject JNICALL
//Java_org_kde_qt_QWidget_clippedRegion__(JNIEnv *env, jobject obj)
//{
//	return (jobject) QtSupport::objectForQtKey(env, (void *)new QRegion(((QWidgetJBridge*) QtSupport::getQt(env, obj))->clippedRegion(TRUE)), "org.kde.qt.QRegion", TRUE);
//}

//JNIEXPORT void JNICALL
//Java_org_kde_qt_QWidget_macCGClippedContext__Z(JNIEnv *env, jobject obj, jboolean do_children)
//{
//	((QWidgetJBridge*) QtSupport::getQt(env, obj))->macCGClippedContext((bool) do_children);
//	return;
//}

//JNIEXPORT void JNICALL
//Java_org_kde_qt_QWidget_macCGClippedContext__(JNIEnv *env, jobject obj)
//{
//	((QWidgetJBridge*) QtSupport::getQt(env, obj))->macCGClippedContext(TRUE);
//	return;
//}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setPalette__Lorg_kde_qt_QPalette_2Z(JNIEnv *env, jobject obj, jobject p, jboolean arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setPalette((QPalette&) *(QPalette *) QtSupport::getQt(env, p), (bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setFont__Lorg_kde_qt_QFont_2Z(JNIEnv *env, jobject obj, jobject f, jboolean arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setFont((QFont&) *(QFont *) QtSupport::getQt(env, f), (bool) arg1);
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setCaption(JNIEnv *env, jobject obj, jstring arg1)
{
static QString * _qstring_arg1 = 0;
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setCaption((QString&) * (QString *) QtSupport::toQString(env, arg1, &_qstring_arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setIcon(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setIcon((QPixmap&) *(QPixmap *) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setIconText(JNIEnv *env, jobject obj, jstring arg1)
{
static QString * _qstring_arg1 = 0;
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setIconText((QString&) * (QString *) QtSupport::toQString(env, arg1, &_qstring_arg1));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setFocus(JNIEnv *env, jobject obj)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->setFocus();
	return;
}

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

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_update__Lorg_kde_qt_QRect_2(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->update((QRect&) *(QRect *) QtSupport::getQt(env, arg1));
	return;
}

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

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_repaint__Lorg_kde_qt_QRect_2Z(JNIEnv *env, jobject obj, jobject arg1, jboolean erase)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->repaint((QRect&) *(QRect *) QtSupport::getQt(env, arg1), (bool) erase);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_repaint__Lorg_kde_qt_QRect_2(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->repaint((QRect&) *(QRect *) QtSupport::getQt(env, arg1), TRUE);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_repaint__Lorg_kde_qt_QRegion_2Z(JNIEnv *env, jobject obj, jobject arg1, jboolean erase)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->repaint((QRegion&) *(QRegion *) QtSupport::getQt(env, arg1), (bool) erase);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_repaint__Lorg_kde_qt_QRegion_2(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->repaint((QRegion&) *(QRegion *) QtSupport::getQt(env, arg1), TRUE);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_show(JNIEnv *env, jobject obj)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->show();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_hide(JNIEnv *env, jobject obj)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->hide();
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_showMinimized(JNIEnv *env, jobject obj)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->showMinimized();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_showMaximized(JNIEnv *env, jobject obj)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->showMaximized();
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_showNormal(JNIEnv *env, jobject obj)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->showNormal();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_polish(JNIEnv *env, jobject obj)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->polish();
	return;
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_close__(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->close();
}

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

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_move__Lorg_kde_qt_QPoint_2(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->move((QPoint&) *(QPoint *) QtSupport::getQt(env, arg1));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_resize__Lorg_kde_qt_QSize_2(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->resize((QSize&) *(QSize *) QtSupport::getQt(env, arg1));
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_setTabOrder(JNIEnv *env, jclass obj, jobject arg1, jobject arg2)
{
	QWidgetJBridge::setTabOrder((QWidget*) QtSupport::getQt(env, arg1), (QWidget*) QtSupport::getQt(env, arg2));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_mouseGrabber(JNIEnv *env, jclass obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)QWidgetJBridge::mouseGrabber(), "org.kde.qt.QWidget");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_keyboardGrabber(JNIEnv *env, jclass obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)QWidgetJBridge::keyboardGrabber(), "org.kde.qt.QWidget");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_find(JNIEnv *env, jclass obj, jint arg1)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)QWidgetJBridge::find((WId) arg1), "org.kde.qt.QWidget");
}

//JNIEXPORT jobject JNICALL
//Java_org_kde_qt_QWidget_wmapper(JNIEnv *env, jclass obj)
//{
//	return (jobject) QtSupport::objectForQtKey(env, (void *)QWidgetJBridge::wmapper(), "org.kde.qt.QWidgetMapper");
//}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_event(JNIEnv *env, jobject obj, jobject arg1)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_event((QEvent*) QtSupport::getQt(env, arg1));
}

//JNIEXPORT jstring JNICALL
//Java_org_kde_qt_QWidget_scanLine(JNIEnv *env, jobject obj, jint arg1)
//{
//	 unsigned char * _qcstring;
//	_qcstring = (const char *)((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_scanLine((int) arg1);
//	return QtSupport::fromCharString(env, (char *) _qcstring);
//}

//JNIEXPORT jint JNICALL
//Java_org_kde_qt_QWidget_bytesPerLine(JNIEnv *env, jobject obj)
//{
//	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_bytesPerLine();
//}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_styleChange(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_styleChange((QStyle&) *(QStyle *) QtSupport::getQt(env, arg1));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_paletteChange(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_paletteChange((QPalette&) *(QPalette *) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_fontChange(JNIEnv *env, jobject obj, jobject arg1)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_fontChange((QFont&) *(QFont *) QtSupport::getQt(env, arg1));
	return;
}

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QWidget_metric(JNIEnv *env, jobject obj, jint arg1)
{
	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_metric((int) arg1);
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QWidget_create__(JNIEnv *env, jobject obj)
{
	((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_create(0, TRUE, TRUE);
	return;
}

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

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QWidget_getWState(JNIEnv *env, jobject obj)
{
	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_getWState();
}

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

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QWidget_getWFlags(JNIEnv *env, jobject obj)
{
	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_getWFlags();
}

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_focusNextPrevChild(JNIEnv *env, jobject obj, jboolean next)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_focusNextPrevChild((bool) next);
}

//JNIEXPORT jobject JNICALL
//Java_org_kde_qt_QWidget_extraData(JNIEnv *env, jobject obj)
//{
//	return (jobject) QtSupport::objectForQtKey(env, (void *)((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_extraData(), "org.kde.qt.QWExtra");
//}

//JNIEXPORT jobject JNICALL
//Java_org_kde_qt_QWidget_topData(JNIEnv *env, jobject obj)
//{
//	return (jobject) QtSupport::objectForQtKey(env, (void *)((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_topData(), "org.kde.qt.QTLWExtra");
//}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QWidget_focusData(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_focusData(), "org.kde.qt.QFocusData");
}

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

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

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

//JNIEXPORT void JNICALL
//Java_org_kde_qt_QWidget_dirtyClippedRegion(JNIEnv *env, jobject obj, jboolean arg1)
//{
//	((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_dirtyClippedRegion((bool) arg1);
//	return;
//}

//JNIEXPORT jboolean JNICALL
//Java_org_kde_qt_QWidget_isClippedRegionDirty(JNIEnv *env, jobject obj)
//{
//	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->protected_isClippedRegionDirty();
//}

JNIEXPORT jlong JNICALL
Java_org_kde_qt_QWidget_paintDevice(JNIEnv * env, jobject obj)
{
	return (jlong) (QPaintDevice *) (QWidget *) QtSupport::getQt(env, obj);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QWidget_devType(JNIEnv *env, jobject obj)
{
	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->devType();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_isExtDev(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->isExtDev();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QWidget_paintingActive(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->paintingActive();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QWidget_handle(JNIEnv *env, jobject obj)
{
	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->handle();
}

//JNIEXPORT jint JNICALL
//Java_org_kde_qt_QWidget_x11Screen(JNIEnv *env, jobject obj)
//{
//	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->x11Screen();
//}

//JNIEXPORT jint JNICALL
//Java_org_kde_qt_QWidget_x11Depth(JNIEnv *env, jobject obj)
//{
//	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->x11Depth();
//}

//JNIEXPORT jint JNICALL
//Java_org_kde_qt_QWidget_x11Cells(JNIEnv *env, jobject obj)
//{
//	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->x11Cells();
//}

//JNIEXPORT jint JNICALL
//Java_org_kde_qt_QWidget_x11Colormap(JNIEnv *env, jobject obj)
//{
//	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->x11Colormap();
//}

//JNIEXPORT jboolean JNICALL
//Java_org_kde_qt_QWidget_x11DefaultColormap(JNIEnv *env, jobject obj)
//{
//	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->x11DefaultColormap();
//}

//JNIEXPORT jint JNICALL
//Java_org_kde_qt_QWidget_x11Visual(JNIEnv *env, jobject obj)
//{
//	return (jint) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->x11Visual();
//}

//JNIEXPORT jboolean JNICALL
//Java_org_kde_qt_QWidget_x11DefaultVisual(JNIEnv *env, jobject obj)
//{
//	return (jboolean) ((QWidgetJBridge*) QtSupport::getQt(env, obj))->x11DefaultVisual();
//}
