From 9ba04742771370f59740e32e11c5f3a1e6a1b70a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 15:55:57 -0600 Subject: Initial TQt conversion --- qtjava/javalib/org/kde/qt/QRadioButton.java | 40 ++++++++++++++--------------- 1 file changed, 20 insertions(+), 20 deletions(-) (limited to 'qtjava/javalib/org/kde/qt/QRadioButton.java') diff --git a/qtjava/javalib/org/kde/qt/QRadioButton.java b/qtjava/javalib/org/kde/qt/QRadioButton.java index 56822b17..62c2b03a 100644 --- a/qtjava/javalib/org/kde/qt/QRadioButton.java +++ b/qtjava/javalib/org/kde/qt/QRadioButton.java @@ -3,40 +3,40 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QRadioButton extends QButton { - protected QRadioButton(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQRadioButton extends TQButton { + protected TQRadioButton(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); - public QRadioButton(QWidget parent, String name) { + public TQRadioButton(TQWidget parent, String name) { super((Class) null); - newQRadioButton(parent,name); + newTQRadioButton(parent,name); } - private native void newQRadioButton(QWidget parent, String name); - public QRadioButton(QWidget parent) { + private native void newTQRadioButton(TQWidget parent, String name); + public TQRadioButton(TQWidget parent) { super((Class) null); - newQRadioButton(parent); + newTQRadioButton(parent); } - private native void newQRadioButton(QWidget parent); - public QRadioButton(String text, QWidget parent, String name) { + private native void newTQRadioButton(TQWidget parent); + public TQRadioButton(String text, TQWidget parent, String name) { super((Class) null); - newQRadioButton(text,parent,name); + newTQRadioButton(text,parent,name); } - private native void newQRadioButton(String text, QWidget parent, String name); - public QRadioButton(String text, QWidget parent) { + private native void newTQRadioButton(String text, TQWidget parent, String name); + public TQRadioButton(String text, TQWidget parent) { super((Class) null); - newQRadioButton(text,parent); + newTQRadioButton(text,parent); } - private native void newQRadioButton(String text, QWidget parent); + private native void newTQRadioButton(String text, TQWidget parent); public native boolean isChecked(); - public native QSize sizeHint(); + public native TQSize sizeHint(); public native void setChecked(boolean check); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - protected native boolean hitButton(QPoint arg1); - protected native void drawButton(QPainter arg1); - protected native void drawButtonLabel(QPainter arg1); + protected native boolean hitButton(TQPoint arg1); + protected native void drawButton(TQPainter arg1); + protected native void drawButtonLabel(TQPainter arg1); protected native void updateMask(); - protected native void resizeEvent(QResizeEvent arg1); + protected native void resizeEvent(TQResizeEvent arg1); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ -- cgit v1.2.1