//Auto-generated by kalyptus. DO NOT EDIT.
#include <ksycocaentry.h>
#include <qdatastream.h>
#include <qstring.h>
#include <qstringlist.h>
#include <ksycocatype.h>

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KSycocaEntry.h>

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KSycocaEntry_entryPath(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KSycocaEntry*) QtSupport::getQt(env, obj))->entryPath();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KSycocaEntry_isDeleted(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KSycocaEntry*) QtSupport::getQt(env, obj))->isDeleted();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_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_kde_koala_KSycocaEntry_isValid(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KSycocaEntry*) QtSupport::getQt(env, obj))->isValid();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSycocaEntry_load(JNIEnv* env, jobject obj, jobject arg1)
{
	((KSycocaEntry*) QtSupport::getQt(env, obj))->load((QDataStream&)*(QDataStream*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KSycocaEntry_name(JNIEnv* env, jobject obj)
{
	QString  _qstring;
	_qstring = ((KSycocaEntry*) QtSupport::getQt(env, obj))->name();
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KSycocaEntry_offset(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KSycocaEntry*) QtSupport::getQt(env, obj))->offset();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSycocaEntry_read__Lorg_kde_qt_QDataStream_2Ljava_lang_StringBuffer_2(JNIEnv* env, jclass cls, jobject s, jobject str)
{
	(void) cls;
static QString* _qstring_str = 0;
	KSycocaEntry::read((QDataStream&)*(QDataStream*) QtSupport::getQt(env, s), (QString&)*(QString*) QtSupport::toQStringFromStringBuffer(env, str, &_qstring_str));
	QtSupport::fromQStringToStringBuffer(env, _qstring_str, str);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSycocaEntry_read__Lorg_kde_qt_QDataStream_2_3Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject s, jobjectArray list)
{
	(void) cls;
static QStringList* _qlist_list = 0;
	KSycocaEntry::read((QDataStream&)*(QDataStream*) QtSupport::getQt(env, s), (QStringList&)*(QStringList*) QtSupport::toQStringList(env, list, &_qlist_list));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KSycocaEntry_save(JNIEnv* env, jobject obj, jobject s)
{
	((KSycocaEntry*) QtSupport::getQt(env, obj))->save((QDataStream&)*(QDataStream*) QtSupport::getQt(env, s));
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_koala_KSycocaEntry_sycocaType(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KSycocaEntry*) QtSupport::getQt(env, obj))->sycocaType();
	return xret;
}

