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

import org.trinitydesktop.qt.TQt;

/**
 See {@link TQLineEditSignals} for signals emitted by TQLineEdit
*/
public class TQLineEdit extends TQFrame  {
	protected TQLineEdit(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 TQMetaObject metaObject();
	public native String className();
	public TQLineEdit(TQWidget parent, String name) {
		super((Class) null);
		newTQLineEdit(parent,name);
	}
	private native void newTQLineEdit(TQWidget parent, String name);
	public TQLineEdit(TQWidget parent) {
		super((Class) null);
		newTQLineEdit(parent);
	}
	private native void newTQLineEdit(TQWidget parent);
	public TQLineEdit(String arg1, TQWidget parent, String name) {
		super((Class) null);
		newTQLineEdit(arg1,parent,name);
	}
	private native void newTQLineEdit(String arg1, TQWidget parent, String name);
	public TQLineEdit(String arg1, TQWidget parent) {
		super((Class) null);
		newTQLineEdit(arg1,parent);
	}
	private native void newTQLineEdit(String arg1, TQWidget parent);
	public TQLineEdit(String arg1, String arg2, TQWidget parent, String name) {
		super((Class) null);
		newTQLineEdit(arg1,arg2,parent,name);
	}
	private native void newTQLineEdit(String arg1, String arg2, TQWidget parent, String name);
	public TQLineEdit(String arg1, String arg2, TQWidget parent) {
		super((Class) null);
		newTQLineEdit(arg1,arg2,parent);
	}
	private native void newTQLineEdit(String arg1, String arg2, TQWidget 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 TQValidator validator();
	public native TQSize sizeHint();
	public native TQSize minimumSizeHint();
	public native int cursorPosition();
	public native boolean validateAndSet(String arg1, int arg2, int arg3, int arg4);
	public native int alignment();
	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 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(TQValidator arg1);
	public native void setFont(TQFont arg1);
	public native void setPalette(TQPalette 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(TQEvent arg1);
	protected native void mousePressEvent(TQMouseEvent arg1);
	protected native void mouseMoveEvent(TQMouseEvent arg1);
	protected native void mouseReleaseEvent(TQMouseEvent arg1);
	protected native void mouseDoubleClickEvent(TQMouseEvent arg1);
	protected native void keyPressEvent(TQKeyEvent arg1);
	protected native void imStartEvent(TQIMEvent arg1);
	protected native void imComposeEvent(TQIMEvent arg1);
	protected native void imEndEvent(TQIMEvent arg1);
	protected native void focusInEvent(TQFocusEvent arg1);
	protected native void focusOutEvent(TQFocusEvent arg1);
	protected native void resizeEvent(TQResizeEvent arg1);
	protected native void drawContents(TQPainter arg1);
	protected native void dragEnterEvent(TQDragEnterEvent arg1);
	protected native void dragMoveEvent(TQDragMoveEvent e);
	protected native void dragLeaveEvent(TQDragLeaveEvent e);
	protected native void dropEvent(TQDropEvent arg1);
	protected native void contextMenuEvent(TQContextMenuEvent arg1);
	protected native TQPopupMenu createPopupMenu();
	protected native void windowActivationChange(boolean arg1);
	/** 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();
}
