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

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

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KMountPoint_devNameFromOptions(JNIEnv* env, jclass cls, jobjectArray options)
{
	QString  _qstring;
	(void) cls;
static QStringList* _qlist_options = 0;
	_qstring = KMountPoint::devNameFromOptions((const QStringList&)*(QStringList*) QtSupport::toQStringList(env, options, &_qlist_options));
	return QtSupport::fromQString(env, &_qstring);
}

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

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

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

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

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

