Drop compatibility code for TQPalette

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

@ -12,7 +12,6 @@ public class TQPalette implements QtSupport {
public static final int Active = 1; public static final int Active = 1;
public static final int Inactive = 2; public static final int Inactive = 2;
public static final int NColorGroups = 3; public static final int NColorGroups = 3;
public static final int Normal = Active;
public TQPalette() { public TQPalette() {
newTQPalette(); newTQPalette();
@ -44,11 +43,9 @@ public class TQPalette implements QtSupport {
public native TQColorGroup active(); public native TQColorGroup active();
public native TQColorGroup disabled(); public native TQColorGroup disabled();
public native TQColorGroup inactive(); public native TQColorGroup inactive();
public native TQColorGroup normal();
public native void setActive(TQColorGroup arg1); public native void setActive(TQColorGroup arg1);
public native void setDisabled(TQColorGroup arg1); public native void setDisabled(TQColorGroup arg1);
public native void setInactive(TQColorGroup arg1); public native void setInactive(TQColorGroup arg1);
public native void setNormal(TQColorGroup cg);
public native boolean op_equals(TQPalette p); public native boolean op_equals(TQPalette p);
public native boolean op_not_equals(TQPalette p); public native boolean op_not_equals(TQPalette p);
public native boolean isCopyOf(TQPalette arg1); public native boolean isCopyOf(TQPalette arg1);

@ -158,13 +158,6 @@ Java_org_trinitydesktop_qt_QPalette_newTQPalette__Lorg_trinitydesktop_qt_QPalett
return; return;
} }
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QPalette_normal(JNIEnv* env, jobject obj)
{
jobject xret = QtSupport::objectForQtKey(env, (void*)(TQColorGroup *) &((TQPalette*) QtSupport::getQt(env, obj))->normal(), "org.trinitydesktop.qt.TQColorGroup");
return xret;
}
JNIEXPORT jboolean JNICALL JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_qt_QPalette_op_1equals(JNIEnv* env, jobject obj, jobject p) Java_org_trinitydesktop_qt_QPalette_op_1equals(JNIEnv* env, jobject obj, jobject p)
{ {
@ -234,11 +227,3 @@ Java_org_trinitydesktop_qt_QPalette_setInactive(JNIEnv* env, jobject obj, jobjec
((TQPalette*) QtSupport::getQt(env, obj))->setInactive((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg1)); ((TQPalette*) QtSupport::getQt(env, obj))->setInactive((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, arg1));
return; return;
} }
JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QPalette_setNormal(JNIEnv* env, jobject obj, jobject cg)
{
((TQPalette*) QtSupport::getQt(env, obj))->setNormal((const TQColorGroup&)*(const TQColorGroup*) QtSupport::getQt(env, cg));
return;
}

@ -25,11 +25,9 @@ extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_qt_QPalette_copy (JNIEn
extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_qt_QPalette_active (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_qt_QPalette_active (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_qt_QPalette_disabled (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_qt_QPalette_disabled (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_qt_QPalette_inactive (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_qt_QPalette_inactive (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_trinitydesktop_qt_QPalette_normal (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QPalette_setActive (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QPalette_setActive (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QPalette_setDisabled (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QPalette_setDisabled (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QPalette_setInactive (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QPalette_setInactive (JNIEnv *env, jobject, jobject);
extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QPalette_setNormal (JNIEnv *env, jobject, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QPalette_op_1equals (JNIEnv *env, jobject, jobject); extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QPalette_op_1equals (JNIEnv *env, jobject, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QPalette_op_1not_1equals (JNIEnv *env, jobject, jobject); extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QPalette_op_1not_1equals (JNIEnv *env, jobject, jobject);
extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QPalette_isCopyOf (JNIEnv *env, jobject, jobject); extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QPalette_isCopyOf (JNIEnv *env, jobject, jobject);

@ -13070,7 +13070,6 @@ id="0">
<qmethod name="active" access="public" return="TQColorGroupamp" id="0"/> <qmethod name="active" access="public" return="TQColorGroupamp" id="0"/>
<qmethod name="disabled" access="public" return="TQColorGroupamp" id="0"/> <qmethod name="disabled" access="public" return="TQColorGroupamp" id="0"/>
<qmethod name="inactive" access="public" return="TQColorGroupamp" id="0"/> <qmethod name="inactive" access="public" return="TQColorGroupamp" id="0"/>
<qmethod name="normal" access="public" return="TQColorGroupamp" id="0"/>
<qmethod name="setActive" access="public" return="void" id="0"> <qmethod name="setActive" access="public" return="void" id="0">
<qparam type="TQColorGroupamp" name="arg1"/> <qparam type="TQColorGroupamp" name="arg1"/>
</qmethod> </qmethod>
@ -13080,9 +13079,6 @@ id="0">
<qmethod name="setInactive" access="public" return="void" id="0"> <qmethod name="setInactive" access="public" return="void" id="0">
<qparam type="TQColorGroupamp" name="arg1"/> <qparam type="TQColorGroupamp" name="arg1"/>
</qmethod> </qmethod>
<qmethod name="setNormal" access="public" return="void" id="0">
<qparam type="TQColorGroupamp" name="cg"/>
</qmethod>
<qmethod name="isCopyOf" access="public" return="bool" id="0"> <qmethod name="isCopyOf" access="public" return="bool" id="0">
<qparam type="TQPaletteamp" name="arg1"/> <qparam type="TQPaletteamp" name="arg1"/>
</qmethod> </qmethod>

Loading…
Cancel
Save