/***************************************************************************
                            qt_QLineEdit.cpp -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, using kalyptus 0.9.
 ***************************************************************************/

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

extern "C" {
#include "qt_QLineEdit.h"
}

#include <qlineedit.h>

class QLineEditBridge : public QLineEdit
{
public:
	QLineEditBridge(QWidget* parent, const char* name) : QLineEdit(parent, name) {}
	QLineEditBridge(const QString& arg1, QWidget* parent, const char* name) : QLineEdit(arg1, parent, name) {}
	~QLineEditBridge() {}
	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 (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "keyPressEvent", arg1, "QKeyEvent")) {
			QLineEdit::keyPressEvent(arg1);
		}
		return;
	}
	void keyReleaseEvent(QKeyEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "keyReleaseEvent", arg1, "QKeyEvent")) {
			QWidget::keyReleaseEvent(arg1);
		}
		return;
	}
	void focusOutEvent(QFocusEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "focusOutEvent", arg1, "QFocusEvent")) {
			QLineEdit::focusOutEvent(arg1);
		}
		return;
	}
	void childEvent(QChildEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "childEvent", arg1, "QChildEvent")) {
			QObject::childEvent(arg1);
		}
		return;
	}
	void dragMoveEvent(QDragMoveEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dragMoveEvent", e, "QDragMoveEvent")) {
			QLineEdit::dragMoveEvent(e);
		}
		return;
	}
	void leaveEvent(QEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "leaveEvent", arg1, "QEvent")) {
			QWidget::leaveEvent(arg1);
		}
		return;
	}
	void tabletEvent(QTabletEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "tabletEvent", arg1, "QTabletEvent")) {
			QWidget::tabletEvent(arg1);
		}
		return;
	}
	void showEvent(QShowEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "showEvent", arg1, "QShowEvent")) {
			QWidget::showEvent(arg1);
		}
		return;
	}
	void contextMenuEvent(QContextMenuEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "contextMenuEvent", arg1, "QContextMenuEvent")) {
			QLineEdit::contextMenuEvent(arg1);
		}
		return;
	}
	void mousePressEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mousePressEvent", arg1, "QMouseEvent")) {
			QLineEdit::mousePressEvent(arg1);
		}
		return;
	}
	void imComposeEvent(QIMEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "imComposeEvent", arg1, "QIMEvent")) {
			QLineEdit::imComposeEvent(arg1);
		}
		return;
	}
	void customEvent(QCustomEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "customEvent", arg1, "QCustomEvent")) {
			QObject::customEvent(arg1);
		}
		return;
	}
	void mouseReleaseEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mouseReleaseEvent", arg1, "QMouseEvent")) {
			QLineEdit::mouseReleaseEvent(arg1);
		}
		return;
	}
	void mouseDoubleClickEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mouseDoubleClickEvent", arg1, "QMouseEvent")) {
			QLineEdit::mouseDoubleClickEvent(arg1);
		}
		return;
	}
	void dragLeaveEvent(QDragLeaveEvent* e) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dragLeaveEvent", e, "QDragLeaveEvent")) {
			QLineEdit::dragLeaveEvent(e);
		}
		return;
	}
	void enterEvent(QEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "enterEvent", arg1, "QEvent")) {
			QWidget::enterEvent(arg1);
		}
		return;
	}
	void focusInEvent(QFocusEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "focusInEvent", arg1, "QFocusEvent")) {
			QLineEdit::focusInEvent(arg1);
		}
		return;
	}
	void imEndEvent(QIMEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "imEndEvent", arg1, "QIMEvent")) {
			QLineEdit::imEndEvent(arg1);
		}
		return;
	}
	void dropEvent(QDropEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dropEvent", arg1, "QDropEvent")) {
			QLineEdit::dropEvent(arg1);
		}
		return;
	}
	void dragEnterEvent(QDragEnterEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "dragEnterEvent", arg1, "QDragEnterEvent")) {
			QLineEdit::dragEnterEvent(arg1);
		}
		return;
	}
	void mouseMoveEvent(QMouseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "mouseMoveEvent", arg1, "QMouseEvent")) {
			QLineEdit::mouseMoveEvent(arg1);
		}
		return;
	}
	void moveEvent(QMoveEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "moveEvent", arg1, "QMoveEvent")) {
			QWidget::moveEvent(arg1);
		}
		return;
	}
	void wheelEvent(QWheelEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "wheelEvent", arg1, "QWheelEvent")) {
			QWidget::wheelEvent(arg1);
		}
		return;
	}
	void hideEvent(QHideEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "hideEvent", arg1, "QHideEvent")) {
			QWidget::hideEvent(arg1);
		}
		return;
	}
	void imStartEvent(QIMEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "imStartEvent", arg1, "QIMEvent")) {
			QLineEdit::imStartEvent(arg1);
		}
		return;
	}
	void closeEvent(QCloseEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "closeEvent", arg1, "QCloseEvent")) {
			QWidget::closeEvent(arg1);
		}
		return;
	}
	void paintEvent(QPaintEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "paintEvent", arg1, "QPaintEvent")) {
			QFrame::paintEvent(arg1);
		}
		return;
	}
	void timerEvent(QTimerEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "timerEvent", arg1, "QTimerEvent")) {
			QObject::timerEvent(arg1);
		}
		return;
	}
	void resizeEvent(QResizeEvent* arg1) {
		if (Qt_EventDelegate == 0L || !(*Qt_EventDelegate)(this, "resizeEvent", arg1, "QResizeEvent")) {
			QLineEdit::resizeEvent(arg1);
		}
		return;
	}
};

