diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QComboBox.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QComboBox.java | 123 |
1 files changed, 123 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QComboBox.java b/qtjava/javalib/org/kde/qt/QComboBox.java new file mode 100644 index 00000000..92f0eeb4 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/QComboBox.java @@ -0,0 +1,123 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link QComboBoxSignals} for signals emitted by QComboBox +*/ +public class QComboBox extends QWidget { + protected QComboBox(Class dummy){super((Class) null);} + public static final int NoInsertion = 0; + public static final int AtTop = 1; + public static final int AtCurrent = 2; + public static final int AtBottom = 3; + public static final int AfterCurrent = 4; + public static final int BeforeCurrent = 5; + + public native QMetaObject metaObject(); + public native String className(); + public QComboBox(QWidget parent, String name) { + super((Class) null); + newQComboBox(parent,name); + } + private native void newQComboBox(QWidget parent, String name); + public QComboBox(QWidget parent) { + super((Class) null); + newQComboBox(parent); + } + private native void newQComboBox(QWidget parent); + public QComboBox() { + super((Class) null); + newQComboBox(); + } + private native void newQComboBox(); + public QComboBox(boolean rw, QWidget parent, String name) { + super((Class) null); + newQComboBox(rw,parent,name); + } + private native void newQComboBox(boolean rw, QWidget parent, String name); + public QComboBox(boolean rw, QWidget parent) { + super((Class) null); + newQComboBox(rw,parent); + } + private native void newQComboBox(boolean rw, QWidget parent); + public QComboBox(boolean rw) { + super((Class) null); + newQComboBox(rw); + } + private native void newQComboBox(boolean rw); + public native int count(); + public native void insertStringList(String[] arg1, int index); + public native void insertStringList(String[] arg1); + public native void insertStrList(String[] arg1, int index); + public native void insertStrList(String[] arg1); + 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 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 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 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 void setEnabled(boolean arg1); + public native void setSizeLimit(int arg1); + public native int sizeLimit(); + public native void setMaxCount(int arg1); + 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 setAutoCompletion(boolean arg1); + public native boolean autoCompletion(); + public native boolean eventFilter(QObject object, QEvent event); + public native void setDuplicatesEnabled(boolean enable); + public native boolean duplicatesEnabled(); + public native boolean editable(); + public native void setEditable(boolean arg1); + public native void popup(); + public native void hide(); + public native void clear(); + public native void clearValidator(); + public native void clearEdit(); + 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 updateMask(); + /** 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(); +} |