summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2018-05-01 00:21:55 (GMT)
committer Slávek Banko <slavek.banko@axis.cz>2018-05-01 00:21:55 (GMT)
commitad91a735750b37f4e2c7ffe46c55afa719d37709 (patch)
tree1450644c349f1e03758727ceff2fa594b2e40a24
parente586cb9494ea9b90f0b6126a5b515fe10c265c83 (diff)
downloadtdebindings-ad91a735.zip
tdebindings-ad91a735.tar.gz
Updated following latest changes to tdelibs related to bug 2734.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-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 de858f0..8a7e7ae 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 c6edfe9..ee711d3 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 f03d79e..d028d2c 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);