Fix tquickHelp

pull/1/head
Timothy Pearson 13 years ago
parent de75cac2ac
commit dc4bf37eaf

@ -599,10 +599,10 @@ static TQStringList* _qlist_args = 0;
} }
JNIEXPORT jstring JNICALL JNIEXPORT jstring JNICALL
Java_org_kde_koala_KCModule_tquickHelp(JNIEnv* env, jobject obj) Java_org_kde_koala_KCModule_quickHelp(JNIEnv* env, jobject obj)
{ {
TQString _qstring; TQString _qstring;
_qstring = ((KCModule*) QtSupport::getQt(env, obj))->tquickHelp(); _qstring = ((KCModule*) QtSupport::getQt(env, obj))->quickHelp();
return QtSupport::fromTQString(env, &_qstring); return QtSupport::fromTQString(env, &_qstring);
} }

@ -23,7 +23,7 @@ extern JNIEXPORT void JNICALL Java_org_kde_koala_KCModule_load (JNIEnv *env, job
extern JNIEXPORT void JNICALL Java_org_kde_koala_KCModule_save (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KCModule_save (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KCModule_defaults (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KCModule_defaults (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KCModule_sysdefaults (JNIEnv *env, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KCModule_sysdefaults (JNIEnv *env, jobject);
extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCModule_tquickHelp (JNIEnv *env, jobject); extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KCModule_quickHelp (JNIEnv *env, jobject);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCModule_aboutData (JNIEnv *env, jobject); extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KCModule_aboutData (JNIEnv *env, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KCModule_setAboutData (JNIEnv *env, jobject, jobject); extern JNIEXPORT void JNICALL Java_org_kde_koala_KCModule_setAboutData (JNIEnv *env, jobject, jobject);
extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCModule_buttons (JNIEnv *env, jobject); extern JNIEXPORT jint JNICALL Java_org_kde_koala_KCModule_buttons (JNIEnv *env, jobject);

@ -150,7 +150,7 @@ public class KCModule extends TQWidget {
@note make sure the tquick help text gets translated (use i18n()). @note make sure the tquick help text gets translated (use i18n()).
@short Return a tquick-help text. @short Return a tquick-help text.
*/ */
public native String tquickHelp(); public native String quickHelp();
/** /**
This is generally only called for the KBugReport. This is generally only called for the KBugReport.
If you override you should have it return a pointer to a constant. If you override you should have it return a pointer to a constant.

@ -21,5 +21,5 @@ public interface KCModuleSignals {
per-tab tquickhelp for example. per-tab tquickhelp for example.
@short Indicate that the module's tquickhelp has changed. @short Indicate that the module's tquickhelp has changed.
*/ */
void tquickHelpChanged(); void quickHelpChanged();
} }

Loading…
Cancel
Save