qt_QLineEdit * qt_new_QLineEdit(qt_QWidget * parent, char* name){
	return (qt_QLineEdit *) new QLineEditBridge((QWidget*)parent, (char*)name);
}
qt_QLineEdit * qt_new_QLineEdit1(qt_QString * arg1, qt_QWidget * parent, char* name){
	return (qt_QLineEdit *) new QLineEditBridge((QString&)* (QString*)arg1, (QWidget*)parent, (char*)name);
}
void qt_del_QLineEdit( qt_QLineEdit* p ){
	delete (QLineEditBridge*) p;
}
qt_QString * qt_QLineEdit_text( qt_QLineEdit* instPointer){
	return (qt_QString *)new QString(((QLineEditBridge*)instPointer)->text());
}
qt_QString * qt_QLineEdit_displayText( qt_QLineEdit* instPointer){
	return (qt_QString *)new QString(((QLineEditBridge*)instPointer)->displayText());
}
int qt_QLineEdit_maxLength( qt_QLineEdit* instPointer){
	return (int) ((QLineEditBridge*)instPointer)->maxLength();
}
int qt_QLineEdit_frame( qt_QLineEdit* instPointer){
	return (int) ((QLineEditBridge*)instPointer)->frame();
}
int qt_QLineEdit_echoMode( qt_QLineEdit* instPointer){
	return (int) ((QLineEditBridge*)instPointer)->echoMode();
}
int qt_QLineEdit_isReadOnly( qt_QLineEdit* instPointer){
	return (int) ((QLineEditBridge*)instPointer)->isReadOnly();
}
qt_QValidator * qt_QLineEdit_validator( qt_QLineEdit* instPointer){
	return (qt_QValidator *) ((QLineEditBridge*)instPointer)->validator();
}
qt_QSize * qt_QLineEdit_sizeHint( qt_QLineEdit* instPointer){
	QSize _s= ((QLineEditBridge*)instPointer)->sizeHint();
	return (qt_QSize *)new QSize(_s.width(),_s.height());
}
qt_QSize * qt_QLineEdit_minimumSizeHint( qt_QLineEdit* instPointer){
	QSize _s= ((QLineEditBridge*)instPointer)->minimumSizeHint();
	return (qt_QSize *)new QSize(_s.width(),_s.height());
}
int qt_QLineEdit_cursorPosition( qt_QLineEdit* instPointer){
	return (int) ((QLineEditBridge*)instPointer)->cursorPosition();
}
int qt_QLineEdit_validateAndSet( qt_QLineEdit* instPointer,qt_QString * arg1, int arg2, int arg3, int arg4){
	return (int) ((QLineEditBridge*)instPointer)->validateAndSet((QString&)* (QString*)arg1, (int)arg2, (int)arg3, (int)arg4);
}
int qt_QLineEdit_alignment( qt_QLineEdit* instPointer){
	return (int) ((QLineEditBridge*)instPointer)->alignment();
}
void qt_QLineEdit_cursorLeft( qt_QLineEdit* instPointer,int mark, int steps){
	((QLineEditBridge*)instPointer)->cursorLeft((bool)mark, (int)steps);
	return;
}
void qt_QLineEdit_cursorRight( qt_QLineEdit* instPointer,int mark, int steps){
	((QLineEditBridge*)instPointer)->cursorRight((bool)mark, (int)steps);
	return;
}
void qt_QLineEdit_cursorForward( qt_QLineEdit* instPointer,int mark, int steps){
	((QLineEditBridge*)instPointer)->cursorForward((bool)mark, (int)steps);
	return;
}
void qt_QLineEdit_cursorBackward( qt_QLineEdit* instPointer,int mark, int steps){
	((QLineEditBridge*)instPointer)->cursorBackward((bool)mark, (int)steps);
	return;
}
void qt_QLineEdit_cursorWordForward( qt_QLineEdit* instPointer,int mark){
	((QLineEditBridge*)instPointer)->cursorWordForward((bool)mark);
	return;
}
void qt_QLineEdit_cursorWordBackward( qt_QLineEdit* instPointer,int mark){
	((QLineEditBridge*)instPointer)->cursorWordBackward((bool)mark);
	return;
}
void qt_QLineEdit_backspace( qt_QLineEdit* instPointer){
	((QLineEditBridge*)instPointer)->backspace();
	return;
}
void qt_QLineEdit_del( qt_QLineEdit* instPointer){
	((QLineEditBridge*)instPointer)->del();
	return;
}
void qt_QLineEdit_home( qt_QLineEdit* instPointer,int mark){
	((QLineEditBridge*)instPointer)->home((bool)mark);
	return;
}
void qt_QLineEdit_end( qt_QLineEdit* instPointer,int mark){
	((QLineEditBridge*)instPointer)->end((bool)mark);
	return;
}
void qt_QLineEdit_setEdited( qt_QLineEdit* instPointer,int arg1){
	((QLineEditBridge*)instPointer)->setEdited((bool)arg1);
	return;
}
int qt_QLineEdit_edited( qt_QLineEdit* instPointer){
	return (int) ((QLineEditBridge*)instPointer)->edited();
}
int qt_QLineEdit_hasSelectedText( qt_QLineEdit* instPointer){
	return (int) ((QLineEditBridge*)instPointer)->hasSelectedText();
}
qt_QString * qt_QLineEdit_selectedText( qt_QLineEdit* instPointer){
	return (qt_QString *)new QString(((QLineEditBridge*)instPointer)->selectedText());
}
int qt_QLineEdit_getSelection( qt_QLineEdit* instPointer,int* start, int* end){
	return (int) ((QLineEditBridge*)instPointer)->getSelection((int*)start, (int*)end);
}
int qt_QLineEdit_isUndoAvailable( qt_QLineEdit* instPointer){
	return (int) ((QLineEditBridge*)instPointer)->isUndoAvailable();
}
int qt_QLineEdit_isRedoAvailable( qt_QLineEdit* instPointer){
	return (int) ((QLineEditBridge*)instPointer)->isRedoAvailable();
}
int qt_QLineEdit_hasMarkedText( qt_QLineEdit* instPointer){
	return (int) ((QLineEditBridge*)instPointer)->hasMarkedText();
}
qt_QString * qt_QLineEdit_markedText( qt_QLineEdit* instPointer){
	return (qt_QString *)new QString(((QLineEditBridge*)instPointer)->markedText());
}
int qt_QLineEdit_dragEnabled( qt_QLineEdit* instPointer){
	return (int) ((QLineEditBridge*)instPointer)->dragEnabled();
}
int qt_QLineEdit_characterAt( qt_QLineEdit* instPointer,int xpos, qt_QChar* chr){
	return (int) ((QLineEditBridge*)instPointer)->characterAt((int)xpos, (QChar*)chr);
}
void qt_QLineEdit_setText( qt_QLineEdit* instPointer,qt_QString * arg1){
	((QLineEditBridge*)instPointer)->setText((QString&)* (QString*)arg1);
	return;
}
void qt_QLineEdit_selectAll( qt_QLineEdit* instPointer){
	((QLineEditBridge*)instPointer)->selectAll();
	return;
}
void qt_QLineEdit_deselect( qt_QLineEdit* instPointer){
	((QLineEditBridge*)instPointer)->deselect();
	return;
}
void qt_QLineEdit_clearValidator( qt_QLineEdit* instPointer){
	((QLineEditBridge*)instPointer)->clearValidator();
	return;
}
void qt_QLineEdit_insert( qt_QLineEdit* instPointer,qt_QString * arg1){
	((QLineEditBridge*)instPointer)->insert((QString&)* (QString*)arg1);
	return;
}
void qt_QLineEdit_clear( qt_QLineEdit* instPointer){
	((QLineEditBridge*)instPointer)->clear();
	return;
}
void qt_QLineEdit_undo( qt_QLineEdit* instPointer){
	((QLineEditBridge*)instPointer)->undo();
	return;
}
void qt_QLineEdit_redo( qt_QLineEdit* instPointer){
	((QLineEditBridge*)instPointer)->redo();
	return;
}
void qt_QLineEdit_setMaxLength( qt_QLineEdit* instPointer,int arg1){
	((QLineEditBridge*)instPointer)->setMaxLength((int)arg1);
	return;
}
void qt_QLineEdit_setFrame( qt_QLineEdit* instPointer,int arg1){
	((QLineEditBridge*)instPointer)->setFrame((bool)arg1);
	return;
}
void qt_QLineEdit_setEchoMode( qt_QLineEdit* instPointer,int arg1){
	((QLineEditBridge*)instPointer)->setEchoMode((QLineEdit::EchoMode)arg1);
	return;
}
void qt_QLineEdit_setReadOnly( qt_QLineEdit* instPointer,int arg1){
	((QLineEditBridge*)instPointer)->setReadOnly((bool)arg1);
	return;
}
void qt_QLineEdit_setValidator( qt_QLineEdit* instPointer,qt_QValidator * arg1){
	((QLineEditBridge*)instPointer)->setValidator((QValidator*)arg1);
	return;
}
void qt_QLineEdit_setFont( qt_QLineEdit* instPointer,qt_QFont * arg1){
	((QLineEditBridge*)instPointer)->setFont((QFont&)* (QFont*)arg1);
	return;
}
void qt_QLineEdit_setPalette( qt_QLineEdit* instPointer,qt_QPalette * arg1){
	((QLineEditBridge*)instPointer)->setPalette((QPalette&)* (QPalette*)arg1);
	return;
}
void qt_QLineEdit_setSelection( qt_QLineEdit* instPointer,int arg1, int arg2){
	((QLineEditBridge*)instPointer)->setSelection((int)arg1, (int)arg2);
	return;
}
void qt_QLineEdit_setCursorPosition( qt_QLineEdit* instPointer,int arg1){
	((QLineEditBridge*)instPointer)->setCursorPosition((int)arg1);
	return;
}
void qt_QLineEdit_setAlignment( qt_QLineEdit* instPointer,int flag){
	((QLineEditBridge*)instPointer)->setAlignment((int)flag);
	return;
}
void qt_QLineEdit_cut( qt_QLineEdit* instPointer){
	((QLineEditBridge*)instPointer)->cut();
	return;
}
void qt_QLineEdit_copy( qt_QLineEdit* instPointer){
	((QLineEditBridge*)instPointer)->copy();
	return;
}
void qt_QLineEdit_paste( qt_QLineEdit* instPointer){
	((QLineEditBridge*)instPointer)->paste();
	return;
}
void qt_QLineEdit_setDragEnabled( qt_QLineEdit* instPointer,int b){
	((QLineEditBridge*)instPointer)->setDragEnabled((bool)b);
	return;
}
int qt_QLineEdit_event( qt_QLineEdit* instPointer,qt_QEvent * arg1){
	return (int) ((QLineEditBridge*)instPointer)->protected_event((QEvent*)arg1);
}
void qt_QLineEdit_drawContents( qt_QLineEdit* instPointer,qt_QPainter * painter){
	((QLineEditBridge*)instPointer)->protected_drawContents((QPainter*)painter);
	return;
}
void qt_QLineEdit_repaintArea( qt_QLineEdit* instPointer,int arg1, int arg2){
	((QLineEditBridge*)instPointer)->protected_repaintArea((int)arg1, (int)arg2);
	return;
}
qt_QPopupMenu* qt_QLineEdit_createPopupMenu( qt_QLineEdit* instPointer){
	return (qt_QPopupMenu*) ((QLineEditBridge*)instPointer)->protected_createPopupMenu();
}
void qt_QLineEdit_windowActivationChange( qt_QLineEdit* instPointer,int arg1){
	((QLineEditBridge*)instPointer)->protected_windowActivationChange((bool)arg1);
	return;
}
