Drop compatibility code for TQSignal

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/26/head
Michele Calgaro 1 year ago
parent 5918d4f6ef
commit 84ec648681
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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);

@ -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)
{
@ -112,13 +105,6 @@ Java_org_trinitydesktop_qt_QSignal_finalize(JNIEnv* env, jobject obj)
return;
}
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)
{
@ -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)
{

@ -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);

@ -15342,14 +15342,6 @@ id="0">
<qparam type="char*" name="member" default="0"/>
</qmethod>
<qmethod name="activate" access="public" return="void" id="0"/>
<qmethod name="isBlocked" access="public" return="bool" id="0"/>
<qmethod name="block" access="public" return="void" id="0">
<qparam type="bool" name="b"/>
</qmethod>
<qmethod name="setParameter" access="public" return="void" id="0">
<qparam type="int" name="value"/>
</qmethod>
<qmethod name="parameter" access="public" return="int" id="0"/>
<qmethod name="setValue" access="public" return="void" id="0">
<qparam type="TQVariantamp" name="value"/>
</qmethod>

Loading…
Cancel
Save