//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;

/**
 See {@link QLineEditSignals} for signals emitted by QLineEdit
*/
public class QLineEdit extends QFrame  {
	protected QLineEdit(Class dummy){super((Class) null);}
	public static final int Normal = 0;
	public static final int NoEcho = 1;
	public static final int Password = 2;

	public native QMetaObject metaObject();
	public native String className();
	public QLineEdit(QWidget parent, String name) {
		super((Class) null);
		newQLineEdit(parent,name);
	}
	private native void newQLineEdit(QWidget parent, String name);
	public QLineEdit(QWidget parent) {
		super((Class) null);
		newQLineEdit(parent);
	}
	private native void newQLineEdit(QWidget parent);
	public QLineEdit(String arg1, QWidget parent, String name) {
		super((Class) null);
		newQLineEdit(arg1,parent,name);
	}
	private native void newQLineEdit(String arg1, QWidget parent, String name);
	public QLineEdit(String arg1, QWidget parent) {
		super((Class) null);
		newQLineEdit(arg1,parent);
	}
	private native void newQLineEdit(String arg1, QWidget parent);
	public QLineEdit(String arg1, String arg2, QWidget parent, String name) {
		super((Class) null);
		newQLineEdit(arg1,arg2,parent,name);
	}
	private native void newQLineEdit(String arg1, String arg2, QWidget parent, String name);
	public QLineEdit(String arg1, String arg2, QWidget parent) {
		super((Class) null);
		newQLineEdit(arg1,arg2,parent);
	}
	private native void newQLineEdit(String arg1, String arg2, QWidget parent);
	public native String text();
	public native String displayText();
	public native int maxLength();
	public native boolean frame();
	public native int echoMode();
	public native boolean isReadOnly();
	public native QValidator validator();
	public native QSize sizeHint();
	public native QSize minimumSizeHint();
	public native int cursorPosition();
	public native boolean validateAndSet(String arg1, int arg2, int arg3, int arg4);
	public native int alignment();
	public native void cursorLeft(boolean mark, int steps);
	public native void cursorLeft(boolean mark);
	public native void cursorRight(boolean mark, int steps);
	public native void cursorRight(boolean mark);
	public native void cursorForward(boolean mark, int steps);
	public native void cursorForward(boolean mark);
	public native void cursorBackward(boolean mark, int steps);
	public native void cursorBackward(boolean mark);
	public native void cursorWordForward(boolean mark);
	public native void cursorWordBackward(boolean mark);
	public native void backspace();
	public native void del();
	public native void home(boolean mark);
	public native void end(boolean mark);
	public native boolean isModified();
	public native void clearModified();
	public native boolean edited();
	public native void setEdited(boolean arg1);
	public native boolean hasSelectedText();
	public native String selectedText();
	public native int selectionStart();
	public native boolean isUndoAvailable();
	public native boolean isRedoAvailable();
	public native boolean hasMarkedText();
	public native String markedText();
	public native boolean dragEnabled();
	public native String inputMask();
	public native void setInputMask(String inputMask);
	public native boolean hasAcceptableInput();
	public native int characterAt(int arg1, char arg2);
	public native boolean getSelection(int[] arg1, int[] arg2);
	public native void setText(String arg1);
	public native void selectAll();
	public native void deselect();
	public native void clearValidator();
	public native void insert(String arg1);
	public native void clear();
	public native void undo();
	public native void redo();
	public native void setMaxLength(int arg1);
	public native void setFrame(boolean arg1);
	public native void setEchoMode(int arg1);
	public native void setReadOnly(boolean arg1);
	public native void setValidator(QValidator arg1);
	public native void setFont(QFont arg1);
	public native void setPalette(QPalette arg1);
	public native void setSelection(int arg1, int arg2);
	public native void setCursorPosition(int arg1);
	public native void setAlignment(int flag);
	public native void cut();
	public native void copy();
	public native void paste();
	public native void setDragEnabled(boolean b);
	public static native String tr(String arg1, String arg2);
	public static native String tr(String arg1);
	public native boolean event(QEvent arg1);
	protected native void mousePressEvent(QMouseEvent arg1);
	protected native void mouseMoveEvent(QMouseEvent arg1);
	protected native void mouseReleaseEvent(QMouseEvent arg1);
	protected native void mouseDoubleClickEvent(QMouseEvent arg1);
	protected native void keyPressEvent(QKeyEvent arg1);
	protected native void imStartEvent(QIMEvent arg1);
	protected native void imComposeEvent(QIMEvent arg1);
	protected native void imEndEvent(QIMEvent arg1);
	protected native void focusInEvent(QFocusEvent arg1);
	protected native void focusOutEvent(QFocusEvent arg1);
	protected native void resizeEvent(QResizeEvent arg1);
	protected native void drawContents(QPainter arg1);
	protected native void dragEnterEvent(QDragEnterEvent arg1);
	protected native void dragMoveEvent(QDragMoveEvent e);
	protected native void dragLeaveEvent(QDragLeaveEvent e);
	protected native void dropEvent(QDropEvent arg1);
	protected native void contextMenuEvent(QContextMenuEvent arg1);
	protected native QPopupMenu createPopupMenu();
	protected native void windowActivationChange(boolean arg1);
	protected native void repaintArea(int arg1, int arg2);
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}
