diff options
author | Timothy Pearson <[email protected]> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtjava/javalib/org/kde/qt/QLineEdit.java | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QLineEdit.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QLineEdit.java | 94 |
1 files changed, 47 insertions, 47 deletions
diff --git a/qtjava/javalib/org/kde/qt/QLineEdit.java b/qtjava/javalib/org/kde/qt/QLineEdit.java index f33f08c4..a3c555f3 100644 --- a/qtjava/javalib/org/kde/qt/QLineEdit.java +++ b/qtjava/javalib/org/kde/qt/QLineEdit.java @@ -4,55 +4,55 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QLineEditSignals} for signals emitted by QLineEdit + See {@link TQLineEditSignals} for signals emitted by TQLineEdit */ -public class QLineEdit extends QFrame { - protected QLineEdit(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QLineEdit(QWidget parent, String name) { + public TQLineEdit(TQWidget parent, String name) { super((Class) null); - newQLineEdit(parent,name); + newTQLineEdit(parent,name); } - private native void newQLineEdit(QWidget parent, String name); - public QLineEdit(QWidget parent) { + private native void newTQLineEdit(TQWidget parent, String name); + public TQLineEdit(TQWidget parent) { super((Class) null); - newQLineEdit(parent); + newTQLineEdit(parent); } - private native void newQLineEdit(QWidget parent); - public QLineEdit(String arg1, QWidget parent, String name) { + private native void newTQLineEdit(TQWidget parent); + public TQLineEdit(String arg1, TQWidget parent, String name) { super((Class) null); - newQLineEdit(arg1,parent,name); + newTQLineEdit(arg1,parent,name); } - private native void newQLineEdit(String arg1, QWidget parent, String name); - public QLineEdit(String arg1, QWidget parent) { + private native void newTQLineEdit(String arg1, TQWidget parent, String name); + public TQLineEdit(String arg1, TQWidget parent) { super((Class) null); - newQLineEdit(arg1,parent); + newTQLineEdit(arg1,parent); } - private native void newQLineEdit(String arg1, QWidget parent); - public QLineEdit(String arg1, String arg2, QWidget parent, String name) { + private native void newTQLineEdit(String arg1, TQWidget parent); + public TQLineEdit(String arg1, String arg2, TQWidget parent, String name) { super((Class) null); - newQLineEdit(arg1,arg2,parent,name); + newTQLineEdit(arg1,arg2,parent,name); } - private native void newQLineEdit(String arg1, String arg2, QWidget parent, String name); - public QLineEdit(String arg1, String arg2, QWidget parent) { + private native void newTQLineEdit(String arg1, String arg2, TQWidget parent, String name); + public TQLineEdit(String arg1, String arg2, TQWidget parent) { super((Class) null); - newQLineEdit(arg1,arg2,parent); + newTQLineEdit(arg1,arg2,parent); } - private native void newQLineEdit(String arg1, String arg2, QWidget 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 QValidator validator(); - public native QSize sizeHint(); - public native QSize minimumSizeHint(); + 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(); @@ -99,9 +99,9 @@ public class QLineEdit extends QFrame { 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 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); @@ -111,25 +111,25 @@ public class QLineEdit extends QFrame { 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(); + 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 */ |