diff options
author | Darrell Anderson <[email protected]> | 2014-01-08 20:06:00 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2014-01-08 20:06:00 +0100 |
commit | 636f509299122d02087c6fd62e1e4a46dbd22026 (patch) | |
tree | 70e43efceeb5b00e7f19cdac8da44928bd2fb459 /tdejava/koala/tdejava/KMountPoint.cpp | |
parent | 719b61750c08343f530068ed4127623aeac71cf0 (diff) | |
download | tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.tar.gz tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.zip |
Rename many classes to avoid conflicts with KDE
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); +} + |