diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QMetaProperty.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QMetaProperty.cpp | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/qtjava/javalib/qtjava/QMetaProperty.cpp b/qtjava/javalib/qtjava/QMetaProperty.cpp index 7557b2e7..e335efcd 100644 --- a/qtjava/javalib/qtjava/QMetaProperty.cpp +++ b/qtjava/javalib/qtjava/QMetaProperty.cpp @@ -8,28 +8,28 @@ class TQMetaPropertyJBridge : public TQMetaProperty { public: - TQMetaPropertyJBridge() : TTQMetaProperty() {}; + TQMetaPropertyJBridge() : TQMetaProperty() {}; ~TQMetaPropertyJBridge() {QtSupport::qtKeyDeleted(this);} }; JNIEXPORT void JNICALL Java_org_kde_qt_QMetaProperty_clear(JNIEnv* env, jobject obj) { - ((TTQMetaProperty*) QtSupport::getQt(env, obj))->clear(); + ((TQMetaProperty*) QtSupport::getQt(env, obj))->clear(); return; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_designable__(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->designable(); + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->designable(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_designable__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject arg1) { - jboolean xret = (jboolean) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->designable((TTQObject*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->designable((TQObject*) QtSupport::getQt(env, arg1)); return xret; } @@ -43,16 +43,16 @@ Java_org_kde_qt_QMetaProperty_dispose(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaProperty_enumKeys(JNIEnv* env, jobject obj) { - TTQStrList _qlist; - _qlist = ((TTQMetaProperty*) QtSupport::getQt(env, obj))->enumKeys(); - return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_qlist); + TQStrList _qlist; + _qlist = ((TQMetaProperty*) QtSupport::getQt(env, obj))->enumKeys(); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); } JNIEXPORT void JNICALL Java_org_kde_qt_QMetaProperty_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TTQMetaProperty*)QtSupport::getQt(env, obj); + delete (TQMetaProperty*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -61,7 +61,7 @@ Java_org_kde_qt_QMetaProperty_finalize(JNIEnv* env, jobject obj) JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaProperty_id(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->id(); + jint xret = (jint) ((TQMetaProperty*) QtSupport::getQt(env, obj))->id(); return xret; } @@ -74,37 +74,37 @@ Java_org_kde_qt_QMetaProperty_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_isEnumType(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->isEnumType(); + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->isEnumType(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_isSetType(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->isSetType(); + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->isSetType(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_isValid(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->isValid(); + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->isValid(); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaProperty_keyToValue(JNIEnv* env, jobject obj, jstring key) { -static TTQCString* _qstring_key = 0; - jint xret = (jint) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->keyToValue((const char*) QtSupport::toCharString(env, key, &_qstring_key)); +static TQCString* _qstring_key = 0; + jint xret = (jint) ((TQMetaProperty*) QtSupport::getQt(env, obj))->keyToValue((const char*) QtSupport::toCharString(env, key, &_qstring_key)); return xret; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMetaProperty_keysToValue(JNIEnv* env, jobject obj, jobjectArray keys) { -static TTQStrList* _qlist_keys = 0; - jint xret = (jint) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->keysToValue((const TTQStrList&)*(TTQStrList*) QtSupport::toTQStrList(env, keys, &_qlist_keys)); +static TQStrList* _qlist_keys = 0; + jint xret = (jint) ((TQMetaProperty*) QtSupport::getQt(env, obj))->keysToValue((const TQStrList&)*(TQStrList*) QtSupport::toTQStrList(env, keys, &_qlist_keys)); return xret; } @@ -112,7 +112,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QMetaProperty_name(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TTQMetaProperty*) QtSupport::getQt(env, obj))->name(); + _qstring = ((TQMetaProperty*) QtSupport::getQt(env, obj))->name(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -129,49 +129,49 @@ Java_org_kde_qt_QMetaProperty_newTQMetaProperty(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_reset(JNIEnv* env, jobject obj, jobject arg1) { - jboolean xret = (jboolean) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->reset((TTQObject*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->reset((TQObject*) QtSupport::getQt(env, arg1)); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_scriptable__(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->scriptable(); + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->scriptable(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_scriptable__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject arg1) { - jboolean xret = (jboolean) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->scriptable((TTQObject*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->scriptable((TQObject*) QtSupport::getQt(env, arg1)); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_stdSet(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->stdSet(); + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->stdSet(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_stored__(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->stored(); + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->stored(); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_stored__Lorg_kde_qt_QObject_2(JNIEnv* env, jobject obj, jobject arg1) { - jboolean xret = (jboolean) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->stored((TTQObject*) QtSupport::getQt(env, arg1)); + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->stored((TQObject*) QtSupport::getQt(env, arg1)); return xret; } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_testFlags(JNIEnv* env, jobject obj, jint f) { - jboolean xret = (jboolean) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->testFlags((uint) f); + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->testFlags((uint) f); return xret; } @@ -179,7 +179,7 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QMetaProperty_type(JNIEnv* env, jobject obj) { const char* _qstring; - _qstring = ((TTQMetaProperty*) QtSupport::getQt(env, obj))->type(); + _qstring = ((TQMetaProperty*) QtSupport::getQt(env, obj))->type(); return QtSupport::fromCharString(env, (char *) _qstring); } @@ -187,22 +187,22 @@ JNIEXPORT jstring JNICALL Java_org_kde_qt_QMetaProperty_valueToKey(JNIEnv* env, jobject obj, jint value) { const char* _qstring; - _qstring = ((TTQMetaProperty*) QtSupport::getQt(env, obj))->valueToKey((int) value); + _qstring = ((TQMetaProperty*) QtSupport::getQt(env, obj))->valueToKey((int) value); return QtSupport::fromCharString(env, (char *) _qstring); } JNIEXPORT jobject JNICALL Java_org_kde_qt_QMetaProperty_valueToKeys(JNIEnv* env, jobject obj, jint value) { - TTQStrList _qlist; - _qlist = ((TTQMetaProperty*) QtSupport::getQt(env, obj))->valueToKeys((int) value); - return (jobject) QtSupport::arrayWithTQStrList(env, (TTQStrList*) &_qlist); + TQStrList _qlist; + _qlist = ((TQMetaProperty*) QtSupport::getQt(env, obj))->valueToKeys((int) value); + return (jobject) QtSupport::arrayWithTQStrList(env, (TQStrList*) &_qlist); } JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMetaProperty_writable(JNIEnv* env, jobject obj) { - jboolean xret = (jboolean) ((TTQMetaProperty*) QtSupport::getQt(env, obj))->writable(); + jboolean xret = (jboolean) ((TQMetaProperty*) QtSupport::getQt(env, obj))->writable(); return xret; } |