//Auto-generated by kalyptus. DO NOT EDIT.
#include <tdefilemetainfo.h>
#include <tqstring.h>
#include <tqvariant.h>

#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/KFileMetaInfoItem.h>

class KFileMetaInfoItemJBridge : public KFileMetaInfoItem
{
public:
	KFileMetaInfoItemJBridge(const KFileMetaInfoItem& arg1) : KFileMetaInfoItem(arg1) {};
	KFileMetaInfoItemJBridge() : KFileMetaInfoItem() {};
	void protected_setAdded() {
		KFileMetaInfoItem::setAdded();
		return;
	}
	void protected_setRemoved() {
		KFileMetaInfoItem::setRemoved();
		return;
	}
	void protected_ref() {
		KFileMetaInfoItem::ref();
		return;
	}
	void protected_deref() {
		KFileMetaInfoItem::deref();
		return;
	}
	~KFileMetaInfoItemJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_attributes(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->attributes();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_deref(JNIEnv* env, jobject obj)
{
	((KFileMetaInfoItemJBridge*) QtSupport::getQt(env, obj))->protected_deref();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_koala_KFileMetaInfoItem_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj)) {
		delete (KFileMetaInfoItem*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_hint(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->hint();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_isDisposed(JNIEnv* env, jobject obj)
{
	return (QtSupport::getQt(env, obj) == 0);
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_isEditable(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->isEditable();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_isModified(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->isModified();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_isRemoved(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->isRemoved();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_isValid(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->isValid();
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_key(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->key();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_newKFileMetaInfoItem__(JNIEnv* env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KFileMetaInfoItemJBridge());
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_newKFileMetaInfoItem__Lorg_trinitydesktop_koala_KFileMetaInfoItem_2(JNIEnv* env, jobject obj, jobject item)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KFileMetaInfoItemJBridge((const KFileMetaInfoItem&)*(const KFileMetaInfoItem*) QtSupport::getQt(env, item)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_prefix(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->prefix();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_ref(JNIEnv* env, jobject obj)
{
	((KFileMetaInfoItemJBridge*) QtSupport::getQt(env, obj))->protected_ref();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_setAdded(JNIEnv* env, jobject obj)
{
	((KFileMetaInfoItemJBridge*) QtSupport::getQt(env, obj))->protected_setAdded();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_setRemoved(JNIEnv* env, jobject obj)
{
	((KFileMetaInfoItemJBridge*) QtSupport::getQt(env, obj))->protected_setRemoved();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_setValue(JNIEnv* env, jobject obj, jobject value)
{
	jboolean xret = (jboolean) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->setValue((const TQVariant&)*(const TQVariant*) QtSupport::getQt(env, value));
	return xret;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_string__(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->string();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_string__Z(JNIEnv* env, jobject obj, jboolean mangle)
{
	TQString  _qstring;
	_qstring = ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->string((bool) mangle);
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_suffix(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->suffix();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_translatedKey(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->translatedKey();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_type(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->type();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KFileMetaInfoItem_value(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQVariant *) &((KFileMetaInfoItem*) QtSupport::getQt(env, obj))->value(), "org.trinitydesktop.qt.TQVariant");
	return xret;
}

