/***************************************************************************
                            KLineEdit.cpp -  description
                             -------------------
    begin                : Sun Jan 27 16:22:17 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Jan 27 16:22:17 2002, 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 <klineedit.h>
#include <qstring.h>
#include <qcstring.h>

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KLineEdit.h>

class KLineEditJBridge : public KLineEdit
{
public:
	KLineEditJBridge(const QString& string, QWidget* parent, const char* name) : KLineEdit(string, parent, name) {}
	KLineEditJBridge(QWidget* parent, const char* name) : KLineEdit(parent, name) {}
	~KLineEditJBridge() {QtSupport::qtKeyDeleted(this);}
	void protected_keyPressEvent(QKeyEvent* arg1) {
		KLineEdit::keyPressEvent(arg1);
		return;
	}
	void protected_mousePressEvent(QMouseEvent* arg1) {
		KLineEdit::mousePressEvent(arg1);
		return;
	}
	void protected_mouseDoubleClickEvent(QMouseEvent* arg1) {
		KLineEdit::mouseDoubleClickEvent(arg1);
		return;
	}
	 QPopupMenu * protected_createPopupMenu() {
		return ( QPopupMenu *) KLineEdit::createPopupMenu();
	}
	void protected_dropEvent(QDropEvent* arg1) {
		KLineEdit::dropEvent(arg1);
		return;
	}
	void protected_setCompletedText(const QString& arg1, bool arg2) {
		KLineEdit::setCompletedText(arg1, arg2);
		return;
	}
	void protected_create(WId arg1, bool initializeWindow, bool destroyOldWindow) {
		KLineEdit::create(arg1, initializeWindow, destroyOldWindow);
		return;
	}
	void protected_makeCompletion(const QString& arg1) {
		KLineEdit::makeCompletion(arg1);
		return;
	}
	void protected_slotAboutToShow() {
		KLineEdit::slotAboutToShow();
		return;
	}
	void protected_slotCancelled() {
		KLineEdit::slotCancelled();
		return;
	}
	void keyPressEvent(QKeyEvent* arg1) {
		if (! QtSupport::eventDelegate(this, "keyPressEvent", arg1, "org.kde.qt.QKeyEvent")) {
			KLineEdit::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")) {
			KLineEdit::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")) {
			KLineEdit::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")) {
			KLineEdit::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_koala_KLineEdit_newKLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring string, jobject parent, jstring name)
{
static QCString * _qstring_name = 0;
static QString * _qstring_string = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KLineEditJBridge((QString&) * (QString *) QtSupport::toQString(env, string, &_qstring_string), (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_koala_KLineEdit_newKLineEdit__Ljava_lang_String_2Lorg_kde_qt_QWidget_2(JNIEnv *env, jobject obj, jstring string, jobject parent)
{
static QString * _qstring_string = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KLineEditJBridge((QString&) * (QString *) QtSupport::toQString(env, string, &_qstring_string), (QWidget*) QtSupport::getQt(env, parent), 0));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_dispose(JNIEnv *env, jobject obj)
{
	Java_org_kde_koala_KLineEdit_finalize(env, obj);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_setURL(JNIEnv *env, jobject obj, jobject url)
{
	((KLineEdit*) QtSupport::getQt(env, obj))->setURL((KURL&) *(KURL *) QtSupport::getQt(env, url));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_cursorAtEnd(JNIEnv *env, jobject obj)
{
	((KLineEdit*) QtSupport::getQt(env, obj))->cursorAtEnd();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_setCompletionMode(JNIEnv *env, jobject obj, jint mode)
{
	((KLineEdit*) QtSupport::getQt(env, obj))->setCompletionMode((KGlobalSettings::Completion) mode);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_setContextMenuEnabled(JNIEnv *env, jobject obj, jboolean showMenu)
{
	((KLineEdit*) QtSupport::getQt(env, obj))->setContextMenuEnabled((bool) showMenu);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KLineEdit_isContextMenuEnabled(JNIEnv *env, jobject obj)
{
	return (jboolean) ((KLineEdit*) QtSupport::getQt(env, obj))->isContextMenuEnabled();
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_setURLDropsEnabled(JNIEnv *env, jobject obj, jboolean enable)
{
	((KLineEdit*) QtSupport::getQt(env, obj))->setURLDropsEnabled((bool) enable);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KLineEdit_isURLDropsEnabled(JNIEnv *env, jobject obj)
{
	return (jboolean) ((KLineEdit*) QtSupport::getQt(env, obj))->isURLDropsEnabled();
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_setTrapReturnKey(JNIEnv *env, jobject obj, jboolean trap)
{
	((KLineEdit*) QtSupport::getQt(env, obj))->setTrapReturnKey((bool) trap);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KLineEdit_trapReturnKey(JNIEnv *env, jobject obj)
{
	return (jboolean) ((KLineEdit*) QtSupport::getQt(env, obj))->trapReturnKey();
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KLineEdit_completionBox__Z(JNIEnv *env, jobject obj, jboolean create)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((KLineEdit*) QtSupport::getQt(env, obj))->completionBox((bool) create), "org.kde.koala.KCompletionBox");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KLineEdit_completionBox__(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((KLineEdit*) QtSupport::getQt(env, obj))->completionBox(true), "org.kde.koala.KCompletionBox");
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_setCompletionObject__Lorg_kde_koala_KCompletion_2Z(JNIEnv *env, jobject obj, jobject arg1, jboolean hsig)
{
	((KLineEdit*) QtSupport::getQt(env, obj))->setCompletionObject((KCompletion*) QtSupport::getQt(env, arg1), (bool) hsig);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_setCompletionObject__Lorg_kde_koala_KCompletion_2(JNIEnv *env, jobject obj, jobject arg1)
{
	((KLineEdit*) QtSupport::getQt(env, obj))->setCompletionObject((KCompletion*) QtSupport::getQt(env, arg1), true);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_rotateText(JNIEnv *env, jobject obj, jint arg1)
{
	((KLineEdit*) QtSupport::getQt(env, obj))->rotateText((KCompletionBase::KeyBindingType) arg1);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_setCompletedItems(JNIEnv *env, jobject obj, jobjectArray items)
{
static QStringList * _qlist_items = 0;
	((KLineEdit*) QtSupport::getQt(env, obj))->setCompletedItems((QStringList&) * (QStringList *) QtSupport::toQStringList(env, items, &_qlist_items));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_keyPressEvent(JNIEnv *env, jobject obj, jobject arg1)
{
	((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_keyPressEvent((QKeyEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_mousePressEvent(JNIEnv *env, jobject obj, jobject arg1)
{
	((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mousePressEvent((QMouseEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_mouseDoubleClickEvent(JNIEnv *env, jobject obj, jobject arg1)
{
	((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_mouseDoubleClickEvent((QMouseEvent*) QtSupport::getQt(env, arg1));
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_dropEvent(JNIEnv *env, jobject obj, jobject arg1)
{
	((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_dropEvent((QDropEvent*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_setCompletedText__Ljava_lang_String_2Z(JNIEnv *env, jobject obj, jstring arg1, jboolean arg2)
{
static QString * _qstring_arg1 = 0;
	((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_setCompletedText((QString&) * (QString *) QtSupport::toQString(env, arg1, &_qstring_arg1), (bool) arg2);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_create__(JNIEnv *env, jobject obj)
{
	((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_create(0, true, true);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_slotAboutToShow(JNIEnv *env, jobject obj)
{
	((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_slotAboutToShow();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_slotCancelled(JNIEnv *env, jobject obj)
{
	((KLineEditJBridge*) QtSupport::getQt(env, obj))->protected_slotCancelled();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KLineEdit_completionObject__Z(JNIEnv *env, jobject obj, jboolean hsig)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((KLineEdit*) QtSupport::getQt(env, obj))->completionObject((bool) hsig), "org.kde.koala.KCompletion");
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KLineEdit_completionObject__(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((KLineEdit*) QtSupport::getQt(env, obj))->completionObject(true), "org.kde.koala.KCompletion");
}

//JNIEXPORT jobject JNICALL
//Java_org_kde_koala_KLineEdit_completionObject__ZZ(JNIEnv *env, jobject obj, jboolean create, jboolean hsig)
//{
//	return (jobject) QtSupport::objectForQtKey(env, (void *)((KLineEdit*) QtSupport::getQt(env, obj))->completionObject((bool) create, (bool) hsig), "org.kde.koala.KCompletion");
//}

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_setHandleSignals(JNIEnv *env, jobject obj, jboolean arg1)
{
	((KLineEdit*) QtSupport::getQt(env, obj))->setHandleSignals((bool) arg1);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KLineEdit_isCompletionObjectAutoDeleted(JNIEnv *env, jobject obj)
{
	return (jboolean) ((KLineEdit*) QtSupport::getQt(env, obj))->isCompletionObjectAutoDeleted();
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_setAutoDeleteCompletionObject(JNIEnv *env, jobject obj, jboolean autoDelete)
{
	((KLineEdit*) QtSupport::getQt(env, obj))->setAutoDeleteCompletionObject((bool) autoDelete);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_setEnableSignals(JNIEnv *env, jobject obj, jboolean enable)
{
	((KLineEdit*) QtSupport::getQt(env, obj))->setEnableSignals((bool) enable);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KLineEdit_handleSignals(JNIEnv *env, jobject obj)
{
	return (jboolean) ((KLineEdit*) QtSupport::getQt(env, obj))->handleSignals();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KLineEdit_emitSignals(JNIEnv *env, jobject obj)
{
	return (jboolean) ((KLineEdit*) QtSupport::getQt(env, obj))->emitSignals();
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KLineEdit_completionMode(JNIEnv *env, jobject obj)
{
	return (jint) ((KLineEdit*) QtSupport::getQt(env, obj))->completionMode();
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KLineEdit_setKeyBinding__II(JNIEnv *env, jobject obj, jint arg1, jint key)
{
	return (jboolean) ((KLineEdit*) QtSupport::getQt(env, obj))->setKeyBinding((KLineEdit::KeyBindingType) arg1, (int) key);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KLineEdit_setKeyBinding__I(JNIEnv *env, jobject obj, jint arg1)
{
	return (jboolean) ((KLineEdit*) QtSupport::getQt(env, obj))->setKeyBinding((KLineEdit::KeyBindingType) arg1, 0);
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KLineEdit_getKeyBinding(JNIEnv *env, jobject obj, jlong item)
{
	return (jint) ((KLineEdit*) QtSupport::getQt(env, obj))->getKeyBinding((KLineEdit::KeyBindingType) item);
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KLineEdit_useGlobalKeyBindings(JNIEnv *env, jobject obj)
{
	((KLineEdit*) QtSupport::getQt(env, obj))->useGlobalKeyBindings();
	return;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KLineEdit_compObj(JNIEnv *env, jobject obj)
{
	return (jobject) QtSupport::objectForQtKey(env, (void *)((KLineEdit*) QtSupport::getQt(env, obj))->compObj(), "org.kde.koala.KCompletion");
}


