Drop compatibility code for TQButton

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/22/head
Michele Calgaro 1 year ago
parent 1f00d69db7
commit 02712db157
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -4,7 +4,6 @@ require 'Korundum'
KDE::CmdLineArgs.init(ARGV, about) KDE::CmdLineArgs.init(ARGV, about)
a = KDE::Application.new() a = KDE::Application.new()
hello = TQt::PushButton.new( a.i18n("Hello World !"), nil ) hello = TQt::PushButton.new( a.i18n("Hello World !"), nil )
hello.autoResize = true
a.mainWidget = hello a.mainWidget = hello
hello.show hello.show

@ -50,8 +50,6 @@ public class TQButton extends TQWidget {
public native boolean isDown(); public native boolean isDown();
public native boolean isOn(); public native boolean isOn();
public native int state(); public native int state();
public native boolean autoResize();
public native void setAutoResize(boolean arg1);
public native boolean autoRepeat(); public native boolean autoRepeat();
public native void setAutoRepeat(boolean arg1); public native void setAutoRepeat(boolean arg1);
public native boolean isExclusiveToggle(); public native boolean isExclusiveToggle();

@ -473,13 +473,6 @@ Java_org_trinitydesktop_qt_QButton_autoRepeat(JNIEnv* env, jobject obj)
return xret; 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 JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QButton_className(JNIEnv* env, jobject obj) Java_org_trinitydesktop_qt_QButton_className(JNIEnv* env, jobject obj)
{ {
@ -700,13 +693,6 @@ Java_org_trinitydesktop_qt_QButton_setAutoRepeat(JNIEnv* env, jobject obj, jbool
return; return;
} }
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 JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QButton_setDown(JNIEnv* env, jobject obj, jboolean arg1) Java_org_trinitydesktop_qt_QButton_setDown(JNIEnv* env, jobject obj, jboolean arg1)
{ {

@ -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_isDown (JNIEnv *env, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QButton_isOn (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 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 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 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); extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QButton_isExclusiveToggle (JNIEnv *env, jobject);

@ -1187,10 +1187,6 @@ id="0">
<qmethod name="isDown" access="public" return="bool" id="0"/> <qmethod name="isDown" access="public" return="bool" id="0"/>
<qmethod name="isOn" access="public" return="bool" id="0"/> <qmethod name="isOn" access="public" return="bool" id="0"/>
<qmethod name="state" access="public" return="ToggleState" id="0"/> <qmethod name="state" access="public" return="ToggleState" id="0"/>
<qmethod name="autoResize" access="public" return="bool" id="0"/>
<qmethod name="setAutoResize" access="public" return="void" id="0">
<qparam type="bool" name="arg1"/>
</qmethod>
<qmethod name="autoRepeat" access="public" return="bool" id="0"/> <qmethod name="autoRepeat" access="public" return="bool" id="0"/>
<qmethod name="setAutoRepeat" access="public" return="void" id="0"> <qmethod name="setAutoRepeat" access="public" return="void" id="0">
<qparam type="bool" name="arg1"/> <qparam type="bool" name="arg1"/>

Loading…
Cancel
Save