diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QMetaProperty.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QMetaProperty.cpp | 208 |
1 files changed, 0 insertions, 208 deletions
diff --git a/qtjava/javalib/qtjava/QMetaProperty.cpp b/qtjava/javalib/qtjava/QMetaProperty.cpp deleted file mode 100644 index e4c8f194..00000000 --- a/qtjava/javalib/qtjava/QMetaProperty.cpp +++ /dev/null @@ -1,208 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqstrlist.h> -#include <tqmetaobject.h> - -#include <qtjava/QtSupport.h> -#include <qtjava/QMetaProperty.h> - -class TQMetaPropertyJBridge : public TQMetaProperty -{ -public: - TQMetaPropertyJBridge() : TQMetaProperty() {}; - ~TQMetaPropertyJBridge() {QtSupport::qtKeyDeleted(this);} -}; - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMetaProperty_clear(JNIEnv* env, jobject obj) -{ - ((TQMetaProperty*) QtSupport::getQt(env, obj))->clear(); - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaProperty_designable__(JNIEnv* env, jobject obj) -{ - 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) ((TQMetaProperty*) QtSupport::getQt(env, obj))->designable((TQObject*) QtSupport::getQt(env, arg1)); - return xret; -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMetaProperty_dispose(JNIEnv* env, jobject obj) -{ - Java_org_kde_qt_QMetaProperty_finalize(env, obj); - return; -} - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QMetaProperty_enumKeys(JNIEnv* env, jobject obj) -{ - 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 (TQMetaProperty*)QtSupport::getQt(env, obj); - QtSupport::setQt(env, obj, 0); - } - return; -} - -JNIEXPORT jint JNICALL -Java_org_kde_qt_QMetaProperty_id(JNIEnv* env, jobject obj) -{ - jint xret = (jint) ((TQMetaProperty*) QtSupport::getQt(env, obj))->id(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaProperty_isDisposed(JNIEnv* env, jobject obj) -{ - return (QtSupport::getQt(env, obj) == 0); -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaProperty_isEnumType(JNIEnv* env, jobject obj) -{ - 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) ((TQMetaProperty*) QtSupport::getQt(env, obj))->isSetType(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaProperty_isValid(JNIEnv* env, jobject obj) -{ - 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 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 TQStrList* _qlist_keys = 0; - jint xret = (jint) ((TQMetaProperty*) QtSupport::getQt(env, obj))->keysToValue((const TQStrList&)*(TQStrList*) QtSupport::toTQStrList(env, keys, &_qlist_keys)); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMetaProperty_name(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQMetaProperty*) QtSupport::getQt(env, obj))->name(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT void JNICALL -Java_org_kde_qt_QMetaProperty_newTQMetaProperty(JNIEnv* env, jobject obj) -{ - if (QtSupport::getQt(env, obj) == 0) { - QtSupport::setQt(env, obj, new TQMetaPropertyJBridge()); - QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); - } - return; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaProperty_reset(JNIEnv* env, jobject obj, jobject 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) ((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) ((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) ((TQMetaProperty*) QtSupport::getQt(env, obj))->stdSet(); - return xret; -} - -JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QMetaProperty_stored__(JNIEnv* env, jobject obj) -{ - 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) ((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) ((TQMetaProperty*) QtSupport::getQt(env, obj))->testFlags((uint) f); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMetaProperty_type(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQMetaProperty*) QtSupport::getQt(env, obj))->type(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QMetaProperty_valueToKey(JNIEnv* env, jobject obj, jint value) -{ - const char* _qstring; - _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) -{ - 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) ((TQMetaProperty*) QtSupport::getQt(env, obj))->writable(); - return xret; -} - |