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

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

class QLineEditJBridge : public QLineEdit
{
public:
	QLineEditJBridge(QWidget* parent, const char* name) : QLineEdit(parent, name) {}
	QLineEditJBridge(const QString& arg1, QWidget* parent, const char* name) : QLineEdit(arg1, parent, name) {}
	~QLineEditJBridge() {QtSupport::qtKeyDeleted(this);}
	bool  protected_event(QEvent* arg1) {
		return (bool ) QLineEdit::event(arg1);
	}
	void protected_drawContents(QPainter* painter) {
		QLineEdit::drawContents(painter);
		return;
	}
	void protected_repaintArea(int arg1, int arg2) {
		QLineEdit::repaintArea(arg1, arg2);
		return;
	}
	 QPopupMenu * protected_createPopupMenu() {
		return ( QPopupMenu *) QLineEdit::createPopupMenu();
	}
	void protected_windowActivationChange(bool arg1) {
		QLineEdit::windowActivationChange(arg1);
		return;
	}
	void keyPressEvent(QKeyEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "keyPressEvent", arg1, "org.kde.qt.QKeyEvent")) {
			QLineEdit::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")) {
			QLineEdit::focusOutEvent(arg1);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "childEvent", arg1, "org.kde.qt.QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void dragMoveEvent(QDragMoveEvent* e) {
		if (! QtSupport::eventDelegate(this, "dragMoveEvent", e, "org.kde.qt.QDragMoveEvent")) {
			QLineEdit::dragMoveEvent(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 contextMenuEvent(QContextMenuEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "contextMenuEvent", arg1, "org.kde.qt.QContextMenuEvent")) {
			QLineEdit::contextMenuEvent(arg1);
		}
		return;
	}
	void mousePressEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mousePressEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QLineEdit::mousePressEvent(arg1);
		}
		return;
	}
	void imComposeEvent(QIMEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "imComposeEvent", arg1, "org.kde.qt.QIMEvent")) {
			QLineEdit::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")) {
			QLineEdit::mouseReleaseEvent(arg1);
		}
		return;
	}
	void mouseDoubleClickEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mouseDoubleClickEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QLineEdit::mouseDoubleClickEvent(arg1);
		}
		return;
	}
	void dragLeaveEvent(QDragLeaveEvent* e) {
		if (! QtSupport::eventDelegate(this, "dragLeaveEvent", e, "org.kde.qt.QDragLeaveEvent")) {
			QLineEdit::dragLeaveEvent(e);
		}
		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")) {
			QLineEdit::focusInEvent(arg1);
		}
		return;
	}
	void imEndEvent(QIMEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "imEndEvent", arg1, "org.kde.qt.QIMEvent")) {
			QLineEdit::imEndEvent(arg1);
		}
		return;
	}
	void dropEvent(QDropEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dropEvent", arg1, "org.kde.qt.QDropEvent")) {
			QLineEdit::dropEvent(arg1);
		}
		return;
	}
	void dragEnterEvent(QDragEnterEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "dragEnterEvent", arg1, "org.kde.qt.QDragEnterEvent")) {
			QLineEdit::dragEnterEvent(arg1);
		}
		return;
	}
	void mouseMoveEvent(QMouseEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "mouseMoveEvent", arg1, "org.kde.qt.QMouseEvent")) {
			QLineEdit::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")) {
			QLineEdit::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")) {
			QFrame::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")) {
			QLineEdit::resizeEvent(arg1);
		}
		return;
	}
};


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

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_newQLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring arg1, jobject parent, jstring name)
{
static QCString * _qstring_name = 0;
static QString * _qstring_arg1 = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QLineEditJBridge((QString&) * (QString *) QtSupport::toQString(env, arg1, &_qstring_arg1), (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_QLineEdit_newQLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv *env, jobject obj, jstring arg1, jobject parent)
{
static QString * _qstring_arg1 = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QLineEditJBridge((QString&) * (QString *) QtSupport::toQString(env, arg1, &_qstring_arg1), (QWidget*) QtSupport::getQt(env, parent), 0));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

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

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QLineEdit_maxLength(JNIEnv *env, jobject obj)
{
	return (jint) ((QLineEditJBridge*) QtSupport::getQt(env, obj))->maxLength();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QLineEdit_frame(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QLineEditJBridge*) QtSupport::getQt(env, obj))->frame();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QLineEdit_echoMode(JNIEnv *env, jobject obj)
{
	return (jint) ((QLineEditJBridge*) QtSupport::getQt(env, obj))->echoMode();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QLineEdit_isReadOnly(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QLineEditJBridge*) QtSupport::getQt(env, obj))->isReadOnly();
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QLineEdit_validator(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QLineEditJBridge*) QtSupport::getQt(env, obj))->validator(), "org.kde.qt.QValidator");
}

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QLineEdit_cursorPosition(JNIEnv *env, jobject obj)
{
	return (jint) ((QLineEditJBridge*) QtSupport::getQt(env, obj))->cursorPosition();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QLineEdit_validateAndSet(JNIEnv *env, jobject obj, jstring arg1, jint arg2, jint arg3, jint arg4)
{
static QString * _qstring_arg1 = 0;
	return (jboolean) ((QLineEditJBridge*) QtSupport::getQt(env, obj))->validateAndSet((QString&) * (QString *) QtSupport::toQString(env, arg1, &_qstring_arg1), (int) arg2, (int) arg3, (int) arg4);
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_cursorLeft__ZI(JNIEnv *env, jobject obj, jboolean mark, jint steps)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->cursorLeft((bool) mark, (int) steps);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_cursorLeft__Z(JNIEnv *env, jobject obj, jboolean mark)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->cursorLeft((bool) mark, 1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_cursorRight__ZI(JNIEnv *env, jobject obj, jboolean mark, jint steps)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->cursorRight((bool) mark, (int) steps);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_cursorRight__Z(JNIEnv *env, jobject obj, jboolean mark)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->cursorRight((bool) mark, 1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_cursorForward__ZI(JNIEnv *env, jobject obj, jboolean mark, jint steps)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->cursorForward((bool) mark, (int) steps);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_cursorForward__Z(JNIEnv *env, jobject obj, jboolean mark)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->cursorForward((bool) mark, 1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_cursorBackward__ZI(JNIEnv *env, jobject obj, jboolean mark, jint steps)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->cursorBackward((bool) mark, (int) steps);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_cursorBackward__Z(JNIEnv *env, jobject obj, jboolean mark)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->cursorBackward((bool) mark, 1);
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_backspace(JNIEnv *env, jobject obj)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->backspace();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_del(JNIEnv *env, jobject obj)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->del();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_home(JNIEnv *env, jobject obj, jboolean mark)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->home((bool) mark);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_end(JNIEnv *env, jobject obj, jboolean mark)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->end((bool) mark);
	return;
}

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QLineEdit_hasSelectedText(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QLineEditJBridge*) QtSupport::getQt(env, obj))->hasSelectedText();
}

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QLineEdit_getSelection(JNIEnv *env, jobject obj, jintArray start, jintArray end)
{
	return (jboolean) ((QLineEditJBridge*) QtSupport::getQt(env, obj))->getSelection( (int*) QtSupport::toIntPtr(env, start),  (int*) QtSupport::toIntPtr(env, end));
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QLineEdit_isUndoAvailable(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QLineEditJBridge*) QtSupport::getQt(env, obj))->isUndoAvailable();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QLineEdit_isRedoAvailable(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QLineEditJBridge*) QtSupport::getQt(env, obj))->isRedoAvailable();
}

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

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

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QLineEdit_dragEnabled(JNIEnv *env, jobject obj)
{
	return (jboolean) ((QLineEditJBridge*) QtSupport::getQt(env, obj))->dragEnabled();
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QLineEdit_characterAt(JNIEnv *env, jobject obj, jint xpos, jchar chr)
{
static QChar * _qchar_chr = 0;
	return (jint) ((QLineEditJBridge*) QtSupport::getQt(env, obj))->characterAt((int) xpos, (QChar*) QtSupport::toQChar(env, chr, &_qchar_chr));
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_selectAll(JNIEnv *env, jobject obj)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->selectAll();
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_clearValidator(JNIEnv *env, jobject obj)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->clearValidator();
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_clear(JNIEnv *env, jobject obj)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->clear();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_undo(JNIEnv *env, jobject obj)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->undo();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_redo(JNIEnv *env, jobject obj)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->redo();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_setMaxLength(JNIEnv *env, jobject obj, jint arg1)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->setMaxLength((int) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_setFrame(JNIEnv *env, jobject obj, jboolean arg1)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->setFrame((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_setEchoMode(JNIEnv *env, jobject obj, jint arg1)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->setEchoMode((QLineEdit::EchoMode) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_setReadOnly(JNIEnv *env, jobject obj, jboolean arg1)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->setReadOnly((bool) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_setValidator(JNIEnv *env, jobject obj, jobject arg1)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->setValidator((QValidator*) QtSupport::getQt(env, arg1));
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_setSelection(JNIEnv *env, jobject obj, jint arg1, jint arg2)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->setSelection((int) arg1, (int) arg2);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_setCursorPosition(JNIEnv *env, jobject obj, jint arg1)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->setCursorPosition((int) arg1);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_setAlignment(JNIEnv *env, jobject obj, jint flag)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->setAlignment((int) flag);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_cut(JNIEnv *env, jobject obj)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->cut();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_copy(JNIEnv *env, jobject obj)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->copy();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_paste(JNIEnv *env, jobject obj)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->paste();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_setDragEnabled(JNIEnv *env, jobject obj, jboolean b)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->setDragEnabled((bool) b);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_drawContents(JNIEnv *env, jobject obj, jobject painter)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_drawContents((QPainter*) QtSupport::getQt(env, painter));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_repaintArea(JNIEnv *env, jobject obj, jint arg1, jint arg2)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_repaintArea((int) arg1, (int) arg2);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QLineEdit_createPopupMenu(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_createPopupMenu(), "org.kde.qt.QPopupMenu");
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QLineEdit_windowActivationChange(JNIEnv *env, jobject obj, jboolean arg1)
{
	((QLineEditJBridge*) QtSupport::getQt(env, obj))->protected_windowActivationChange((bool) arg1);
	return;
}

