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

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

class KURIFilterDataJBridge : public KURIFilterData
{
public:
	KURIFilterDataJBridge() : KURIFilterData() {};
	KURIFilterDataJBridge(const KURL& arg1) : KURIFilterData(arg1) {};
	KURIFilterDataJBridge(const TQString& arg1) : KURIFilterData(arg1) {};
	KURIFilterDataJBridge(const KURIFilterData& arg1) : KURIFilterData(arg1) {};
	void protected_init(const KURL& arg1) {
		KURIFilterData::init(arg1);
		return;
	}
	void protected_init(const TQString& arg1) {
		KURIFilterData::init(arg1);
		return;
	}
	void protected_init() {
		KURIFilterData::init();
		return;
	}
	~KURIFilterDataJBridge() {QtSupport::qtKeyDeleted(this);}
};

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

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KURIFilterData_checkForExecutables(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KURIFilterData*) QtSupport::getQt(env, obj))->checkForExecutables();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURIFilterData_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_koala_KURIFilterData_finalize(env, obj);
	return;
}

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

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

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KURIFilterData_hasAbsolutePath(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KURIFilterData*) QtSupport::getQt(env, obj))->hasAbsolutePath();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KURIFilterData_hasArgsAndOptions(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((KURIFilterData*) QtSupport::getQt(env, obj))->hasArgsAndOptions();
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURIFilterData_init__(JNIEnv* env, jobject obj)
{
	((KURIFilterDataJBridge*) QtSupport::getQt(env, obj))->protected_init();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURIFilterData_init__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url)
{
static TQString* _qstring_url = 0;
	((KURIFilterDataJBridge*) QtSupport::getQt(env, obj))->protected_init((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURIFilterData_init__Lorg_trinitydesktop_koala_KURL_2(JNIEnv* env, jobject obj, jobject url)
{
	((KURIFilterDataJBridge*) QtSupport::getQt(env, obj))->protected_init((const KURL&)*(const KURL*) QtSupport::getQt(env, url));
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURIFilterData_newKURIFilterData__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url)
{
static TQString* _qstring_url = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KURIFilterDataJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURIFilterData_newKURIFilterData__Lorg_trinitydesktop_koala_KURIFilterData_2(JNIEnv* env, jobject obj, jobject data)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KURIFilterDataJBridge((const KURIFilterData&)*(const KURIFilterData*) QtSupport::getQt(env, data)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURIFilterData_newKURIFilterData__Lorg_trinitydesktop_koala_KURL_2(JNIEnv* env, jobject obj, jobject url)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new KURIFilterDataJBridge((const KURL&)*(const KURL*) QtSupport::getQt(env, url)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_KURIFilterData_setAbsolutePath(JNIEnv* env, jobject obj, jstring abs_path)
{
static TQString* _qstring_abs_path = 0;
	jboolean xret = (jboolean) ((KURIFilterData*) QtSupport::getQt(env, obj))->setAbsolutePath((const TQString&)*(TQString*) QtSupport::toTQString(env, abs_path, &_qstring_abs_path));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURIFilterData_setCheckForExecutables(JNIEnv* env, jobject obj, jboolean check)
{
	((KURIFilterData*) QtSupport::getQt(env, obj))->setCheckForExecutables((bool) check);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURIFilterData_setData__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring url)
{
static TQString* _qstring_url = 0;
	((KURIFilterData*) QtSupport::getQt(env, obj))->setData((const TQString&)*(TQString*) QtSupport::toTQString(env, url, &_qstring_url));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KURIFilterData_setData__Lorg_trinitydesktop_koala_KURL_2(JNIEnv* env, jobject obj, jobject url)
{
	((KURIFilterData*) QtSupport::getQt(env, obj))->setData((const KURL&)*(const KURL*) QtSupport::getQt(env, url));
	return;
}

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_KURIFilterData_uriType(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KURIFilterData*) QtSupport::getQt(env, obj))->uriType();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KURIFilterData_uri(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new KURL(((KURIFilterData*) QtSupport::getQt(env, obj))->uri()), "org.trinitydesktop.koala.KURL", TRUE);
	return xret;
}

