summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-05-01 02:21:55 +0200
committerSlávek Banko <slavek.banko@axis.cz>2018-05-01 02:22:05 +0200
commitde8c59accdda07d72362c1f871b89e37bc85418f (patch)
tree2a4a494fa22323f312a3f1034ff81006ea2c5a37
parentf44ba9c06619c33a86f77258d068ed041eba7f30 (diff)
downloadtdebindings-de8c59accdda07d72362c1f871b89e37bc85418f.tar.gz
tdebindings-de8c59accdda07d72362c1f871b89e37bc85418f.zip
Updated following latest changes to tdelibs related to bug 2734.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit ad91a735750b37f4e2c7ffe46c55afa719d37709)
-rw-r--r--tdejava/koala/org/trinitydesktop/koala/KOpenWithDlg.java4
-rw-r--r--tdejava/koala/tdejava/KOpenWithDlg.cpp10
-rw-r--r--tdejava/koala/tdejava/KOpenWithDlg.h4
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);