summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KDoubleNumInput.java
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 15:55:57 -0600
commit9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch)
treec81c34dae2b3b1ea73801bf18a960265dc4207f7 /kdejava/koala/org/kde/koala/KDoubleNumInput.java
parent1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff)
downloadtdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz
tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip
Initial TQt conversion
Diffstat (limited to 'kdejava/koala/org/kde/koala/KDoubleNumInput.java')
-rw-r--r--kdejava/koala/org/kde/koala/KDoubleNumInput.java54
1 files changed, 27 insertions, 27 deletions
diff --git a/kdejava/koala/org/kde/koala/KDoubleNumInput.java b/kdejava/koala/org/kde/koala/KDoubleNumInput.java
index 9b5bfe21..4df5264e 100644
--- a/kdejava/koala/org/kde/koala/KDoubleNumInput.java
+++ b/kdejava/koala/org/kde/koala/KDoubleNumInput.java
@@ -2,17 +2,17 @@
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 org.kde.qt.QObject;
-import org.kde.qt.QSize;
-import org.kde.qt.QEvent;
-import org.kde.qt.QWidget;
-import org.kde.qt.QResizeEvent;
+import org.kde.qt.TQObject;
+import org.kde.qt.TQSize;
+import org.kde.qt.TQEvent;
+import org.kde.qt.TQWidget;
+import org.kde.qt.TQResizeEvent;
/**
- KDoubleNumInput combines a QSpinBox and optionally a QSlider
+ KDoubleNumInput combines a TQSpinBox and optionally a TQSlider
with a label to make an easy to use control for setting some float
parameter. This is especially nice for configuration dialogs,
which can have many such combinated controls.
@@ -22,7 +22,7 @@ import org.kde.qt.QResizeEvent;
A special feature of KDoubleNumInput, designed specifically for
the situation when there are several instances in a column,
is that you can specify what portion of the control is taken by the
- QSpinBox (the remaining portion is used by the slider). This makes
+ TQSpinBox (the remaining portion is used by the slider). This makes
it very simple to have all the sliders in a column be the same size.
It uses the KDoubleValidator validator class. KDoubleNumInput
enforces the value to be in the given range, but see the class
@@ -37,23 +37,23 @@ import org.kde.qt.QResizeEvent;
*/
public class KDoubleNumInput extends KNumInput {
protected KDoubleNumInput(Class dummy){super((Class) null);}
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
/**
Constructs an input control for double values
with initial value 0.00.
@short Constructs an input control for double values with initial value 0.
*/
- public KDoubleNumInput(QWidget parent, String name) {
+ public KDoubleNumInput(TQWidget parent, String name) {
super((Class) null);
newKDoubleNumInput(parent,name);
}
- private native void newKDoubleNumInput(QWidget parent, String name);
- public KDoubleNumInput(QWidget parent) {
+ private native void newKDoubleNumInput(TQWidget parent, String name);
+ public KDoubleNumInput(TQWidget parent) {
super((Class) null);
newKDoubleNumInput(parent);
}
- private native void newKDoubleNumInput(QWidget parent);
+ private native void newKDoubleNumInput(TQWidget parent);
public KDoubleNumInput() {
super((Class) null);
newKDoubleNumInput();
@@ -66,20 +66,20 @@ public class KDoubleNumInput extends KNumInput {
@param value initial value for the control
@param step step size to use for up/down arrow clicks
@param precision number of digits after the decimal point
- @param parent parent QWidget
+ @param parent parent TQWidget
@param name internal name for this widget
@short Constructor
*/
- public KDoubleNumInput(double lower, double upper, double value, double step, int precision, QWidget parent, String name) {
+ public KDoubleNumInput(double lower, double upper, double value, double step, int precision, TQWidget parent, String name) {
super((Class) null);
newKDoubleNumInput(lower,upper,value,step,precision,parent,name);
}
- private native void newKDoubleNumInput(double lower, double upper, double value, double step, int precision, QWidget parent, String name);
- public KDoubleNumInput(double lower, double upper, double value, double step, int precision, QWidget parent) {
+ private native void newKDoubleNumInput(double lower, double upper, double value, double step, int precision, TQWidget parent, String name);
+ public KDoubleNumInput(double lower, double upper, double value, double step, int precision, TQWidget parent) {
super((Class) null);
newKDoubleNumInput(lower,upper,value,step,precision,parent);
}
- private native void newKDoubleNumInput(double lower, double upper, double value, double step, int precision, QWidget parent);
+ private native void newKDoubleNumInput(double lower, double upper, double value, double step, int precision, TQWidget parent);
public KDoubleNumInput(double lower, double upper, double value, double step, int precision) {
super((Class) null);
newKDoubleNumInput(lower,upper,value,step,precision);
@@ -110,20 +110,20 @@ public class KDoubleNumInput extends KNumInput {
@param value initial value for the control
@param step step size to use for up/down arrow clicks
@param precision number of digits after the decimal point
- @param parent parent QWidget
+ @param parent parent TQWidget
@param name internal name for this widget
@short Constructor
*/
- public KDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, QWidget parent, String name) {
+ public KDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, TQWidget parent, String name) {
super((Class) null);
newKDoubleNumInput(below,lower,upper,value,step,precision,parent,name);
}
- private native void newKDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, QWidget parent, String name);
- public KDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, QWidget parent) {
+ private native void newKDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, TQWidget parent, String name);
+ public KDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, TQWidget parent) {
super((Class) null);
newKDoubleNumInput(below,lower,upper,value,step,precision,parent);
}
- private native void newKDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, QWidget parent);
+ private native void newKDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision, TQWidget parent);
public KDoubleNumInput(KNumInput below, double lower, double upper, double value, double step, int precision) {
super((Class) null);
newKDoubleNumInput(below,lower,upper,value,step,precision);
@@ -176,7 +176,7 @@ public class KDoubleNumInput extends KNumInput {
/**
@param min minimum value
@param max maximum value
- @param step step size for the QSlider
+ @param step step size for the TQSlider
@param slider whether the slider is created or not
@short
*/
@@ -232,8 +232,8 @@ public class KDoubleNumInput extends KNumInput {
public native void setSpecialValueText(String text);
public native void setLabel(String label, int a);
public native void setLabel(String label);
- public native QSize minimumSizeHint();
- public native boolean eventFilter(QObject arg1, QEvent arg2);
+ public native TQSize minimumSizeHint();
+ public native boolean eventFilter(TQObject arg1, TQEvent arg2);
/**
Sets the value of the control.
@short Sets the value of the control.
@@ -269,7 +269,7 @@ public class KDoubleNumInput extends KNumInput {
*/
public native void setPrefix(String prefix);
protected native void doLayout();
- protected native void resizeEvent(QResizeEvent arg1);
+ protected native void resizeEvent(TQResizeEvent arg1);
protected native void resetEditBox();
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;