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

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

class QMultiLineEditJBridge : public QMultiLineEdit
{
public:
	QMultiLineEditJBridge(QWidget* parent, const char* name) : QMultiLineEdit(parent, name) {}
	~QMultiLineEditJBridge() {QtSupport::qtKeyDeleted(this);}
	QPoint  protected_cursorPoint() {
		return (QPoint ) QMultiLineEdit::cursorPoint();
	}
	void protected_insertAndMark(const QString& arg1, bool mark) {
		QMultiLineEdit::insertAndMark(arg1, mark);
		return;
	}
	void protected_newLine() {
		QMultiLineEdit::newLine();
		return;
	}
	void protected_killLine() {
		QMultiLineEdit::killLine();
		return;
	}
	void protected_pageUp(bool mark) {
		QMultiLineEdit::pageUp(mark);
		return;
	}
	void protected_pageDown(bool mark) {
		QMultiLineEdit::pageDown(mark);
		return;
	}
	void protected_cursorLeft(bool mark, bool wrap) {
		QMultiLineEdit::cursorLeft(mark, wrap);
		return;
	}
	void protected_cursorRight(bool mark, bool wrap) {
		QMultiLineEdit::cursorRight(mark, wrap);
		return;
	}
	void protected_cursorUp(bool mark) {
		QMultiLineEdit::cursorUp(mark);
		return;
	}
	void protected_cursorDown(bool mark) {
		QMultiLineEdit::cursorDown(mark);
		return;
	}
	void protected_backspace() {
		QMultiLineEdit::backspace();
		return;
	}
	void protected_home(bool mark) {
		QMultiLineEdit::home(mark);
		return;
	}
	void protected_end(bool mark) {
		QMultiLineEdit::end(mark);
		return;
	}
	bool  protected_getMarkedRegion(int* line1, int* col1, int* line2, int* col2) {
		return (bool ) QMultiLineEdit::getMarkedRegion(line1, col1, line2, col2);
	}
	int  protected_lineLength(int row) {
		return (int ) QMultiLineEdit::lineLength(row);
	}
	void keyPressEvent(QKeyEvent* e) {
		if (! QtSupport::eventDelegate(this, "keyPressEvent", e, "org.kde.qt.QKeyEvent")) {
			QTextEdit::keyPressEvent(e);
		}
		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* e) {
		if (! QtSupport::eventDelegate(this, "contentsWheelEvent", e, "org.kde.qt.QWheelEvent")) {
			QTextEdit::contentsWheelEvent(e);
		}
		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* e) {
		if (! QtSupport::eventDelegate(this, "contentsContextMenuEvent", e, "org.kde.qt.QContextMenuEvent")) {
			QTextEdit::contentsContextMenuEvent(e);
		}
		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")) {
			QTextEdit::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* e) {
		if (! QtSupport::eventDelegate(this, "contentsDropEvent", e, "org.kde.qt.QDropEvent")) {
			QTextEdit::contentsDropEvent(e);
		}
		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")) {
			QTextEdit::imEndEvent(arg1);
		}
		return;
	}
	void contentsDragLeaveEvent(QDragLeaveEvent* e) {
		if (! QtSupport::eventDelegate(this, "contentsDragLeaveEvent", e, "org.kde.qt.QDragLeaveEvent")) {
			QTextEdit::contentsDragLeaveEvent(e);
		}
		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* e) {
		if (! QtSupport::eventDelegate(this, "contentsMouseDoubleClickEvent", e, "org.kde.qt.QMouseEvent")) {
			QTextEdit::contentsMouseDoubleClickEvent(e);
		}
		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* e) {
		if (! QtSupport::eventDelegate(this, "contentsDragMoveEvent", e, "org.kde.qt.QDragMoveEvent")) {
			QTextEdit::contentsDragMoveEvent(e);
		}
		return;
	}
	void moveEvent(QMoveEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "moveEvent", arg1, "org.kde.qt.QMoveEvent")) {
			QWidget::moveEvent(arg1);
		}
		return;
	}
	void contentsMouseReleaseEvent(QMouseEvent* e) {
		if (! QtSupport::eventDelegate(this, "contentsMouseReleaseEvent", e, "org.kde.qt.QMouseEvent")) {
			QTextEdit::contentsMouseReleaseEvent(e);
		}
		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* e) {
		if (! QtSupport::eventDelegate(this, "contentsDragEnterEvent", e, "org.kde.qt.QDragEnterEvent")) {
			QTextEdit::contentsDragEnterEvent(e);
		}
		return;
	}
	void contentsMouseMoveEvent(QMouseEvent* e) {
		if (! QtSupport::eventDelegate(this, "contentsMouseMoveEvent", e, "org.kde.qt.QMouseEvent")) {
			QTextEdit::contentsMouseMoveEvent(e);
		}
		return;
	}
	void contentsMousePressEvent(QMouseEvent* e) {
		if (! QtSupport::eventDelegate(this, "contentsMousePressEvent", e, "org.kde.qt.QMouseEvent")) {
			QTextEdit::contentsMousePressEvent(e);
		}
		return;
	}
	void imStartEvent(QIMEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "imStartEvent", arg1, "org.kde.qt.QIMEvent")) {
			QTextEdit::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")) {
			QTextEdit::viewportResizeEvent(arg1);
		}
		return;
	}
	void resizeEvent(QResizeEvent* e) {
		if (! QtSupport::eventDelegate(this, "resizeEvent", e, "org.kde.qt.QResizeEvent")) {
			QTextEdit::resizeEvent(e);
		}
		return;
	}
};


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

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

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

