summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib')
-rw-r--r--qtjava/javalib/org/trinitydesktop/qt/TQVariant.java6
-rw-r--r--qtjava/javalib/qtjava/TQVariant.cpp6
-rw-r--r--qtjava/javalib/qtjava/TQVariant.h2
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);