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

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KMountPoint_devNameFromOptions(JNIEnv* env, jclass cls, jobjectArray options)
{
	TQString  _qstring;
	(void) cls;
static TQStringList* _qlist_options = 0;
	_qstring = KMountPoint::devNameFromOptions((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, options, &_qlist_options));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KMountPoint_mountOptions(JNIEnv* env, jobject obj)
{
	TQStringList  _qlist;
	_qlist = ((KMountPoint*) QtSupport::getQt(env, obj))->mountOptions();
	return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}

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

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

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

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