JNIEXPORT jstring JNICALL
Java_org_kde_qt_QMultiLineEdit_textLine(JNIEnv *env, jobject obj, jint line)
{
	QString  _qstring;
	_qstring = ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->textLine((int) line);
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMultiLineEdit_numLines(JNIEnv *env, jobject obj)
{
	return (jint) ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->numLines();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_insertLine__Ljava_lang_String_2I(JNIEnv *env, jobject obj, jstring s, jint line)
{
static QString * _qstring_s = 0;
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->insertLine((QString&) * (QString *) QtSupport::toQString(env, s, &_qstring_s), (int) line);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_insertLine__Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring s)
{
static QString * _qstring_s = 0;
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->insertLine((QString&) * (QString *) QtSupport::toQString(env, s, &_qstring_s), -1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_insertAt__Ljava_lang_String_2IIZ(JNIEnv *env, jobject obj, jstring s, jint line, jint col, jboolean mark)
{
static QString * _qstring_s = 0;
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->insertAt((QString&) * (QString *) QtSupport::toQString(env, s, &_qstring_s), (int) line, (int) col, (bool) mark);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_insertAt__Ljava_lang_String_2II(JNIEnv *env, jobject obj, jstring s, jint line, jint col)
{
static QString * _qstring_s = 0;
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->insertAt((QString&) * (QString *) QtSupport::toQString(env, s, &_qstring_s), (int) line, (int) col, FALSE);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_removeLine(JNIEnv *env, jobject obj, jint line)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->removeLine((int) line);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_setCursorPosition__IIZ(JNIEnv *env, jobject obj, jint line, jint col, jboolean mark)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->setCursorPosition((int) line, (int) col, (bool) mark);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_setCursorPosition__II(JNIEnv *env, jobject obj, jint line, jint col)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->setCursorPosition((int) line, (int) col, FALSE);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMultiLineEdit_atBeginning(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->atBeginning();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMultiLineEdit_atEnd(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->atEnd();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_setAlignment(JNIEnv *env, jobject obj, jint flags)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->setAlignment((int) flags);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMultiLineEdit_alignment(JNIEnv *env, jobject obj)
{
	return (jint) ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->alignment();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_setEdited(JNIEnv *env, jobject obj, jboolean arg1)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->setEdited((bool) arg1);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMultiLineEdit_edited(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->edited();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMultiLineEdit_hasMarkedText(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->hasMarkedText();
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_cursorWordForward(JNIEnv *env, jobject obj, jboolean mark)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->cursorWordForward((bool) mark);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_cursorWordBackward(JNIEnv *env, jobject obj, jboolean mark)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->cursorWordBackward((bool) mark);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMultiLineEdit_autoUpdate(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->autoUpdate();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_setAutoUpdate(JNIEnv *env, jobject obj, jboolean arg1)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->setAutoUpdate((bool) arg1);
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMultiLineEdit_totalWidth(JNIEnv *env, jobject obj)
{
	return (jint) ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->totalWidth();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMultiLineEdit_totalHeight(JNIEnv *env, jobject obj)
{
	return (jint) ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->totalHeight();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMultiLineEdit_maxLines(JNIEnv *env, jobject obj)
{
	return (jint) ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->maxLines();
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_setMaxLines(JNIEnv *env, jobject obj, jint arg1)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->setMaxLines((int) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_deselect(JNIEnv *env, jobject obj)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->deselect();
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_insertAndMark(JNIEnv *env, jobject obj, jstring arg1, jboolean mark)
{
static QString * _qstring_arg1 = 0;
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_insertAndMark((QString&) * (QString *) QtSupport::toQString(env, arg1, &_qstring_arg1), (bool) mark);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_newLine(JNIEnv *env, jobject obj)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_newLine();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_killLine(JNIEnv *env, jobject obj)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_killLine();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_pageUp__Z(JNIEnv *env, jobject obj, jboolean mark)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_pageUp((bool) mark);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_pageUp__(JNIEnv *env, jobject obj)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_pageUp(FALSE);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_pageDown__Z(JNIEnv *env, jobject obj, jboolean mark)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_pageDown((bool) mark);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_pageDown__(JNIEnv *env, jobject obj)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_pageDown(FALSE);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_cursorLeft__ZZ(JNIEnv *env, jobject obj, jboolean mark, jboolean wrap)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorLeft((bool) mark, (bool) wrap);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_cursorLeft__(JNIEnv *env, jobject obj)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorLeft(FALSE, TRUE);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_cursorRight__ZZ(JNIEnv *env, jobject obj, jboolean mark, jboolean wrap)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorRight((bool) mark, (bool) wrap);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_cursorRight__(JNIEnv *env, jobject obj)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorRight(FALSE, TRUE);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_cursorUp__Z(JNIEnv *env, jobject obj, jboolean mark)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorUp((bool) mark);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_cursorUp__(JNIEnv *env, jobject obj)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorUp(FALSE);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_cursorDown__Z(JNIEnv *env, jobject obj, jboolean mark)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorDown((bool) mark);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_cursorDown__(JNIEnv *env, jobject obj)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_cursorDown(FALSE);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_backspace(JNIEnv *env, jobject obj)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_backspace();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_home__Z(JNIEnv *env, jobject obj, jboolean mark)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_home((bool) mark);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_home__(JNIEnv *env, jobject obj)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_home(FALSE);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_end__Z(JNIEnv *env, jobject obj, jboolean mark)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_end((bool) mark);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QMultiLineEdit_end__(JNIEnv *env, jobject obj)
{
	((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_end(FALSE);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMultiLineEdit_getMarkedRegion(JNIEnv *env, jobject obj, jintArray line1, jintArray col1, jintArray line2, jintArray col2)
{
	return (jboolean) ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_getMarkedRegion( (int*) QtSupport::toIntPtr(env, line1),  (int*) QtSupport::toIntPtr(env, col1),  (int*) QtSupport::toIntPtr(env, line2),  (int*) QtSupport::toIntPtr(env, col2));
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QMultiLineEdit_lineLength(JNIEnv *env, jobject obj, jint row)
{
	return (jint) ((QMultiLineEditJBridge*) QtSupport::getQt(env, obj))->protected_lineLength((int) row);
}

