diff options
Diffstat (limited to 'tdejava/koala/tdejava/KNamedCommand.cpp')
-rw-r--r-- | tdejava/koala/tdejava/KNamedCommand.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tdejava/koala/tdejava/KNamedCommand.cpp b/tdejava/koala/tdejava/KNamedCommand.cpp new file mode 100644 index 00000000..3c45bcd0 --- /dev/null +++ b/tdejava/koala/tdejava/KNamedCommand.cpp @@ -0,0 +1,24 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <kcommand.h> +#include <tqstring.h> + +#include <qtjava/QtSupport.h> +#include <tdejava/TDESupport.h> +#include <tdejava/KNamedCommand.h> + +JNIEXPORT jstring JNICALL +Java_org_trinitydesktop_koala_KNamedCommand_name(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((KNamedCommand*) QtSupport::getQt(env, obj))->name(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KNamedCommand_setName(JNIEnv* env, jobject obj, jstring name) +{ +static TQString* _qstring_name = 0; + ((KNamedCommand*) QtSupport::getQt(env, obj))->setName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)); + return; +} + |