summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KCompletionBox.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KCompletionBox.java')
-rw-r--r--kdejava/koala/org/kde/koala/KCompletionBox.java34
1 files changed, 17 insertions, 17 deletions
diff --git a/kdejava/koala/org/kde/koala/KCompletionBox.java b/kdejava/koala/org/kde/koala/KCompletionBox.java
index 1bc48bc2..3db674bc 100644
--- a/kdejava/koala/org/kde/koala/KCompletionBox.java
+++ b/kdejava/koala/org/kde/koala/KCompletionBox.java
@@ -2,15 +2,15 @@
package org.kde.koala;
import org.kde.qt.Qt;
-import org.kde.qt.QListBoxItem;
-import org.kde.qt.QRect;
-import org.kde.qt.QMetaObject;
+import org.kde.qt.TQListBoxItem;
+import org.kde.qt.TQRect;
+import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
-import org.kde.qt.QObject;
-import org.kde.qt.QSize;
+import org.kde.qt.TQObject;
+import org.kde.qt.TQSize;
import java.util.ArrayList;
-import org.kde.qt.QEvent;
-import org.kde.qt.QWidget;
+import org.kde.qt.TQEvent;
+import org.kde.qt.TQWidget;
/**
@@ -28,7 +28,7 @@ import org.kde.qt.QWidget;
*/
public class KCompletionBox extends KListBox {
protected KCompletionBox(Class dummy){super((Class) null);}
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
/**
Constructs a KCompletionBox.
@@ -36,17 +36,17 @@ public class KCompletionBox extends KListBox {
up-button on the very first item.
@short Constructs a KCompletionBox.
*/
- public KCompletionBox(QWidget parent, String name) {
+ public KCompletionBox(TQWidget parent, String name) {
super((Class) null);
newKCompletionBox(parent,name);
}
- private native void newKCompletionBox(QWidget parent, String name);
- public KCompletionBox(QWidget parent) {
+ private native void newKCompletionBox(TQWidget parent, String name);
+ public KCompletionBox(TQWidget parent) {
super((Class) null);
newKCompletionBox(parent);
}
- private native void newKCompletionBox(QWidget parent);
- public native QSize sizeHint();
+ private native void newKCompletionBox(TQWidget parent);
+ public native TQSize sizeHint();
/**
@return true if selecting an item results in the emition of the selected signal.
@@ -167,10 +167,10 @@ public class KCompletionBox extends KListBox {
/**
This calculates the size of the dropdown and the relative position of the top
left corner with respect to the parent widget. This matches the geometry and position
- normally used by K/QComboBox when used with one.
+ normally used by K/TQComboBox when used with one.
@short This calculates the size of the dropdown and the relative position of the top left corner with respect to the parent widget.
*/
- protected native QRect calculateGeometry();
+ protected native TQRect calculateGeometry();
/**
This properly sizes and positions the listbox.
@short This properly sizes and positions the listbox.
@@ -181,13 +181,13 @@ public class KCompletionBox extends KListBox {
this widget on mouse-click, Escape-presses, etc.
@short Reimplemented from KListBox to get events from the viewport (to hide this widget on mouse-click, Escape-presses, etc.
*/
- public native boolean eventFilter(QObject arg1, QEvent arg2);
+ public native boolean eventFilter(TQObject arg1, TQEvent arg2);
/**
Called when an item was activated. Emits
activated() with the item.
@short Called when an item was activated.
*/
- protected native void slotActivated(QListBoxItem arg1);
+ protected native void slotActivated(TQListBoxItem arg1);
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */