diff options
Diffstat (limited to 'tdejava/koala/tdejava/KRegExpEditorInterface.cpp')
-rw-r--r-- | tdejava/koala/tdejava/KRegExpEditorInterface.cpp | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/tdejava/koala/tdejava/KRegExpEditorInterface.cpp b/tdejava/koala/tdejava/KRegExpEditorInterface.cpp new file mode 100644 index 00000000..9b59e174 --- /dev/null +++ b/tdejava/koala/tdejava/KRegExpEditorInterface.cpp @@ -0,0 +1,46 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +#include <kregexpeditorinterface.h> +#include <tqstring.h> + +#include <qtjava/QtSupport.h> +#include <tdejava/TDESupport.h> +#include <tdejava/KRegExpEditorInterface.h> + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KRegExpEditorInterface_redo(JNIEnv* env, jobject obj) +{ + ((KRegExpEditorInterface*) QtSupport::getQt(env, obj))->redo(); + return; +} + +JNIEXPORT jstring JNICALL +Java_org_trinitydesktop_koala_KRegExpEditorInterface_regExp(JNIEnv* env, jobject obj) +{ + TQString _qstring; + _qstring = ((KRegExpEditorInterface*) QtSupport::getQt(env, obj))->regExp(); + return QtSupport::fromTQString(env, &_qstring); +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KRegExpEditorInterface_setMatchText(JNIEnv* env, jobject obj, jstring arg1) +{ +static TQString* _qstring_arg1 = 0; + ((KRegExpEditorInterface*) QtSupport::getQt(env, obj))->setMatchText((const TQString&)*(TQString*) QtSupport::toTQString(env, arg1, &_qstring_arg1)); + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KRegExpEditorInterface_setRegExp(JNIEnv* env, jobject obj, jstring regexp) +{ +static TQString* _qstring_regexp = 0; + ((KRegExpEditorInterface*) QtSupport::getQt(env, obj))->setRegExp((const TQString&)*(TQString*) QtSupport::toTQString(env, regexp, &_qstring_regexp)); + return; +} + +JNIEXPORT void JNICALL +Java_org_trinitydesktop_koala_KRegExpEditorInterface_undo(JNIEnv* env, jobject obj) +{ + ((KRegExpEditorInterface*) QtSupport::getQt(env, obj))->undo(); + return; +} + |