diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KHistoryCombo.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KHistoryCombo.java | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kdejava/koala/org/kde/koala/KHistoryCombo.java b/kdejava/koala/org/kde/koala/KHistoryCombo.java index 59750836..614811dc 100644 --- a/kdejava/koala/org/kde/koala/KHistoryCombo.java +++ b/kdejava/koala/org/kde/koala/KHistoryCombo.java @@ -2,12 +2,12 @@ package org.kde.koala; import org.kde.qt.Qt; -import org.kde.qt.QMetaObject; +import org.kde.qt.TQMetaObject; import org.kde.qt.QtSupport; import java.util.ArrayList; -import org.kde.qt.QKeyEvent; -import org.kde.qt.QWidget; -import org.kde.qt.QWheelEvent; +import org.kde.qt.TQKeyEvent; +import org.kde.qt.TQWidget; +import org.kde.qt.TQWheelEvent; /** @@ -29,7 +29,7 @@ import org.kde.qt.QWheelEvent; */ public class KHistoryCombo extends KComboBox { protected KHistoryCombo(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); /** Constructs a "read-write" combobox. A read-only history combobox @@ -42,21 +42,21 @@ public class KHistoryCombo extends KComboBox { connect( combo, SIGNAL("activated( String )"), combo, SLOT("addToHistory( String )")); </pre> - Use QComboBox.setMaxCount() to limit the history. + Use TQComboBox.setMaxCount() to limit the history. <code>parent</code> the parent object of this widget. <code>name</code> the name of this widget. @short Constructs a "read-write" combobox. */ - public KHistoryCombo(QWidget parent, String name) { + public KHistoryCombo(TQWidget parent, String name) { super((Class) null); newKHistoryCombo(parent,name); } - private native void newKHistoryCombo(QWidget parent, String name); - public KHistoryCombo(QWidget parent) { + private native void newKHistoryCombo(TQWidget parent, String name); + public KHistoryCombo(TQWidget parent) { super((Class) null); newKHistoryCombo(parent); } - private native void newKHistoryCombo(QWidget parent); + private native void newKHistoryCombo(TQWidget parent); public KHistoryCombo() { super((Class) null); newKHistoryCombo(); @@ -69,16 +69,16 @@ public class KHistoryCombo extends KComboBox { contents of the combobox. @short Same as the previous constructor, but additionally has the option to specify whether you want to let KHistoryCombo handle completion or not. */ - public KHistoryCombo(boolean useCompletion, QWidget parent, String name) { + public KHistoryCombo(boolean useCompletion, TQWidget parent, String name) { super((Class) null); newKHistoryCombo(useCompletion,parent,name); } - private native void newKHistoryCombo(boolean useCompletion, QWidget parent, String name); - public KHistoryCombo(boolean useCompletion, QWidget parent) { + private native void newKHistoryCombo(boolean useCompletion, TQWidget parent, String name); + public KHistoryCombo(boolean useCompletion, TQWidget parent) { super((Class) null); newKHistoryCombo(useCompletion,parent); } - private native void newKHistoryCombo(boolean useCompletion, QWidget parent); + private native void newKHistoryCombo(boolean useCompletion, TQWidget parent); public KHistoryCombo(boolean useCompletion) { super((Class) null); newKHistoryCombo(useCompletion); @@ -182,7 +182,7 @@ public class KHistoryCombo extends KComboBox { not in the combobox, and vice versa. @short Adds an item to the end of the history list and to the completion list. @see #removeFromHistory - @see org.kde.qt.QComboBox#setDuplicatesEnabled + @see org.kde.qt.TQComboBox#setDuplicatesEnabled */ public native void addToHistory(String item); /** @@ -194,12 +194,12 @@ public class KHistoryCombo extends KComboBox { Handling key-events, the shortcuts to rotate the items. @short Handling key-events, the shortcuts to rotate the items. */ - protected native void keyPressEvent(QKeyEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); /** Handling wheel-events, to rotate the items. @short Handling wheel-events, to rotate the items. */ - protected native void wheelEvent(QWheelEvent ev); + protected native void wheelEvent(TQWheelEvent ev); /** Inserts <code>items</code> into the combo, honoring pixmapProvider() Does not update the completionObject. |