summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QListBox.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QListBox.java')
-rw-r--r--qtjava/javalib/org/kde/qt/QListBox.java116
1 files changed, 58 insertions, 58 deletions
diff --git a/qtjava/javalib/org/kde/qt/QListBox.java b/qtjava/javalib/org/kde/qt/QListBox.java
index 61150d92..c4cbc23e 100644
--- a/qtjava/javalib/org/kde/qt/QListBox.java
+++ b/qtjava/javalib/org/kde/qt/QListBox.java
@@ -4,10 +4,10 @@ package org.kde.qt;
import org.kde.qt.Qt;
/**
- See {@link QListBoxSignals} for signals emitted by QListBox
+ See {@link TQListBoxSignals} for signals emitted by TQListBox
*/
-public class QListBox extends QScrollView {
- protected QListBox(Class dummy){super((Class) null);}
+public class TQListBox extends TQScrollView {
+ protected TQListBox(Class dummy){super((Class) null);}
public static final int Single = 0;
public static final int Multi = 1;
public static final int Extended = 2;
@@ -18,57 +18,57 @@ public class QListBox extends QScrollView {
public static final int FitToHeight = FitToWidth;
public static final int Variable = 2;
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
- public QListBox(QWidget parent, String name, int f) {
+ public TQListBox(TQWidget parent, String name, int f) {
super((Class) null);
- newQListBox(parent,name,f);
+ newTQListBox(parent,name,f);
}
- private native void newQListBox(QWidget parent, String name, int f);
- public QListBox(QWidget parent, String name) {
+ private native void newTQListBox(TQWidget parent, String name, int f);
+ public TQListBox(TQWidget parent, String name) {
super((Class) null);
- newQListBox(parent,name);
+ newTQListBox(parent,name);
}
- private native void newQListBox(QWidget parent, String name);
- public QListBox(QWidget parent) {
+ private native void newTQListBox(TQWidget parent, String name);
+ public TQListBox(TQWidget parent) {
super((Class) null);
- newQListBox(parent);
+ newTQListBox(parent);
}
- private native void newQListBox(QWidget parent);
- public QListBox() {
+ private native void newTQListBox(TQWidget parent);
+ public TQListBox() {
super((Class) null);
- newQListBox();
+ newTQListBox();
}
- private native void newQListBox();
- public native void setFont(QFont arg1);
+ private native void newTQListBox();
+ public native void setFont(TQFont arg1);
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(QListBoxItem arg1, int index);
- public native void insertItem(QListBoxItem arg1);
- public native void insertItem(QListBoxItem arg1, QListBoxItem after);
+ public native void insertItem(TQListBoxItem arg1, int index);
+ public native void insertItem(TQListBoxItem arg1);
+ public native void insertItem(TQListBoxItem arg1, TQListBoxItem after);
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 String text(int index);
- public native QPixmap pixmap(int index);
- public native void changeItem(QListBoxItem arg1, int index);
+ public native TQPixmap pixmap(int index);
+ public native void changeItem(TQListBoxItem arg1, 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 takeItem(QListBoxItem arg1);
+ public native void changeItem(TQPixmap pixmap, int index);
+ public native void changeItem(TQPixmap pixmap, String text, int index);
+ public native void takeItem(TQListBoxItem arg1);
public native int numItemsVisible();
public native int currentItem();
public native String currentText();
public native void setCurrentItem(int index);
- public native void setCurrentItem(QListBoxItem arg1);
+ public native void setCurrentItem(TQListBoxItem arg1);
public native void centerCurrentItem();
public native int topItem();
public native void setTopItem(int index);
@@ -78,20 +78,20 @@ public class QListBox extends QScrollView {
public native int selectionMode();
public native void setMultiSelection(boolean multi);
public native boolean isMultiSelection();
- public native void setSelected(QListBoxItem arg1, boolean arg2);
+ public native void setSelected(TQListBoxItem arg1, boolean arg2);
public native void setSelected(int arg1, boolean arg2);
public native boolean isSelected(int arg1);
- public native boolean isSelected(QListBoxItem arg1);
- public native QListBoxItem selectedItem();
- public native QSize sizeHint();
- public native QSize minimumSizeHint();
- public native QListBoxItem item(int index);
- public native int index(QListBoxItem arg1);
- public native QListBoxItem findItem(String text, int compare);
- public native QListBoxItem findItem(String text);
+ public native boolean isSelected(TQListBoxItem arg1);
+ public native TQListBoxItem selectedItem();
+ public native TQSize sizeHint();
+ public native TQSize minimumSizeHint();
+ public native TQListBoxItem item(int index);
+ public native int index(TQListBoxItem arg1);
+ public native TQListBoxItem findItem(String text, int compare);
+ public native TQListBoxItem findItem(String text);
public native void triggerUpdate(boolean doLayout);
public native boolean itemVisible(int index);
- public native boolean itemVisible(QListBoxItem arg1);
+ public native boolean itemVisible(TQListBoxItem arg1);
public native void setColumnMode(int arg1);
public native void setRowMode(int arg1);
public native int columnMode();
@@ -102,7 +102,7 @@ public class QListBox extends QScrollView {
public native void setVariableWidth(boolean arg1);
public native boolean variableHeight();
public native void setVariableHeight(boolean arg1);
- public native void viewportPaintEvent(QPaintEvent arg1);
+ public native void viewportPaintEvent(TQPaintEvent arg1);
public native boolean dragSelect();
public native void setDragSelect(boolean arg1);
public native boolean autoScroll();
@@ -120,7 +120,7 @@ public class QListBox extends QScrollView {
public native boolean autoUpdate();
public native void setAutoUpdate(boolean arg1);
public native void setFixedVisibleLines(int lines);
- public native int inSort(QListBoxItem arg1);
+ public native int inSort(TQListBoxItem arg1);
public native int inSort(String text);
public native int cellHeight(int i);
public native int cellHeight();
@@ -129,9 +129,9 @@ public class QListBox extends QScrollView {
public native int numCols();
public native int itemHeight(int index);
public native int itemHeight();
- public native QListBoxItem itemAt(QPoint arg1);
- public native QRect itemRect(QListBoxItem item);
- public native QListBoxItem firstItem();
+ public native TQListBoxItem itemAt(TQPoint arg1);
+ public native TQRect itemRect(TQListBoxItem item);
+ public native TQListBoxItem firstItem();
public native void sort(boolean ascending);
public native void sort();
public native void clear();
@@ -141,23 +141,23 @@ public class QListBox extends QScrollView {
public native void invertSelection();
public static native String tr(String arg1, String arg2);
public static native String tr(String arg1);
- protected native void mousePressEvent(QMouseEvent arg1);
- protected native void mouseReleaseEvent(QMouseEvent arg1);
- protected native void mouseDoubleClickEvent(QMouseEvent arg1);
- protected native void mouseMoveEvent(QMouseEvent arg1);
- protected native void contentsContextMenuEvent(QContextMenuEvent arg1);
- protected native void keyPressEvent(QKeyEvent e);
- protected native void focusInEvent(QFocusEvent e);
- protected native void focusOutEvent(QFocusEvent e);
- protected native void resizeEvent(QResizeEvent arg1);
- public native void showEvent(QShowEvent arg1);
- public native boolean eventFilter(QObject o, QEvent e);
+ protected native void mousePressEvent(TQMouseEvent arg1);
+ protected native void mouseReleaseEvent(TQMouseEvent arg1);
+ protected native void mouseDoubleClickEvent(TQMouseEvent arg1);
+ protected native void mouseMoveEvent(TQMouseEvent arg1);
+ protected native void contentsContextMenuEvent(TQContextMenuEvent arg1);
+ protected native void keyPressEvent(TQKeyEvent e);
+ protected native void focusInEvent(TQFocusEvent e);
+ protected native void focusOutEvent(TQFocusEvent e);
+ protected native void resizeEvent(TQResizeEvent arg1);
+ public native void showEvent(TQShowEvent arg1);
+ public native boolean eventFilter(TQObject o, TQEvent e);
protected native void updateItem(int index);
- protected native void updateItem(QListBoxItem arg1);
+ protected native void updateItem(TQListBoxItem arg1);
protected native void updateCellWidth();
protected native int totalWidth();
protected native int totalHeight();
- public native void paintCell(QPainter arg1, int row, int col);
+ public native void paintCell(TQPainter arg1, int row, int col);
protected native void toggleCurrentItem();
protected native boolean isRubberSelecting();
protected native void doLayout();