diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QPushButton.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QPushButton.java | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/qtjava/javalib/org/kde/qt/QPushButton.java b/qtjava/javalib/org/kde/qt/QPushButton.java index 4171f90d..a9844e7f 100644 --- a/qtjava/javalib/org/kde/qt/QPushButton.java +++ b/qtjava/javalib/org/kde/qt/QPushButton.java @@ -3,47 +3,47 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QPushButton extends QButton { - protected QPushButton(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQPushButton extends TQButton { + protected TQPushButton(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QPushButton(QWidget parent, String name) { + public TQPushButton(TQWidget parent, String name) { super((Class) null); - newQPushButton(parent,name); + newTQPushButton(parent,name); } - private native void newQPushButton(QWidget parent, String name); - public QPushButton(QWidget parent) { + private native void newTQPushButton(TQWidget parent, String name); + public TQPushButton(TQWidget parent) { super((Class) null); - newQPushButton(parent); + newTQPushButton(parent); } - private native void newQPushButton(QWidget parent); - public QPushButton(String text, QWidget parent, String name) { + private native void newTQPushButton(TQWidget parent); + public TQPushButton(String text, TQWidget parent, String name) { super((Class) null); - newQPushButton(text,parent,name); + newTQPushButton(text,parent,name); } - private native void newQPushButton(String text, QWidget parent, String name); - public QPushButton(String text, QWidget parent) { + private native void newTQPushButton(String text, TQWidget parent, String name); + public TQPushButton(String text, TQWidget parent) { super((Class) null); - newQPushButton(text,parent); + newTQPushButton(text,parent); } - private native void newQPushButton(String text, QWidget parent); - public QPushButton(QIconSet icon, String text, QWidget parent, String name) { + private native void newTQPushButton(String text, TQWidget parent); + public TQPushButton(TQIconSet icon, String text, TQWidget parent, String name) { super((Class) null); - newQPushButton(icon,text,parent,name); + newTQPushButton(icon,text,parent,name); } - private native void newQPushButton(QIconSet icon, String text, QWidget parent, String name); - public QPushButton(QIconSet icon, String text, QWidget parent) { + private native void newTQPushButton(TQIconSet icon, String text, TQWidget parent, String name); + public TQPushButton(TQIconSet icon, String text, TQWidget parent) { super((Class) null); - newQPushButton(icon,text,parent); + newTQPushButton(icon,text,parent); } - private native void newQPushButton(QIconSet icon, String text, QWidget parent); - public native QSize sizeHint(); + private native void newTQPushButton(TQIconSet icon, String text, TQWidget parent); + public native TQSize sizeHint(); public native void move(int x, int y); - public native void move(QPoint p); + public native void move(TQPoint p); public native void resize(int w, int h); - public native void resize(QSize arg1); + public native void resize(TQSize arg1); public native void setGeometry(int x, int y, int w, int h); - public native void setGeometry(QRect arg1); + public native void setGeometry(TQRect arg1); public native void setToggleButton(boolean arg1); public native boolean autoDefault(); public native void setAutoDefault(boolean autoDef); @@ -51,20 +51,20 @@ public class QPushButton extends QButton { public native void setDefault(boolean def); public native void setIsMenuButton(boolean enable); public native boolean isMenuButton(); - public native void setPopup(QPopupMenu popup); - public native QPopupMenu popup(); - public native void setIconSet(QIconSet arg1); - public native QIconSet iconSet(); + public native void setPopup(TQPopupMenu popup); + public native TQPopupMenu popup(); + public native void setIconSet(TQIconSet arg1); + public native TQIconSet iconSet(); public native void setFlat(boolean arg1); public native boolean isFlat(); public native void setOn(boolean arg1); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - protected native void drawButton(QPainter arg1); - protected native void drawButtonLabel(QPainter arg1); - protected native void focusInEvent(QFocusEvent arg1); - protected native void focusOutEvent(QFocusEvent arg1); - protected native void resizeEvent(QResizeEvent arg1); + protected native void drawButton(TQPainter arg1); + protected native void drawButtonLabel(TQPainter arg1); + protected native void focusInEvent(TQFocusEvent arg1); + protected native void focusOutEvent(TQFocusEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); protected native void updateMask(); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; |