summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QLineEdit.java
blob: a3c555f3beabb01ebe30fbea248df5fd206ea26c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;

/**
 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 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(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);
	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();
}