diff options
Diffstat (limited to 'tdejava/koala/tdejava/KMountPoint.cpp')
-rw-r--r-- | tdejava/koala/tdejava/KMountPoint.cpp | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/tdejava/koala/tdejava/KMountPoint.cpp b/tdejava/koala/tdejava/KMountPoint.cpp new file mode 100644 index 00000000..b549cc05 --- /dev/null +++ b/tdejava/koala/tdejava/KMountPoint.cpp @@ -0,0 +1,59 @@ +//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); +} + |