diff options
Diffstat (limited to 'tdejava/koala/tdejava/KSycocaEntry.cpp')
-rw-r--r-- | tdejava/koala/tdejava/KSycocaEntry.cpp | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/tdejava/koala/tdejava/KSycocaEntry.cpp b/tdejava/koala/tdejava/KSycocaEntry.cpp new file mode 100644 index 00000000..cbf852d8 --- /dev/null +++ b/tdejava/koala/tdejava/KSycocaEntry.cpp @@ -0,0 +1,95 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <tdesycocaentry.h> +#include <tqdatastream.h> +#include <tqstring.h> +#include <tqstringlist.h> +#include <tdesycocatype.h> + +#include <qtjava/QtSupport.h> +#include <tdejava/TDESupport.h> +#include <tdejava/KSycocaEntry.h> + +JNIEXPORT jstring JNICALL +Java_org_trinitydesktop_koala_KSycocaEntry_entryPath(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((KSycocaEntry*) QtSupport::getQt(env, obj))->entryPath(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jboolean JNICALL +Java_org_trinitydesktop_koala_KSycocaEntry_isDeleted(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((KSycocaEntry*) QtSupport::getQt(env, obj))->isDeleted(); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_trinitydesktop_koala_KSycocaEntry_isType(JNIEnv* env, jobject obj, jint t) +{ + jboolean xret = (jboolean) ((KSycocaEntry*) QtSupport::getQt(env, obj))->isType((KSycocaType) t); + return xret; +} + +JNIEXPORT jboolean JNICALL +Java_org_trinitydesktop_koala_KSycocaEntry_isValid(JNIEnv* env, jobject obj) +{ + jboolean xret = (jboolean) ((KSycocaEntry*) QtSupport::getQt(env, obj))->isValid(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KSycocaEntry_load(JNIEnv* env, jobject obj, jobject arg1) +{ + ((KSycocaEntry*) QtSupport::getQt(env, obj))->load((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, arg1)); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_trinitydesktop_koala_KSycocaEntry_name(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((KSycocaEntry*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT jint JNICALL +Java_org_trinitydesktop_koala_KSycocaEntry_offset(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((KSycocaEntry*) QtSupport::getQt(env, obj))->offset(); + return xret; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KSycocaEntry_read__Lorg_trinitydesktop_qt_QDataStream_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jobject s, jobject str) +{ + (void) cls; +static TQString* _qstring_str = 0; + KSycocaEntry::read((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (TQString&)*(TQString*) QtSupport::toTQStringFromStringBuffer(env, str, &_qstring_str)); + QtSupport::fromTQStringToStringBuffer(env, _qstring_str, str); + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KSycocaEntry_read__Lorg_trinitydesktop_qt_QDataStream_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject s, jobjectArray list) +{ + (void) cls; +static TQStringList* _qlist_list = 0; + KSycocaEntry::read((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s), (TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, list, &_qlist_list)); + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KSycocaEntry_save(JNIEnv* env, jobject obj, jobject s) +{ + ((KSycocaEntry*) QtSupport::getQt(env, obj))->save((TQDataStream&)*(TQDataStream*) QtSupport::getQt(env, s)); + return; +} + +JNIEXPORT jint JNICALL +Java_org_trinitydesktop_koala_KSycocaEntry_sycocaType(JNIEnv* env, jobject obj) +{ + jint xret = (jint) ((KSycocaEntry*) QtSupport::getQt(env, obj))->sycocaType(); + return xret; +} + |