summaryrefslogtreecommitdiffstats
path: root/qtjava
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-07 18:06:42 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-07 18:06:42 +0900
commit84ec64868159247777c9779014b8cf8c11be2689 (patch)
tree727fc9b86ac201021ebb90b8f3aeca69adf0b0ed /qtjava
parent5918d4f6ef63975a03893925f64d7f1990fe78b5 (diff)
downloadtdebindings-84ec64868159247777c9779014b8cf8c11be2689.tar.gz
tdebindings-84ec64868159247777c9779014b8cf8c11be2689.zip
Drop compatibility code for TQSignal
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'qtjava')
-rw-r--r--qtjava/javalib/org/trinitydesktop/qt/TQSignal.java4
-rw-r--r--qtjava/javalib/qtjava/TQSignal.cpp28
-rw-r--r--qtjava/javalib/qtjava/TQSignal.h4
3 files changed, 0 insertions, 36 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSignal.java b/qtjava/javalib/org/trinitydesktop/qt/TQSignal.java
index ebc96889..b41c23ff 100644
--- a/qtjava/javalib/org/trinitydesktop/qt/TQSignal.java
+++ b/qtjava/javalib/org/trinitydesktop/qt/TQSignal.java
@@ -66,10 +66,6 @@ public class TQSignal extends TQObject {
public native boolean disconnect(TQObject receiver, String member);
public native boolean disconnect(TQObject receiver);
public native void activate();
- public native boolean isBlocked();
- public native void block(boolean b);
- public native void setParameter(int value);
- public native int parameter();
public native void setValue(TQVariant value);
public native TQVariant value();
public static native String tr(String arg1, String arg2);
diff --git a/qtjava/javalib/qtjava/TQSignal.cpp b/qtjava/javalib/qtjava/TQSignal.cpp
index 0dd4ef00..9a37dc57 100644
--- a/qtjava/javalib/qtjava/TQSignal.cpp
+++ b/qtjava/javalib/qtjava/TQSignal.cpp
@@ -59,13 +59,6 @@ Java_org_trinitydesktop_qt_QSignal_activate(JNIEnv* env, jobject obj)
return;
}
-JNIEXPORT void JNICALL
-Java_org_trinitydesktop_qt_QSignal_block(JNIEnv* env, jobject obj, jboolean b)
-{
- ((TQSignal*) QtSupport::getQt(env, obj))->block((bool) b);
- return;
-}
-
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QSignal_className(JNIEnv* env, jobject obj)
{
@@ -113,13 +106,6 @@ Java_org_trinitydesktop_qt_QSignal_finalize(JNIEnv* env, jobject obj)
}
JNIEXPORT jboolean JNICALL
-Java_org_trinitydesktop_qt_QSignal_isBlocked(JNIEnv* env, jobject obj)
-{
- jboolean xret = (jboolean) ((TQSignal*) QtSupport::getQt(env, obj))->isBlocked();
- return xret;
-}
-
-JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QSignal_isDisposed(JNIEnv* env, jobject obj)
{
return (QtSupport::getQt(env, obj) == 0);
@@ -163,20 +149,6 @@ static TQCString* _qstring_name = 0;
return;
}
-JNIEXPORT jint JNICALL
-Java_org_trinitydesktop_qt_QSignal_parameter(JNIEnv* env, jobject obj)
-{
- jint xret = (jint) ((TQSignal*) QtSupport::getQt(env, obj))->parameter();
- return xret;
-}
-
-JNIEXPORT void JNICALL
-Java_org_trinitydesktop_qt_QSignal_setParameter(JNIEnv* env, jobject obj, jint value)
-{
- ((TQSignal*) QtSupport::getQt(env, obj))->setParameter((int) value);
- return;
-}
-
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QSignal_setValue(JNIEnv* env, jobject obj, jobject value)
{
diff --git a/qtjava/javalib/qtjava/TQSignal.h b/qtjava/javalib/qtjava/TQSignal.h
index e8a2f296..15997e2b 100644
--- a/qtjava/javalib/qtjava/TQSignal.h
+++ b/qtjava/javalib/qtjava/TQSignal.h
@@ -19,10 +19,6 @@ extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QSignal_connect (JN
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QSignal_disconnect__Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2 (JNIEnv *env, jobject, jobject, jstring);
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QSignal_disconnect__Lorg_trinitydesktop_qt_QObject_2 (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QSignal_activate (JNIEnv *env, jobject);
-extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QSignal_isBlocked (JNIEnv *env, jobject);
-extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QSignal_block (JNIEnv *env, jobject, jboolean);
-extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QSignal_setParameter (JNIEnv *env, jobject, jint);
-extern JNIEXPORT jint JNICALL Java_org_trinitydesktop_qt_QSignal_parameter (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QSignal_setValue (JNIEnv *env, jobject, jobject);
extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_qt_QSignal_value (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_trinitydesktop_qt_QSignal_tr__Ljava_lang_String_2Ljava_lang_String_2 (JNIEnv *env, jclass, jstring, jstring);