/***************************************************************************
                            QScrollView.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 <qscrollview.h>
#include <qstring.h>
#include <qcstring.h>

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

class QScrollViewJBridge : public QScrollView
{
public:
	QScrollViewJBridge(QWidget* parent, const char* name, WFlags f) : QScrollView(parent, name, f) {}
	~QScrollViewJBridge() {QtSupport::qtKeyDeleted(this);}
	void protected_drawContents(QPainter* arg1, int cx, int cy, int cw, int ch) {
		QScrollView::drawContents(arg1, cx, cy, cw, ch);
		return;
	}
	void protected_drawContentsOffset(QPainter* arg1, int ox, int oy, int cx, int cy, int cw, int ch) {
		QScrollView::drawContentsOffset(arg1, ox, oy, cx, cy, cw, ch);
		return;
	}
	void protected_frameChanged() {
		QScrollView::frameChanged();
		return;
	}
	void protected_setMargins(int left, int top, int right, int bottom) {
		QScrollView::setMargins(left, top, right, bottom);
		return;
	}
	int  protected_leftMargin() {
		return (int ) QScrollView::leftMargin();
	}
	int  protected_topMargin() {
		return (int ) QScrollView::topMargin();
	}
	int  protected_rightMargin() {
		return (int ) QScrollView::rightMargin();
	}
	int  protected_bottomMargin() {
		return (int ) QScrollView::bottomMargin();
	}
	bool  protected_focusNextPrevChild(bool next) {
		return (bool ) QScrollView::focusNextPrevChild(next);
	}
	void protected_setHBarGeometry(QScrollBar& hbar, int x, int y, int w, int h) {
		QScrollView::setHBarGeometry(hbar, x, y, w, h);
		return;
	}
	void protected_setVBarGeometry(QScrollBar& vbar, int x, int y, int w, int h) {
		QScrollView::setVBarGeometry(vbar, x, y, w, h);
		return;
	}
	bool  protected_eventFilter(QObject* arg1, QEvent* e) {
		return (bool ) QScrollView::eventFilter(arg1, e);
	}
	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 viewportDragMoveEvent(QDragMoveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportDragMoveEvent", arg1, "org.kde.qt.QDragMoveEvent")) {
			QScrollView::viewportDragMoveEvent(arg1);
		}
		return;
	}
	void dragMoveEvent(QDragMoveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dragMoveEvent", arg1, "org.kde.qt.QDragMoveEvent")) {
			QWidget::dragMoveEvent(arg1);
		}
		return;
	}
	void contentsWheelEvent(QWheelEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "contentsWheelEvent", arg1, "org.kde.qt.QWheelEvent")) {
			QScrollView::contentsWheelEvent(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 contentsContextMenuEvent(QContextMenuEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "contentsContextMenuEvent", arg1, "org.kde.qt.QContextMenuEvent")) {
			QScrollView::contentsContextMenuEvent(arg1);
		}
		return;
	}
	void viewportContextMenuEvent(QContextMenuEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportContextMenuEvent", arg1, "org.kde.qt.QContextMenuEvent")) {
			QScrollView::viewportContextMenuEvent(arg1);
		}
		return;
	}
	void contextMenuEvent(QContextMenuEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "contextMenuEvent", arg1, "org.kde.qt.QContextMenuEvent")) {
			QScrollView::contextMenuEvent(arg1);
		}
		return;
	}
	void viewportMousePressEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportMousePressEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::viewportMousePressEvent(arg1);
		}
		return;
	}
	void mousePressEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mousePressEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::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 viewportMouseReleaseEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportMouseReleaseEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::viewportMouseReleaseEvent(arg1);
		}
		return;
	}
	void mouseReleaseEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mouseReleaseEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::mouseReleaseEvent(arg1);
		}
		return;
	}
	void viewportMouseDoubleClickEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportMouseDoubleClickEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::viewportMouseDoubleClickEvent(arg1);
		}
		return;
	}
	void mouseDoubleClickEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mouseDoubleClickEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::mouseDoubleClickEvent(arg1);
		}
		return;
	}
	void viewportDragLeaveEvent(QDragLeaveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportDragLeaveEvent", arg1, "org.kde.qt.QDragLeaveEvent")) {
			QScrollView::viewportDragLeaveEvent(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 contentsDropEvent(QDropEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "contentsDropEvent", arg1, "org.kde.qt.QDropEvent")) {
			QScrollView::contentsDropEvent(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 contentsDragLeaveEvent(QDragLeaveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "contentsDragLeaveEvent", arg1, "org.kde.qt.QDragLeaveEvent")) {
			QScrollView::contentsDragLeaveEvent(arg1);
		}
		return;
	}
	void viewportDropEvent(QDropEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportDropEvent", arg1, "org.kde.qt.QDropEvent")) {
			QScrollView::viewportDropEvent(arg1);
		}
		return;
	}
	void dropEvent(QDropEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dropEvent", arg1, "org.kde.qt.QDropEvent")) {
			QWidget::dropEvent(arg1);
		}
		return;
	}
	void contentsMouseDoubleClickEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "contentsMouseDoubleClickEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::contentsMouseDoubleClickEvent(arg1);
		}
		return;
	}
	void viewportDragEnterEvent(QDragEnterEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportDragEnterEvent", arg1, "org.kde.qt.QDragEnterEvent")) {
			QScrollView::viewportDragEnterEvent(arg1);
		}
		return;
	}
	void dragEnterEvent(QDragEnterEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dragEnterEvent", arg1, "org.kde.qt.QDragEnterEvent")) {
			QWidget::dragEnterEvent(arg1);
		}
		return;
	}
	void viewportMouseMoveEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportMouseMoveEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::viewportMouseMoveEvent(arg1);
		}
		return;
	}
	void mouseMoveEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mouseMoveEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::mouseMoveEvent(arg1);
		}
		return;
	}
	void contentsDragMoveEvent(QDragMoveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "contentsDragMoveEvent", arg1, "org.kde.qt.QDragMoveEvent")) {
			QScrollView::contentsDragMoveEvent(arg1);
		}
		return;
	}
	void moveEvent(QMoveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "moveEvent", arg1, "org.kde.qt.QMoveEvent")) {
			QWidget::moveEvent(arg1);
		}
		return;
	}
	void contentsMouseReleaseEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "contentsMouseReleaseEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::contentsMouseReleaseEvent(arg1);
		}
		return;
	}
	void viewportWheelEvent(QWheelEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportWheelEvent", arg1, "org.kde.qt.QWheelEvent")) {
			QScrollView::viewportWheelEvent(arg1);
		}
		return;
	}
	void wheelEvent(QWheelEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "wheelEvent", arg1, "org.kde.qt.QWheelEvent")) {
			QScrollView::wheelEvent(arg1);
		}
		return;
	}
	void hideEvent(QHideEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "hideEvent", arg1, "org.kde.qt.QHideEvent")) {
			QWidget::hideEvent(arg1);
		}
		return;
	}
	void contentsDragEnterEvent(QDragEnterEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "contentsDragEnterEvent", arg1, "org.kde.qt.QDragEnterEvent")) {
			QScrollView::contentsDragEnterEvent(arg1);
		}
		return;
	}
	void contentsMouseMoveEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "contentsMouseMoveEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::contentsMouseMoveEvent(arg1);
		}
		return;
	}
	void contentsMousePressEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "contentsMousePressEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QScrollView::contentsMousePressEvent(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 viewportPaintEvent(QPaintEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportPaintEvent", arg1, "org.kde.qt.QPaintEvent")) {
			QScrollView::viewportPaintEvent(arg1);
		}
		return;
	}
	void paintEvent(QPaintEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "paintEvent", arg1, "org.kde.qt.QPaintEvent")) {
			QFrame::paintEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "timerEvent", arg1, "org.kde.qt.QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
	void viewportResizeEvent(QResizeEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "viewportResizeEvent", arg1, "org.kde.qt.QResizeEvent")) {
			QScrollView::viewportResizeEvent(arg1);
		}
		return;
	}
	void resizeEvent(QResizeEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "resizeEvent", arg1, "org.kde.qt.QResizeEvent")) {
			QScrollView::resizeEvent(arg1);
		}
		return;
	}
};


JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_newQScrollView__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 QScrollViewJBridge((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_QScrollView_newQScrollView__(JNIEnv *env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QScrollViewJBridge(0, 0, 0));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_setResizePolicy(JNIEnv *env, jobject obj, jint arg1)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->setResizePolicy((QScrollView::ResizePolicy) arg1);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QScrollView_resizePolicy(JNIEnv *env, jobject obj)
{
	return (jint) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->resizePolicy();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_styleChange(JNIEnv *env, jobject obj, jobject arg1)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->styleChange((QStyle&) *(QStyle *) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_removeChild__Lorg_kde_qt_QWidget_2(JNIEnv *env, jobject obj, jobject child)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->removeChild((QWidget*) QtSupport::getQt(env, child));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_addChild__Lorg_kde_qt_QWidget_2II(JNIEnv *env, jobject obj, jobject child, jint x, jint y)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->addChild((QWidget*) QtSupport::getQt(env, child), (int) x, (int) y);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_addChild__Lorg_kde_qt_QWidget_2(JNIEnv *env, jobject obj, jobject child)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->addChild((QWidget*) QtSupport::getQt(env, child), 0, 0);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_moveChild(JNIEnv *env, jobject obj, jobject child, jint x, jint y)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->moveChild((QWidget*) QtSupport::getQt(env, child), (int) x, (int) y);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QScrollView_childX(JNIEnv *env, jobject obj, jobject child)
{
	return (jint) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->childX((QWidget*) QtSupport::getQt(env, child));
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QScrollView_childY(JNIEnv *env, jobject obj, jobject child)
{
	return (jint) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->childY((QWidget*) QtSupport::getQt(env, child));
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QScrollView_childIsVisible(JNIEnv *env, jobject obj, jobject child)
{
	return (jboolean) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->childIsVisible((QWidget*) QtSupport::getQt(env, child));
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_showChild__Lorg_kde_qt_QWidget_2Z(JNIEnv *env, jobject obj, jobject child, jboolean yes)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->showChild((QWidget*) QtSupport::getQt(env, child), (bool) yes);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_showChild__Lorg_kde_qt_QWidget_2(JNIEnv *env, jobject obj, jobject child)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->showChild((QWidget*) QtSupport::getQt(env, child), TRUE);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QScrollView_vScrollBarMode(JNIEnv *env, jobject obj)
{
	return (jint) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->vScrollBarMode();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_setVScrollBarMode(JNIEnv *env, jobject obj, jint arg1)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->setVScrollBarMode((QScrollView::ScrollBarMode) arg1);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QScrollView_hScrollBarMode(JNIEnv *env, jobject obj)
{
	return (jint) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->hScrollBarMode();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_setHScrollBarMode(JNIEnv *env, jobject obj, jint arg1)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->setHScrollBarMode((QScrollView::ScrollBarMode) arg1);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_setCornerWidget(JNIEnv *env, jobject obj, jobject arg1)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->setCornerWidget((QWidget*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QScrollView_horizontalScrollBar(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QScrollViewJBridge*) QtSupport::getQt(env, obj))->horizontalScrollBar(), "org.kde.qt.QScrollBar");
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QScrollView_verticalScrollBar(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QScrollViewJBridge*) QtSupport::getQt(env, obj))->verticalScrollBar(), "org.kde.qt.QScrollBar");
}

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

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QScrollView_visibleWidth(JNIEnv *env, jobject obj)
{
	return (jint) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->visibleWidth();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QScrollView_visibleHeight(JNIEnv *env, jobject obj)
{
	return (jint) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->visibleHeight();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QScrollView_contentsWidth(JNIEnv *env, jobject obj)
{
	return (jint) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->contentsWidth();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QScrollView_contentsHeight(JNIEnv *env, jobject obj)
{
	return (jint) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->contentsHeight();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QScrollView_contentsX(JNIEnv *env, jobject obj)
{
	return (jint) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->contentsX();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QScrollView_contentsY(JNIEnv *env, jobject obj)
{
	return (jint) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->contentsY();
}

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

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_updateContents__Lorg_kde_qt_QRect_2(JNIEnv *env, jobject obj, jobject r)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->updateContents((QRect&) *(QRect *) QtSupport::getQt(env, r));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_updateContents__(JNIEnv *env, jobject obj)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->updateContents();
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_repaintContents__Lorg_kde_qt_QRect_2Z(JNIEnv *env, jobject obj, jobject r, jboolean erase)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->repaintContents((QRect&) *(QRect *) QtSupport::getQt(env, r), (bool) erase);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_repaintContents__Lorg_kde_qt_QRect_2(JNIEnv *env, jobject obj, jobject r)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->repaintContents((QRect&) *(QRect *) QtSupport::getQt(env, r), TRUE);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_repaintContents__Z(JNIEnv *env, jobject obj, jboolean erase)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->repaintContents((bool) erase);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_repaintContents__(JNIEnv *env, jobject obj)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->repaintContents(TRUE);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_contentsToViewport__IIII(JNIEnv *env, jobject obj, jint x, jint y, jint vx, jint vy)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->contentsToViewport((int) x, (int) y, (int&) * (int *) vx, (int&) * (int *) vy);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_viewportToContents__IIII(JNIEnv *env, jobject obj, jint vx, jint vy, jint x, jint y)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->viewportToContents((int) vx, (int) vy, (int&) * (int *) x, (int&) * (int *) y);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QScrollView_contentsToViewport__Lorg_kde_qt_QPoint_2(JNIEnv *env, jobject obj, jobject arg1)
{
	QPoint _p= ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->contentsToViewport((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_QScrollView_viewportToContents__Lorg_kde_qt_QPoint_2(JNIEnv *env, jobject obj, jobject arg1)
{
	QPoint _p= ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->viewportToContents((QPoint&) *(QPoint *) QtSupport::getQt(env, arg1));
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QPoint(_p.x(),_p.y()), "org.kde.qt.QPoint", TRUE);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_enableClipper(JNIEnv *env, jobject obj, jboolean y)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->enableClipper((bool) y);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_setStaticBackground(JNIEnv *env, jobject obj, jboolean y)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->setStaticBackground((bool) y);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QScrollView_hasStaticBackground(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->hasStaticBackground();
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QScrollView_viewportSize(JNIEnv *env, jobject obj, jint arg1, jint arg2)
{
	QSize _s= ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->viewportSize((int) arg1, (int) arg2);
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QSize(_s.width(),_s.height()), "org.kde.qt.QSize", TRUE);
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QScrollView_sizeHint(JNIEnv *env, jobject obj)
{
	QSize _s= ((QScrollViewJBridge*) 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_QScrollView_minimumSizeHint(JNIEnv *env, jobject obj)
{
	QSize _s= ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->minimumSizeHint();
	return (jobject) QtSupport::objectForQtKey(env, (void *)new QSize(_s.width(),_s.height()), "org.kde.qt.QSize", TRUE);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_removeChild__Lorg_kde_qt_QObject_2(JNIEnv *env, jobject obj, jobject child)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->removeChild((QObject*) QtSupport::getQt(env, child));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_setDragAutoScroll(JNIEnv *env, jobject obj, jboolean b)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->setDragAutoScroll((bool) b);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QScrollView_dragAutoScroll(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->dragAutoScroll();
}

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

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

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_ensureVisible__IIII(JNIEnv *env, jobject obj, jint x, jint y, jint xmargin, jint ymargin)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->ensureVisible((int) x, (int) y, (int) xmargin, (int) ymargin);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_center__IIFF(JNIEnv *env, jobject obj, jint x, jint y, jfloat xmargin, jfloat ymargin)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->center((int) x, (int) y, (float) xmargin, (float) ymargin);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_updateScrollBars(JNIEnv *env, jobject obj)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->updateScrollBars();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_setEnabled(JNIEnv *env, jobject obj, jboolean enable)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->setEnabled((bool) enable);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_drawContents(JNIEnv *env, jobject obj, jobject arg1, jint cx, jint cy, jint cw, jint ch)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((QPainter*) QtSupport::getQt(env, arg1), (int) cx, (int) cy, (int) cw, (int) ch);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_drawContentsOffset(JNIEnv *env, jobject obj, jobject arg1, jint ox, jint oy, jint cx, jint cy, jint cw, jint ch)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_drawContentsOffset((QPainter*) QtSupport::getQt(env, arg1), (int) ox, (int) oy, (int) cx, (int) cy, (int) cw, (int) ch);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_frameChanged(JNIEnv *env, jobject obj)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_frameChanged();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_setMargins(JNIEnv *env, jobject obj, jint left, jint top, jint right, jint bottom)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_setMargins((int) left, (int) top, (int) right, (int) bottom);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QScrollView_leftMargin(JNIEnv *env, jobject obj)
{
	return (jint) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_leftMargin();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QScrollView_topMargin(JNIEnv *env, jobject obj)
{
	return (jint) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_topMargin();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QScrollView_rightMargin(JNIEnv *env, jobject obj)
{
	return (jint) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_rightMargin();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QScrollView_bottomMargin(JNIEnv *env, jobject obj)
{
	return (jint) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_bottomMargin();
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_setHBarGeometry(JNIEnv *env, jobject obj, jobject hbar, jint x, jint y, jint w, jint h)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_setHBarGeometry((QScrollBar&) *(QScrollBar *) QtSupport::getQt(env, hbar), (int) x, (int) y, (int) w, (int) h);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QScrollView_setVBarGeometry(JNIEnv *env, jobject obj, jobject vbar, jint x, jint y, jint w, jint h)
{
	((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_setVBarGeometry((QScrollBar&) *(QScrollBar *) QtSupport::getQt(env, vbar), (int) x, (int) y, (int) w, (int) h);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QScrollView_eventFilter(JNIEnv *env, jobject obj, jobject arg1, jobject e)
{
	return (jboolean) ((QScrollViewJBridge*) QtSupport::getQt(env, obj))->protected_eventFilter((QObject*) QtSupport::getQt(env, arg1), (QEvent*) QtSupport::getQt(env, e));
}

