diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtjava/javalib/org/kde/qt/QSlider.java | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QSlider.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QSlider.java | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/qtjava/javalib/org/kde/qt/QSlider.java b/qtjava/javalib/org/kde/qt/QSlider.java index 7ea764c4..c10850fb 100644 --- a/qtjava/javalib/org/kde/qt/QSlider.java +++ b/qtjava/javalib/org/kde/qt/QSlider.java @@ -4,10 +4,10 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QSliderSignals} for signals emitted by QSlider + See {@link TQSliderSignals} for signals emitted by TQSlider */ -public class QSlider extends QWidget implements QRangeControlInterface { - protected QSlider(Class dummy){super((Class) null);} +public class TQSlider extends TQWidget implements TQRangeControlInterface { + protected TQSlider(Class dummy){super((Class) null);} public static final int NoMarks = 0; public static final int Above = 1; public static final int Left = Above; @@ -15,51 +15,51 @@ public class QSlider extends QWidget implements QRangeControlInterface { public static final int Right = Below; public static final int Both = 3; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QSlider(QWidget parent, String name) { + public TQSlider(TQWidget parent, String name) { super((Class) null); - newQSlider(parent,name); + newTQSlider(parent,name); } - private native void newQSlider(QWidget parent, String name); - public QSlider(QWidget parent) { + private native void newTQSlider(TQWidget parent, String name); + public TQSlider(TQWidget parent) { super((Class) null); - newQSlider(parent); + newTQSlider(parent); } - private native void newQSlider(QWidget parent); - public QSlider(int arg1, QWidget parent, String name) { + private native void newTQSlider(TQWidget parent); + public TQSlider(int arg1, TQWidget parent, String name) { super((Class) null); - newQSlider(arg1,parent,name); + newTQSlider(arg1,parent,name); } - private native void newQSlider(int arg1, QWidget parent, String name); - public QSlider(int arg1, QWidget parent) { + private native void newTQSlider(int arg1, TQWidget parent, String name); + public TQSlider(int arg1, TQWidget parent) { super((Class) null); - newQSlider(arg1,parent); + newTQSlider(arg1,parent); } - private native void newQSlider(int arg1, QWidget parent); - public QSlider(int minValue, int maxValue, int pageStep, int value, int arg5, QWidget parent, String name) { + private native void newTQSlider(int arg1, TQWidget parent); + public TQSlider(int minValue, int maxValue, int pageStep, int value, int arg5, TQWidget parent, String name) { super((Class) null); - newQSlider(minValue,maxValue,pageStep,value,arg5,parent,name); + newTQSlider(minValue,maxValue,pageStep,value,arg5,parent,name); } - private native void newQSlider(int minValue, int maxValue, int pageStep, int value, int arg5, QWidget parent, String name); - public QSlider(int minValue, int maxValue, int pageStep, int value, int arg5, QWidget parent) { + private native void newTQSlider(int minValue, int maxValue, int pageStep, int value, int arg5, TQWidget parent, String name); + public TQSlider(int minValue, int maxValue, int pageStep, int value, int arg5, TQWidget parent) { super((Class) null); - newQSlider(minValue,maxValue,pageStep,value,arg5,parent); + newTQSlider(minValue,maxValue,pageStep,value,arg5,parent); } - private native void newQSlider(int minValue, int maxValue, int pageStep, int value, int arg5, QWidget parent); + private native void newTQSlider(int minValue, int maxValue, int pageStep, int value, int arg5, TQWidget parent); public native void setOrientation(int arg1); public native int orientation(); public native void setTracking(boolean enable); public native boolean tracking(); - public native void setPalette(QPalette arg1); + public native void setPalette(TQPalette arg1); public native int sliderStart(); - public native QRect sliderRect(); - public native QSize sizeHint(); - public native void setSizePolicy(QSizePolicy sp); + public native TQRect sliderRect(); + public native TQSize sizeHint(); + public native void setSizePolicy(TQSizePolicy sp); public native void setSizePolicy(int hor, int ver, boolean hfw); public native void setSizePolicy(int hor, int ver); - public native QSizePolicy sizePolicy(); - public native QSize minimumSizeHint(); + public native TQSizePolicy sizePolicy(); + public native TQSize minimumSizeHint(); public native void setTickmarks(int arg1); public native int tickmarks(); public native void setTickInterval(int arg1); @@ -80,16 +80,16 @@ public class QSlider extends QWidget implements QRangeControlInterface { public native void subtractLine(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - protected native void resizeEvent(QResizeEvent arg1); - protected native void paintEvent(QPaintEvent arg1); - protected native void keyPressEvent(QKeyEvent arg1); - protected native void mousePressEvent(QMouseEvent arg1); - protected native void mouseReleaseEvent(QMouseEvent arg1); - protected native void mouseMoveEvent(QMouseEvent arg1); - protected native void wheelEvent(QWheelEvent arg1); - protected native void focusInEvent(QFocusEvent e); - protected native void focusOutEvent(QFocusEvent e); - public native void styleChange(QStyle arg1); + protected native void resizeEvent(TQResizeEvent arg1); + protected native void paintEvent(TQPaintEvent arg1); + protected native void keyPressEvent(TQKeyEvent arg1); + protected native void mousePressEvent(TQMouseEvent arg1); + protected native void mouseReleaseEvent(TQMouseEvent arg1); + protected native void mouseMoveEvent(TQMouseEvent arg1); + protected native void wheelEvent(TQWheelEvent arg1); + protected native void focusInEvent(TQFocusEvent e); + protected native void focusOutEvent(TQFocusEvent e); + public native void styleChange(TQStyle arg1); protected native void valueChange(); protected native void rangeChange(); /** Deletes the wrapped C++ instance */ |