summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QButton.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QButton.java')
-rw-r--r--qtjava/javalib/org/kde/qt/QButton.java64
1 files changed, 32 insertions, 32 deletions
diff --git a/qtjava/javalib/org/kde/qt/QButton.java b/qtjava/javalib/org/kde/qt/QButton.java
index 57a3ab1f..cf03c64d 100644
--- a/qtjava/javalib/org/kde/qt/QButton.java
+++ b/qtjava/javalib/org/kde/qt/QButton.java
@@ -4,10 +4,10 @@ package org.kde.qt;
import org.kde.qt.Qt;
/**
- See {@link QButtonSignals} for signals emitted by QButton
+ See {@link TQButtonSignals} for signals emitted by TQButton
*/
-public class QButton extends QWidget {
- protected QButton(Class dummy){super((Class) null);}
+public class TQButton extends TQWidget {
+ protected TQButton(Class dummy){super((Class) null);}
public static final int SingleShot = 0;
public static final int Toggle = 1;
public static final int Tristate = 2;
@@ -16,34 +16,34 @@ public class QButton extends QWidget {
public static final int NoChange = 1;
public static final int On = 2;
- public native QMetaObject metaObject();
+ public native TQMetaObject metaObject();
public native String className();
- public QButton(QWidget parent, String name, int f) {
+ public TQButton(TQWidget parent, String name, int f) {
super((Class) null);
- newQButton(parent,name,f);
+ newTQButton(parent,name,f);
}
- private native void newQButton(QWidget parent, String name, int f);
- public QButton(QWidget parent, String name) {
+ private native void newTQButton(TQWidget parent, String name, int f);
+ public TQButton(TQWidget parent, String name) {
super((Class) null);
- newQButton(parent,name);
+ newTQButton(parent,name);
}
- private native void newQButton(QWidget parent, String name);
- public QButton(QWidget parent) {
+ private native void newTQButton(TQWidget parent, String name);
+ public TQButton(TQWidget parent) {
super((Class) null);
- newQButton(parent);
+ newTQButton(parent);
}
- private native void newQButton(QWidget parent);
- public QButton() {
+ private native void newTQButton(TQWidget parent);
+ public TQButton() {
super((Class) null);
- newQButton();
+ newTQButton();
}
- private native void newQButton();
+ private native void newTQButton();
public native String text();
public native void setText(String arg1);
- public native QPixmap pixmap();
- public native void setPixmap(QPixmap arg1);
- public native QKeySequence accel();
- public native void setAccel(QKeySequence arg1);
+ public native TQPixmap pixmap();
+ public native void setPixmap(TQPixmap arg1);
+ public native TQKeySequence accel();
+ public native void setAccel(TQKeySequence arg1);
public native boolean isToggleButton();
public native int toggleType();
public native void setDown(boolean arg1);
@@ -55,7 +55,7 @@ public class QButton extends QWidget {
public native boolean autoRepeat();
public native void setAutoRepeat(boolean arg1);
public native boolean isExclusiveToggle();
- public native QButtonGroup group();
+ public native TQButtonGroup group();
public native void animateClick();
public native void toggle();
public static native String tr(String arg1, String arg2);
@@ -64,17 +64,17 @@ public class QButton extends QWidget {
protected native void setToggleType(int arg1);
protected native void setOn(boolean arg1);
public native void setState(int arg1);
- protected native boolean hitButton(QPoint pos);
- protected native void drawButton(QPainter arg1);
- protected native void drawButtonLabel(QPainter arg1);
- protected native void keyPressEvent(QKeyEvent arg1);
- protected native void keyReleaseEvent(QKeyEvent arg1);
- protected native void mousePressEvent(QMouseEvent arg1);
- protected native void mouseReleaseEvent(QMouseEvent arg1);
- protected native void mouseMoveEvent(QMouseEvent arg1);
- protected native void paintEvent(QPaintEvent arg1);
- protected native void focusInEvent(QFocusEvent arg1);
- protected native void focusOutEvent(QFocusEvent arg1);
+ protected native boolean hitButton(TQPoint pos);
+ protected native void drawButton(TQPainter arg1);
+ protected native void drawButtonLabel(TQPainter arg1);
+ protected native void keyPressEvent(TQKeyEvent arg1);
+ protected native void keyReleaseEvent(TQKeyEvent arg1);
+ protected native void mousePressEvent(TQMouseEvent arg1);
+ protected native void mouseReleaseEvent(TQMouseEvent arg1);
+ protected native void mouseMoveEvent(TQMouseEvent arg1);
+ protected native void paintEvent(TQPaintEvent arg1);
+ protected native void focusInEvent(TQFocusEvent arg1);
+ protected native void focusOutEvent(TQFocusEvent arg1);
protected native void enabledChange(boolean arg1);
/** Deletes the wrapped C++ instance */
protected native void finalize() throws InternalError;