diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-26 00:37:52 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-05-26 00:37:52 +0900 |
commit | 9055b21d6a4e7da5a959336eec39471b63490ee3 (patch) | |
tree | 2e164be46f1dc26250a649eeb151f2e05be1d9a7 /qtjava | |
parent | 4fd9c591139bcdabe1cc290385bc5767b37b5ed5 (diff) | |
download | tdebindings-9055b21d6a4e7da5a959336eec39471b63490ee3.tar.gz tdebindings-9055b21d6a4e7da5a959336eec39471b63490ee3.zip |
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'qtjava')
-rw-r--r-- | qtjava/javalib/org/trinitydesktop/qt/TQVariant.java | 6 | ||||
-rw-r--r-- | qtjava/javalib/qtjava/TQVariant.cpp | 6 | ||||
-rw-r--r-- | qtjava/javalib/qtjava/TQVariant.h | 2 |
3 files changed, 7 insertions, 7 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQVariant.java b/qtjava/javalib/org/trinitydesktop/qt/TQVariant.java index 2e9e7994..45d092de 100644 --- a/qtjava/javalib/org/trinitydesktop/qt/TQVariant.java +++ b/qtjava/javalib/org/trinitydesktop/qt/TQVariant.java @@ -158,10 +158,10 @@ public class TQVariant implements QtSupport { newTQVariant(arg1); } private native void newTQVariant(long arg1); - public TQVariant(boolean arg1, int arg2) { - newTQVariant(arg1,arg2); + public TQVariant(boolean arg1) { + newTQVariant(arg1); } - private native void newTQVariant(boolean arg1, int arg2); + private native void newTQVariant(boolean arg1); public TQVariant(double arg1) { newTQVariant(arg1); } diff --git a/qtjava/javalib/qtjava/TQVariant.cpp b/qtjava/javalib/qtjava/TQVariant.cpp index 66802a44..4faeca81 100644 --- a/qtjava/javalib/qtjava/TQVariant.cpp +++ b/qtjava/javalib/qtjava/TQVariant.cpp @@ -58,7 +58,7 @@ public: TQVariantJBridge(const TQPen& arg1) : TQVariant(arg1) {}; TQVariantJBridge(int arg1) : TQVariant(arg1) {}; TQVariantJBridge(TQ_LLONG arg1) : TQVariant(arg1) {}; - TQVariantJBridge(bool arg1,int arg2) : TQVariant(arg1,arg2) {}; + TQVariantJBridge(bool arg1) : TQVariant(arg1) {}; TQVariantJBridge(double arg1) : TQVariant(arg1) {}; TQVariantJBridge(TQSizePolicy arg1) : TQVariant(arg1) {}; ~TQVariantJBridge() {QtSupport::qtKeyDeleted(this);} @@ -622,10 +622,10 @@ Java_org_trinitydesktop_qt_QVariant_newTQVariant__Lorg_trinitydesktop_qt_QVarian } JNIEXPORT void JNICALL -Java_org_trinitydesktop_qt_QVariant_newTQVariant__ZI(JNIEnv* env, jobject obj, jboolean arg1, jint arg2) +Java_org_trinitydesktop_qt_QVariant_newTQVariant__ZI(JNIEnv* env, jobject obj, jboolean arg1) { if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQVariantJBridge((bool) arg1, (int) arg2)); + QtSupport::setQt(env, obj, new TQVariantJBridge((bool) arg1)); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); } return; diff --git a/qtjava/javalib/qtjava/TQVariant.h b/qtjava/javalib/qtjava/TQVariant.h index 30e15158..d0c1c9ed 100644 --- a/qtjava/javalib/qtjava/TQVariant.h +++ b/qtjava/javalib/qtjava/TQVariant.h @@ -37,7 +37,7 @@ extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QVariant_newTQVariant__ extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QVariant_newTQVariant__Lorg_trinitydesktop_qt_QPen_2 (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QVariant_newTQVariant__I (JNIEnv *env, jobject, jint); extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QVariant_newTQVariant__J (JNIEnv *env, jobject, jlong); -extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QVariant_newTQVariant__ZI (JNIEnv *env, jobject, jboolean, jint); +extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QVariant_newTQVariant__ZI (JNIEnv *env, jobject, jboolean); extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QVariant_newTQVariant__D (JNIEnv *env, jobject, jdouble); extern JNIEXPORT void JNICALL Java_org_trinitydesktop_qt_QVariant_newTQVariant__Lorg_trinitydesktop_qt_QSizePolicy_2 (JNIEnv *env, jobject, jobject); extern JNIEXPORT jboolean JNICALL Java_org_trinitydesktop_qt_QVariant_op_1equals (JNIEnv *env, jobject, jobject); |