summaryrefslogtreecommitdiffstats
path: root/qtjava
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-16 14:26:03 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-16 14:29:57 +0900
commit02712db157a9d5bedd962da3d7f9726b29057059 (patch)
treef4699344367184da9696cf97bc54f2d5427ef940 /qtjava
parent1f00d69db7629853a25425ae5f3ca06d480e5430 (diff)
downloadtdebindings-02712db157a9d5bedd962da3d7f9726b29057059.tar.gz
tdebindings-02712db157a9d5bedd962da3d7f9726b29057059.zip
Drop compatibility code for TQButton
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'qtjava')
-rw-r--r--qtjava/javalib/org/trinitydesktop/qt/TQButton.java2
-rw-r--r--qtjava/javalib/qtjava/TQButton.cpp14
-rw-r--r--qtjava/javalib/qtjava/TQButton.h2
3 files changed, 0 insertions, 18 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQButton.java b/qtjava/javalib/org/trinitydesktop/qt/TQButton.java
index 831d8747..2b8efdb9 100644
--- a/qtjava/javalib/org/trinitydesktop/qt/TQButton.java
+++ b/qtjava/javalib/org/trinitydesktop/qt/TQButton.java
@@ -50,8 +50,6 @@ public class TQButton extends TQWidget {
public native boolean isDown();
public native boolean isOn();
public native int state();
- public native boolean autoResize();
- public native void setAutoResize(boolean arg1);
public native boolean autoRepeat();
public native void setAutoRepeat(boolean arg1);
public native boolean isExclusiveToggle();
diff --git a/qtjava/javalib/qtjava/TQButton.cpp b/qtjava/javalib/qtjava/TQButton.cpp
index 05f9f8d4..fdf3e7ae 100644
--- a/qtjava/javalib/qtjava/TQButton.cpp
+++ b/qtjava/javalib/qtjava/TQButton.cpp
@@ -473,13 +473,6 @@ Java_org_trinitydesktop_qt_QButton_autoRepeat(JNIEnv* env, jobject obj)
return xret;
}
-JNIEXPORT jboolean JNICALL
-Java_org_trinitydesktop_qt_QButton_autoResize(JNIEnv* env, jobject obj)
-{
- jboolean xret = (jboolean) ((TQButton*) QtSupport::getQt(env, obj))->autoResize();
- return xret;
-}
-
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QButton_className(JNIEnv* env, jobject obj)
{
@@ -701,13 +694,6 @@ Java_org_trinitydesktop_qt_QButton_setAutoRepeat(JNIEnv* env, jobject obj, jbool
}
JNIEXPORT void JNICALL
-Java_org_trinitydesktop_qt_QButton_setAutoResize(JNIEnv* env, jobject obj, jboolean arg1)
-{
- ((TQButton*) QtSupport::getQt(env, obj))->setAutoResize((bool) arg1);
- return;
-}
-
-JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QButton_setDown(JNIEnv* env, jobject obj, jboolean arg1)
{
((TQButton*) QtSupport::getQt(env, obj))->setDown((bool) arg1);
diff --git a/qtjava/javalib/qtjava/TQButton.h b/qtjava/javalib/qtjava/TQButton.h
index 4ce8b710..b4d6aa8e 100644
--- a/qtjava/javalib/qtjava/TQButton.h
+++ b/qtjava/javalib/qtjava/TQButton.h
@@ -28,8 +28,6 @@ extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QButton_setDown (JNIEnv
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QButton_isDown (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QButton_isOn (JNIEnv *env, jobject);
extern JNIEXPORT jint JNICALL Java_org_trinitydesktop_qt_QButton_state (JNIEnv *env, jobject);
-extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QButton_autoResize (JNIEnv *env, jobject);
-extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QButton_setAutoResize (JNIEnv *env, jobject, jboolean);
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QButton_autoRepeat (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QButton_setAutoRepeat (JNIEnv *env, jobject, jboolean);
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QButton_isExclusiveToggle (JNIEnv *env, jobject);