diff options
author | Slávek Banko <[email protected]> | 2018-05-01 02:21:55 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2018-05-01 02:22:05 +0200 |
commit | de8c59accdda07d72362c1f871b89e37bc85418f (patch) | |
tree | 2a4a494fa22323f312a3f1034ff81006ea2c5a37 /tdejava | |
parent | f44ba9c06619c33a86f77258d068ed041eba7f30 (diff) | |
download | tdebindings-de8c59accdda07d72362c1f871b89e37bc85418f.tar.gz tdebindings-de8c59accdda07d72362c1f871b89e37bc85418f.zip |
Updated following latest changes to tdelibs related to bug 2734.
Signed-off-by: Slávek Banko <[email protected]>
(cherry picked from commit ad91a735750b37f4e2c7ffe46c55afa719d37709)
Diffstat (limited to 'tdejava')
-rw-r--r-- | tdejava/koala/org/trinitydesktop/koala/KOpenWithDlg.java | 4 | ||||
-rw-r--r-- | tdejava/koala/tdejava/KOpenWithDlg.cpp | 10 | ||||
-rw-r--r-- | tdejava/koala/tdejava/KOpenWithDlg.h | 4 |
3 files changed, 10 insertions, 8 deletions
diff --git a/tdejava/koala/org/trinitydesktop/koala/KOpenWithDlg.java b/tdejava/koala/org/trinitydesktop/koala/KOpenWithDlg.java index de858f09..8a7e7ae6 100644 --- a/tdejava/koala/org/trinitydesktop/koala/KOpenWithDlg.java +++ b/tdejava/koala/org/trinitydesktop/koala/KOpenWithDlg.java @@ -129,8 +129,8 @@ public class KOpenWithDlg extends TQDialog { @short The slot for clearing the edit widget */ public native void slotClear(); - public native void slotSelected(String _name, String _exec); - public native void slotHighlighted(String _name, String _exec); + public native void slotSelected(String _name, String _exec, String _desktopPath); + public native void slotHighlighted(String _name, String _exec, String _desktopPath); public native void slotTextChanged(); public native void slotTerminalToggled(boolean arg1); public native void slotDbClick(); diff --git a/tdejava/koala/tdejava/KOpenWithDlg.cpp b/tdejava/koala/tdejava/KOpenWithDlg.cpp index c6edfe90..ee711d34 100644 --- a/tdejava/koala/tdejava/KOpenWithDlg.cpp +++ b/tdejava/koala/tdejava/KOpenWithDlg.cpp @@ -557,11 +557,12 @@ Java_org_trinitydesktop_koala_KOpenWithDlg_slotDbClick(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_trinitydesktop_koala_KOpenWithDlg_slotHighlighted(JNIEnv* env, jobject obj, jstring _name, jstring _exec) +Java_org_trinitydesktop_koala_KOpenWithDlg_slotHighlighted(JNIEnv* env, jobject obj, jstring _name, jstring _exec, jstring _desktopPath) { static TQString* _qstring__name = 0; static TQString* _qstring__exec = 0; - ((KOpenWithDlg*) QtSupport::getQt(env, obj))->slotHighlighted((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec)); +static TQString* _qstring__desktopPath = 0; + ((KOpenWithDlg*) QtSupport::getQt(env, obj))->slotHighlighted((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec), (const TQString&)*(TQString*) QtSupport::toTQString(env, _desktopPath, &_qstring__desktopPath)); return; } @@ -573,11 +574,12 @@ Java_org_trinitydesktop_koala_KOpenWithDlg_slotOK(JNIEnv* env, jobject obj) } JNIEXPORT void JNICALL -Java_org_trinitydesktop_koala_KOpenWithDlg_slotSelected(JNIEnv* env, jobject obj, jstring _name, jstring _exec) +Java_org_trinitydesktop_koala_KOpenWithDlg_slotSelected(JNIEnv* env, jobject obj, jstring _name, jstring _exec, jstring _desktopPath) { static TQString* _qstring__name = 0; static TQString* _qstring__exec = 0; - ((KOpenWithDlg*) QtSupport::getQt(env, obj))->slotSelected((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec)); +static TQString* _qstring__desktopPath = 0; + ((KOpenWithDlg*) QtSupport::getQt(env, obj))->slotSelected((const TQString&)*(TQString*) QtSupport::toTQString(env, _name, &_qstring__name), (const TQString&)*(TQString*) QtSupport::toTQString(env, _exec, &_qstring__exec), (const TQString&)*(TQString*) QtSupport::toTQString(env, _desktopPath, &_qstring__desktopPath)); return; } diff --git a/tdejava/koala/tdejava/KOpenWithDlg.h b/tdejava/koala/tdejava/KOpenWithDlg.h index f03d79ef..d028d2cf 100644 --- a/tdejava/koala/tdejava/KOpenWithDlg.h +++ b/tdejava/koala/tdejava/KOpenWithDlg.h @@ -25,8 +25,8 @@ extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KOpenWithDlg_hideNoC extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KOpenWithDlg_hideRunInTerminal (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KOpenWithDlg_setSaveNewApplications (JNIEnv *env, jobject, jboolean); extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KOpenWithDlg_slotClear (JNIEnv *env, jobject); -extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KOpenWithDlg_slotSelected (JNIEnv *env, jobject, jstring, jstring); -extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KOpenWithDlg_slotHighlighted (JNIEnv *env, jobject, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KOpenWithDlg_slotSelected (JNIEnv *env, jobject, jstring, jstring, jstring); +extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KOpenWithDlg_slotHighlighted (JNIEnv *env, jobject, jstring, jstring, jstring); extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KOpenWithDlg_slotTextChanged (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KOpenWithDlg_slotTerminalToggled (JNIEnv *env, jobject, jboolean); extern JNIEXPORT void JNICALL Java_org_trinitydesktop_koala_KOpenWithDlg_slotDbClick (JNIEnv *env, jobject); |