diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KListBox.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KListBox.java | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/kdejava/koala/org/kde/koala/KListBox.java b/kdejava/koala/org/kde/koala/KListBox.java index b077b485..2a666a09 100644 --- a/kdejava/koala/org/kde/koala/KListBox.java +++ b/kdejava/koala/org/kde/koala/KListBox.java @@ -2,64 +2,64 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QListBoxItem; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQListBoxItem; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; -import org.kde.qt.QPoint; -import org.kde.qt.QFocusEvent; -import org.kde.qt.QMouseEvent; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QListBox; +import org.kde.qt.TQPoint; +import org.kde.qt.TQFocusEvent; +import org.kde.qt.TQMouseEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQListBox; /** - Extends the functionality of QListBox to honor the system + Extends the functionality of TQListBox to honor the system wide settings for Single Click/Double Click mode, Auto Selection and Change Cursor over Link. There is a new signal executed(). It gets connected to either - QListBox.clicked() or QListBox.doubleClicked() + TQListBox.clicked() or TQListBox.doubleClicked() depending on the KDE wide Single Click/Double Click settings. It is strongly recommended that you use this signal instead of the above mentioned. This way you don't need to care about the current settings. If you want to get informed when the user selects - something connect to the QListBox.selectionChanged() signal. + something connect to the TQListBox.selectionChanged() signal. See {@link KListBoxSignals} for signals emitted by KListBox - @short A variant of QListBox that honors KDE's system-wide settings. + @short A variant of TQListBox that honors KDE's system-wide settings. */ -public class KListBox extends QListBox { +public class KListBox extends TQListBox { protected KListBox(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public KListBox(QWidget parent, String name, int f) { + public KListBox(TQWidget parent, String name, int f) { super((Class) null); newKListBox(parent,name,f); } - private native void newKListBox(QWidget parent, String name, int f); - public KListBox(QWidget parent, String name) { + private native void newKListBox(TQWidget parent, String name, int f); + public KListBox(TQWidget parent, String name) { super((Class) null); newKListBox(parent,name); } - private native void newKListBox(QWidget parent, String name); - public KListBox(QWidget parent) { + private native void newKListBox(TQWidget parent, String name); + public KListBox(TQWidget parent) { super((Class) null); newKListBox(parent); } - private native void newKListBox(QWidget parent); + private native void newKListBox(TQWidget parent); public KListBox() { super((Class) null); newKListBox(); } private native void newKListBox(); - protected native void emitExecute(QListBoxItem item, QPoint pos); - protected native void keyPressEvent(QKeyEvent e); - protected native void focusOutEvent(QFocusEvent fe); - protected native void leaveEvent(QEvent e); - protected native void contentsMousePressEvent(QMouseEvent e); - protected native void contentsMouseDoubleClickEvent(QMouseEvent e); - protected native void slotOnItem(QListBoxItem item); + protected native void emitExecute(TQListBoxItem item, TQPoint pos); + protected native void keyPressEvent(TQKeyEvent e); + protected native void focusOutEvent(TQFocusEvent fe); + protected native void leaveEvent(TQEvent e); + protected native void contentsMousePressEvent(TQMouseEvent e); + protected native void contentsMouseDoubleClickEvent(TQMouseEvent e); + protected native void slotOnItem(TQListBoxItem item); protected native void slotOnViewport(); protected native void slotSettingsChanged(int arg1); /** |