From 9ba04742771370f59740e32e11c5f3a1e6a1b70a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 15:55:57 -0600 Subject: Initial TQt conversion --- qtjava/javalib/org/kde/qt/QComboBox.java | 100 +++++++++++++++---------------- 1 file changed, 50 insertions(+), 50 deletions(-) (limited to 'qtjava/javalib/org/kde/qt/QComboBox.java') diff --git a/qtjava/javalib/org/kde/qt/QComboBox.java b/qtjava/javalib/org/kde/qt/QComboBox.java index 92f0eeb4..8055993d 100644 --- a/qtjava/javalib/org/kde/qt/QComboBox.java +++ b/qtjava/javalib/org/kde/qt/QComboBox.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QComboBoxSignals} for signals emitted by QComboBox + See {@link TQComboBoxSignals} for signals emitted by TQComboBox */ -public class QComboBox extends QWidget { - protected QComboBox(Class dummy){super((Class) null);} +public class TQComboBox extends TQWidget { + protected TQComboBox(Class dummy){super((Class) null);} public static final int NoInsertion = 0; public static final int AtTop = 1; public static final int AtCurrent = 2; @@ -15,38 +15,38 @@ public class QComboBox extends QWidget { public static final int AfterCurrent = 4; public static final int BeforeCurrent = 5; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QComboBox(QWidget parent, String name) { + public TQComboBox(TQWidget parent, String name) { super((Class) null); - newQComboBox(parent,name); + newTQComboBox(parent,name); } - private native void newQComboBox(QWidget parent, String name); - public QComboBox(QWidget parent) { + private native void newTQComboBox(TQWidget parent, String name); + public TQComboBox(TQWidget parent) { super((Class) null); - newQComboBox(parent); + newTQComboBox(parent); } - private native void newQComboBox(QWidget parent); - public QComboBox() { + private native void newTQComboBox(TQWidget parent); + public TQComboBox() { super((Class) null); - newQComboBox(); + newTQComboBox(); } - private native void newQComboBox(); - public QComboBox(boolean rw, QWidget parent, String name) { + private native void newTQComboBox(); + public TQComboBox(boolean rw, TQWidget parent, String name) { super((Class) null); - newQComboBox(rw,parent,name); + newTQComboBox(rw,parent,name); } - private native void newQComboBox(boolean rw, QWidget parent, String name); - public QComboBox(boolean rw, QWidget parent) { + private native void newTQComboBox(boolean rw, TQWidget parent, String name); + public TQComboBox(boolean rw, TQWidget parent) { super((Class) null); - newQComboBox(rw,parent); + newTQComboBox(rw,parent); } - private native void newQComboBox(boolean rw, QWidget parent); - public QComboBox(boolean rw) { + private native void newTQComboBox(boolean rw, TQWidget parent); + public TQComboBox(boolean rw) { super((Class) null); - newQComboBox(rw); + newTQComboBox(rw); } - private native void newQComboBox(boolean rw); + private native void newTQComboBox(boolean rw); public native int count(); public native void insertStringList(String[] arg1, int index); public native void insertStringList(String[] arg1); @@ -55,25 +55,25 @@ public class QComboBox extends QWidget { public native void insertStrList(String[] arg1, int numStrings, int index); public native void insertItem(String text, int index); public native void insertItem(String text); - public native void insertItem(QPixmap pixmap, int index); - public native void insertItem(QPixmap pixmap); - public native void insertItem(QPixmap pixmap, String text, int index); - public native void insertItem(QPixmap pixmap, String text); + public native void insertItem(TQPixmap pixmap, int index); + public native void insertItem(TQPixmap pixmap); + public native void insertItem(TQPixmap pixmap, String text, int index); + public native void insertItem(TQPixmap pixmap, String text); public native void removeItem(int index); public native int currentItem(); public native void setCurrentItem(int index); public native String currentText(); public native void setCurrentText(String arg1); public native String text(int index); - public native QPixmap pixmap(int index); + public native TQPixmap pixmap(int index); public native void changeItem(String text, int index); - public native void changeItem(QPixmap pixmap, int index); - public native void changeItem(QPixmap pixmap, String text, int index); + public native void changeItem(TQPixmap pixmap, int index); + public native void changeItem(TQPixmap pixmap, String text, int index); public native boolean autoResize(); public native void setAutoResize(boolean arg1); - public native QSize sizeHint(); - public native void setPalette(QPalette arg1); - public native void setFont(QFont arg1); + public native TQSize sizeHint(); + public native void setPalette(TQPalette arg1); + public native void setFont(TQFont arg1); public native void setEnabled(boolean arg1); public native void setSizeLimit(int arg1); public native int sizeLimit(); @@ -81,15 +81,15 @@ public class QComboBox extends QWidget { public native int maxCount(); public native void setInsertionPolicy(int policy); public native int insertionPolicy(); - public native void setValidator(QValidator arg1); - public native QValidator validator(); - public native void setListBox(QListBox arg1); - public native QListBox listBox(); - public native void setLineEdit(QLineEdit edit); - public native QLineEdit lineEdit(); + public native void setValidator(TQValidator arg1); + public native TQValidator validator(); + public native void setListBox(TQListBox arg1); + public native TQListBox listBox(); + public native void setLineEdit(TQLineEdit edit); + public native TQLineEdit lineEdit(); public native void setAutoCompletion(boolean arg1); public native boolean autoCompletion(); - public native boolean eventFilter(QObject object, QEvent event); + public native boolean eventFilter(TQObject object, TQEvent event); public native void setDuplicatesEnabled(boolean enable); public native boolean duplicatesEnabled(); public native boolean editable(); @@ -102,17 +102,17 @@ public class QComboBox extends QWidget { public native void setEditText(String arg1); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - protected native void paintEvent(QPaintEvent arg1); - protected native void resizeEvent(QResizeEvent 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 e); - protected native void focusInEvent(QFocusEvent e); - protected native void focusOutEvent(QFocusEvent e); - protected native void wheelEvent(QWheelEvent e); - public native void styleChange(QStyle arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void resizeEvent(TQResizeEvent 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 e); + protected native void focusInEvent(TQFocusEvent e); + protected native void focusOutEvent(TQFocusEvent e); + protected native void wheelEvent(TQWheelEvent e); + public native void styleChange(TQStyle arg1); protected native void updateMask(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; -- cgit v1.2.3