summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KSelector.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KSelector.java')
-rw-r--r--kdejava/koala/org/kde/koala/KSelector.java56
1 files changed, 28 insertions, 28 deletions
diff --git a/kdejava/koala/org/kde/koala/KSelector.java b/kdejava/koala/org/kde/koala/KSelector.java
index 9a7e30d6..536b8a8c 100644
--- a/kdejava/koala/org/kde/koala/KSelector.java
+++ b/kdejava/koala/org/kde/koala/KSelector.java
@@ -2,18 +2,18 @@
package org.kde.koala;
import org.kde.qt.Qt;
-import org.kde.qt.QRect;
-import org.kde.qt.QMetaObject;
+import org.kde.qt.TQRect;
+import org.kde.qt.TQMetaObject;
import org.kde.qt.QtSupport;
-import org.kde.qt.QPaintEvent;
-import org.kde.qt.QPoint;
-import org.kde.qt.QPainter;
-import org.kde.qt.QRangeControl;
-import org.kde.qt.QRangeControlInterface;
-import org.kde.qt.QMouseEvent;
-import org.kde.qt.QWidget;
-import org.kde.qt.QWheelEvent;
-import org.kde.qt.QWidget;
+import org.kde.qt.TQPaintEvent;
+import org.kde.qt.TQPoint;
+import org.kde.qt.TQPainter;
+import org.kde.qt.TQRangeControl;
+import org.kde.qt.TQRangeControlInterface;
+import org.kde.qt.TQMouseEvent;
+import org.kde.qt.TQWidget;
+import org.kde.qt.TQWheelEvent;
+import org.kde.qt.TQWidget;
/**
@@ -27,24 +27,24 @@ import org.kde.qt.QWidget;
@short KSelector is the base class for other widgets which provides the ability to choose from a one-dimensional range of values.
*/
-public class KSelector extends QWidget implements QRangeControlInterface {
+public class KSelector extends TQWidget implements TQRangeControlInterface {
protected KSelector(Class dummy){super((Class) null);}
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
/**
Constructs a horizontal one-dimensional selection widget.
@short Constructs a horizontal one-dimensional selection widget.
*/
- public KSelector(QWidget parent, String name) {
+ public KSelector(TQWidget parent, String name) {
super((Class) null);
newKSelector(parent,name);
}
- private native void newKSelector(QWidget parent, String name);
- public KSelector(QWidget parent) {
+ private native void newKSelector(TQWidget parent, String name);
+ public KSelector(TQWidget parent) {
super((Class) null);
newKSelector(parent);
}
- private native void newKSelector(QWidget parent);
+ private native void newKSelector(TQWidget parent);
public KSelector() {
super((Class) null);
newKSelector();
@@ -55,16 +55,16 @@ public class KSelector extends QWidget implements QRangeControlInterface {
a given orientation.
@short Constructs a one-dimensional selection widget with a given orientation.
*/
- public KSelector(int o, QWidget parent, String name) {
+ public KSelector(int o, TQWidget parent, String name) {
super((Class) null);
newKSelector(o,parent,name);
}
- private native void newKSelector(int o, QWidget parent, String name);
- public KSelector(int o, QWidget parent) {
+ private native void newKSelector(int o, TQWidget parent, String name);
+ public KSelector(int o, TQWidget parent) {
super((Class) null);
newKSelector(o,parent);
}
- private native void newKSelector(int o, QWidget parent);
+ private native void newKSelector(int o, TQWidget parent);
public KSelector(int o) {
super((Class) null);
newKSelector(o);
@@ -81,7 +81,7 @@ public class KSelector extends QWidget implements QRangeControlInterface {
@short
*/
- public native QRect contentsRect();
+ public native TQRect contentsRect();
/**
Sets the indent option of the widget to i.
This determines whether a shaded frame is drawn.
@@ -133,7 +133,7 @@ public class KSelector extends QWidget implements QRangeControlInterface {
Draw only within contentsRect().
@short Override this function to draw the contents of the control.
*/
- protected native void drawContents(QPainter arg1);
+ protected native void drawContents(TQPainter arg1);
/**
Override this function to draw the cursor which
indicates the current value. This function is
@@ -142,12 +142,12 @@ public class KSelector extends QWidget implements QRangeControlInterface {
to draw the new one.
@short Override this function to draw the cursor which indicates the current value.
*/
- protected native void drawArrow(QPainter painter, boolean show, QPoint pos);
+ protected native void drawArrow(TQPainter painter, boolean show, TQPoint pos);
protected native void valueChange();
- protected native void paintEvent(QPaintEvent arg1);
- protected native void mousePressEvent(QMouseEvent e);
- protected native void mouseMoveEvent(QMouseEvent e);
- protected native void wheelEvent(QWheelEvent arg1);
+ protected native void paintEvent(TQPaintEvent arg1);
+ protected native void mousePressEvent(TQMouseEvent e);
+ protected native void mouseMoveEvent(TQMouseEvent e);
+ protected native void wheelEvent(TQWheelEvent arg1);
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */