summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KRuler.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/org/kde/koala/KRuler.java')
-rw-r--r--kdejava/koala/org/kde/koala/KRuler.java72
1 files changed, 36 insertions, 36 deletions
diff --git a/kdejava/koala/org/kde/koala/KRuler.java b/kdejava/koala/org/kde/koala/KRuler.java
index fc360b4d..afc027c9 100644
--- a/kdejava/koala/org/kde/koala/KRuler.java
+++ b/kdejava/koala/org/kde/koala/KRuler.java
@@ -2,11 +2,11 @@
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.QPainter;
-import org.kde.qt.QWidget;
-import org.kde.qt.QFrame;
+import org.kde.qt.TQPainter;
+import org.kde.qt.TQWidget;
+import org.kde.qt.TQFrame;
/**
@@ -32,12 +32,12 @@ import org.kde.qt.QFrame;
ruler.
To receive mouse clicks or mouse moves,
the class has to be overloaded.
- For performance reasons, the public methods don't call QWidget.repaint().
+ For performance reasons, the public methods don't call TQWidget.repaint().
(Slots do, see documentation below.)
All the changed settings will be painted once after leaving
to the main event loop.
For performance painting the slot methods should be used,
- they do a fast QWidget.repaint() call after changing the values.
+ they do a fast TQWidget.repaint() call after changing the values.
For setting multiple values like minValue(), maxValue(), offset() etc.
using the public methods is recommended
so the widget will be painted only once when entering the main event loop.
@@ -46,7 +46,7 @@ import org.kde.qt.QFrame;
@short A ruler widget.
*/
-public class KRuler extends QFrame {
+public class KRuler extends TQFrame {
protected KRuler(Class dummy){super((Class) null);}
/**
The types of units used.
@@ -59,22 +59,22 @@ public class KRuler extends QFrame {
public static final int Centimetres = 4;
public static final int Metres = 5;
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
/**
Constructs a horizontal ruler.
@short Constructs a horizontal ruler.
*/
- public KRuler(QWidget parent, String name) {
+ public KRuler(TQWidget parent, String name) {
super((Class) null);
newKRuler(parent,name);
}
- private native void newKRuler(QWidget parent, String name);
- public KRuler(QWidget parent) {
+ private native void newKRuler(TQWidget parent, String name);
+ public KRuler(TQWidget parent) {
super((Class) null);
newKRuler(parent);
}
- private native void newKRuler(QWidget parent);
+ private native void newKRuler(TQWidget parent);
public KRuler() {
super((Class) null);
newKRuler();
@@ -82,30 +82,30 @@ public class KRuler extends QFrame {
private native void newKRuler();
/**
Constructs a ruler with orientation <code>orient.</code>
- <code>parent</code>, <code>name</code> and <code>f</code> are passed to QFrame.
+ <code>parent</code>, <code>name</code> and <code>f</code> are passed to TQFrame.
The default look is a raised widget
- but may be changed with the inherited QFrame methods.
+ but may be changed with the inherited TQFrame methods.
@param orient Orientation of the ruler.
- @param parent Will be handed over to QFrame.
- @param name Will be handed over to QFrame.
- @param f Will be handed over to QFrame.
+ @param parent Will be handed over to TQFrame.
+ @param name Will be handed over to TQFrame.
+ @param f Will be handed over to TQFrame.
@short Constructs a ruler with orientation <code>orient.</code>
*/
- public KRuler(int orient, QWidget parent, String name, int f) {
+ public KRuler(int orient, TQWidget parent, String name, int f) {
super((Class) null);
newKRuler(orient,parent,name,f);
}
- private native void newKRuler(int orient, QWidget parent, String name, int f);
- public KRuler(int orient, QWidget parent, String name) {
+ private native void newKRuler(int orient, TQWidget parent, String name, int f);
+ public KRuler(int orient, TQWidget parent, String name) {
super((Class) null);
newKRuler(orient,parent,name);
}
- private native void newKRuler(int orient, QWidget parent, String name);
- public KRuler(int orient, QWidget parent) {
+ private native void newKRuler(int orient, TQWidget parent, String name);
+ public KRuler(int orient, TQWidget parent) {
super((Class) null);
newKRuler(orient,parent);
}
- private native void newKRuler(int orient, QWidget parent);
+ private native void newKRuler(int orient, TQWidget parent);
public KRuler(int orient) {
super((Class) null);
newKRuler(orient);
@@ -116,29 +116,29 @@ public class KRuler extends QFrame {
The width sets the fixed width of the widget. This is useful if you
want to draw the ruler bigger or smaller than the default size.
Note: The size of the marks doesn't change.
- <code>parent</code>, <code>name</code> and <code>f</code> are passed to QFrame.
+ <code>parent</code>, <code>name</code> and <code>f</code> are passed to TQFrame.
@param orient Orientation of the ruler.
@param widgetWidth Fixed width of the widget.
- @param parent Will be handed over to QFrame.
- @param name Will be handed over to QFrame.
- @param f Will be handed over to QFrame.
+ @param parent Will be handed over to TQFrame.
+ @param name Will be handed over to TQFrame.
+ @param f Will be handed over to TQFrame.
@short Constructs a ruler with orientation <code>orient</code> and initial width <code>widgetWidth.</code>
*/
- public KRuler(int orient, int widgetWidth, QWidget parent, String name, int f) {
+ public KRuler(int orient, int widgetWidth, TQWidget parent, String name, int f) {
super((Class) null);
newKRuler(orient,widgetWidth,parent,name,f);
}
- private native void newKRuler(int orient, int widgetWidth, QWidget parent, String name, int f);
- public KRuler(int orient, int widgetWidth, QWidget parent, String name) {
+ private native void newKRuler(int orient, int widgetWidth, TQWidget parent, String name, int f);
+ public KRuler(int orient, int widgetWidth, TQWidget parent, String name) {
super((Class) null);
newKRuler(orient,widgetWidth,parent,name);
}
- private native void newKRuler(int orient, int widgetWidth, QWidget parent, String name);
- public KRuler(int orient, int widgetWidth, QWidget parent) {
+ private native void newKRuler(int orient, int widgetWidth, TQWidget parent, String name);
+ public KRuler(int orient, int widgetWidth, TQWidget parent) {
super((Class) null);
newKRuler(orient,widgetWidth,parent);
}
- private native void newKRuler(int orient, int widgetWidth, QWidget parent);
+ private native void newKRuler(int orient, int widgetWidth, TQWidget parent);
public KRuler(int orient, int widgetWidth) {
super((Class) null);
newKRuler(orient,widgetWidth);
@@ -364,19 +364,19 @@ public class KRuler extends QFrame {
/**
Sets the pointer to a new position.
The offset is NOT updated.
- QWidget.repaint() is called afterwards.
+ TQWidget.repaint() is called afterwards.
@short Sets the pointer to a new position.
*/
public native void slotNewValue(int arg1);
/**
Sets the ruler marks to a new position.
The pointer is NOT updated.
- QWidget.repaint() is called afterwards.
+ TQWidget.repaint() is called afterwards.
@short Sets the ruler marks to a new position.
*/
public native void slotNewOffset(int arg1);
public native void slotEndOffset(int arg1);
- protected native void drawContents(QPainter arg1);
+ protected native void drawContents(TQPainter arg1);
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;
/** Delete the wrapped C++ instance ahead of finalize() */