summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QMenuData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/qtjava/QMenuData.cpp')
-rw-r--r--qtjava/javalib/qtjava/QMenuData.cpp767
1 files changed, 0 insertions, 767 deletions
diff --git a/qtjava/javalib/qtjava/QMenuData.cpp b/qtjava/javalib/qtjava/QMenuData.cpp
deleted file mode 100644
index fd1076a4..00000000
--- a/qtjava/javalib/qtjava/QMenuData.cpp
+++ /dev/null
@@ -1,767 +0,0 @@
-//Auto-generated by kalyptus. DO NOT EDIT.
-#include <tqstring.h>
-#include <tqmenudata.h>
-#include <tqpixmap.h>
-#include <tqiconset.h>
-#include <tqkeysequence.h>
-
-#include <qtjava/QtSupport.h>
-#include <qtjava/JavaSlot.h>
-#include <qtjava/QMenuData.h>
-
-class TQMenuDataJBridge : public TQMenuData
-{
-public:
- TQMenuDataJBridge() : TQMenuData() {};
- void protected_menuContentsChanged() {
- TQMenuData::menuContentsChanged();
- return;
- }
- void protected_menuStateChanged() {
- TQMenuData::menuStateChanged();
- return;
- }
- void protected_menuInsPopup(TQPopupMenu* arg1) {
- TQMenuData::menuInsPopup(arg1);
- return;
- }
- void protected_menuDelPopup(TQPopupMenu* arg1) {
- TQMenuData::menuDelPopup(arg1);
- return;
- }
- ~TQMenuDataJBridge() {QtSupport::qtKeyDeleted(this);}
-};
-
-JNIEXPORT jobject JNICALL
-Java_org_kde_qt_QMenuData_accel(JNIEnv* env, jobject obj, jint id)
-{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((TQMenuData*) QtSupport::getQt(env, obj))->accel((int) id)), "org.kde.qt.TQKeySequence", TRUE);
- return xret;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_activateItemAt(JNIEnv* env, jobject obj, jint index)
-{
- ((TQMenuData*) QtSupport::getQt(env, obj))->activateItemAt((int) index);
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_changeItem__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jstring text)
-{
-static TQString* _qstring_text = 0;
- ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text));
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_changeItem__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint id, jobject icon, jstring text)
-{
-static TQString* _qstring_text = 0;
- ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text));
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_changeItem__ILorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint id, jobject icon, jobject pixmap)
-{
- ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap));
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_changeItem__ILorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint id, jobject pixmap)
-{
- ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap));
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_changeItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id)
-{
-static TQString* _qstring_text = 0;
- ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id);
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_changeItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id)
-{
-static TQString* _qstring_text = 0;
- ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id);
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_changeItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id)
-{
- ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id);
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_clear(JNIEnv* env, jobject obj)
-{
- ((TQMenuData*) QtSupport::getQt(env, obj))->clear();
- return;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_count(JNIEnv* env, jobject obj)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->count();
- return xret;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_dispose(JNIEnv* env, jobject obj)
-{
- Java_org_kde_qt_QMenuData_finalize(env, obj);
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_finalize(JNIEnv* env, jobject obj)
-{
- if (QtSupport::allocatedInJavaWorld(env, obj)) {
- delete (TQMenuData*)QtSupport::getQt(env, obj);
- QtSupport::setQt(env, obj, 0);
- }
- return;
-}
-
-JNIEXPORT jobject JNICALL
-Java_org_kde_qt_QMenuData_findItem(JNIEnv* env, jobject obj, jint id)
-{
- jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*) QtSupport::getQt(env, obj))->findItem((int) id), "org.kde.qt.TQMenuItem");
- return xret;
-}
-
-JNIEXPORT jobject JNICALL
-Java_org_kde_qt_QMenuData_findPopup__Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject arg1)
-{
- jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*) QtSupport::getQt(env, obj))->findPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQMenuItem");
- return xret;
-}
-
-JNIEXPORT jobject JNICALL
-Java_org_kde_qt_QMenuData_findPopup__Lorg_kde_qt_QPopupMenu_2_3I(JNIEnv* env, jobject obj, jobject arg1, jintArray index)
-{
- int* _int_index = QtSupport::toIntPtr(env, index);
- jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*) QtSupport::getQt(env, obj))->findPopup((TQPopupMenu*) QtSupport::getQt(env, arg1), (int*) _int_index), "org.kde.qt.TQMenuItem");
- env->SetIntArrayRegion(index, 0, 1, (jint *) _int_index);
- return xret;
-}
-
-JNIEXPORT jobject JNICALL
-Java_org_kde_qt_QMenuData_iconSet(JNIEnv* env, jobject obj, jint id)
-{
- jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*) QtSupport::getQt(env, obj))->iconSet((int) id), "org.kde.qt.TQIconSet");
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_idAt(JNIEnv* env, jobject obj, jint index)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->idAt((int) index);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_indexOf(JNIEnv* env, jobject obj, jint id)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->indexOf((int) id);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text)
-{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text));
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id)
-{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jint index)
-{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) index);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel)
-{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel));
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel, jint id)
-{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jstring text, jobject popup)
-{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup));
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jstring text, jobject popup, jint id)
-{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jstring text, jobject popup, jint id, jint index)
-{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QCustomMenuItem_2(JNIEnv* env, jobject obj, jobject custom)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom));
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QCustomMenuItem_2I(JNIEnv* env, jobject obj, jobject custom, jint id)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QCustomMenuItem_2II(JNIEnv* env, jobject obj, jobject custom, jint id, jint index)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text)
-{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text));
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id)
-{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id, jint index)
-{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) index);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel)
-{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel));
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel, jint id)
-{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel, jint id, jint index)
-{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup)
-{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup));
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup, jint id)
-{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup, jint id, jint index)
-{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toTQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2(JNIEnv* env, jobject obj, jobject icon, jobject custom)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom));
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2I(JNIEnv* env, jobject obj, jobject icon, jobject custom, jint id)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2II(JNIEnv* env, jobject obj, jobject icon, jobject custom, jint id, jint index)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap));
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jint id)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jint id, jint index)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel));
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id, jint index)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup));
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup, jint id)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup, jint id, jint index)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap));
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject pixmap, jint id, jint index)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel));
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id, jint index)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject pixmap, jobject popup)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup));
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject popup, jint id)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject pixmap, jobject popup, jint id, jint index)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget));
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint id)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget), (int) id);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject widget, jint id, jint index)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget), (int) id, (int) index);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertSeparator__(JNIEnv* env, jobject obj)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertSeparator();
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertSeparator__I(JNIEnv* env, jobject obj, jint index)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertSeparator((int) index);
- return xret;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_qt_QMenuData_isDisposed(JNIEnv* env, jobject obj)
-{
- return (QtSupport::getQt(env, obj) == 0);
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_qt_QMenuData_isItemActive(JNIEnv* env, jobject obj, jint id)
-{
- jboolean xret = (jboolean) ((TQMenuData*) QtSupport::getQt(env, obj))->isItemActive((int) id);
- return xret;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_qt_QMenuData_isItemChecked(JNIEnv* env, jobject obj, jint id)
-{
- jboolean xret = (jboolean) ((TQMenuData*) QtSupport::getQt(env, obj))->isItemChecked((int) id);
- return xret;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_qt_QMenuData_isItemEnabled(JNIEnv* env, jobject obj, jint id)
-{
- jboolean xret = (jboolean) ((TQMenuData*) QtSupport::getQt(env, obj))->isItemEnabled((int) id);
- return xret;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_qt_QMenuData_isItemVisible(JNIEnv* env, jobject obj, jint id)
-{
- jboolean xret = (jboolean) ((TQMenuData*) QtSupport::getQt(env, obj))->isItemVisible((int) id);
- return xret;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_itemParameter(JNIEnv* env, jobject obj, jint id)
-{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->itemParameter((int) id);
- return xret;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_menuContentsChanged(JNIEnv* env, jobject obj)
-{
- ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuContentsChanged();
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_menuDelPopup(JNIEnv* env, jobject obj, jobject arg1)
-{
- ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuDelPopup((TQPopupMenu*) QtSupport::getQt(env, arg1));
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_menuInsPopup(JNIEnv* env, jobject obj, jobject arg1)
-{
- ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuInsPopup((TQPopupMenu*) QtSupport::getQt(env, arg1));
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_menuStateChanged(JNIEnv* env, jobject obj)
-{
- ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuStateChanged();
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_newTQMenuData(JNIEnv* env, jobject obj)
-{
- if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new TQMenuDataJBridge());
- QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
- }
- return;
-}
-
-JNIEXPORT jobject JNICALL
-Java_org_kde_qt_QMenuData_pixmap(JNIEnv* env, jobject obj, jint id)
-{
- jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*) QtSupport::getQt(env, obj))->pixmap((int) id), "org.kde.qt.TQPixmap");
- return xret;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_removeItemAt(JNIEnv* env, jobject obj, jint index)
-{
- ((TQMenuData*) QtSupport::getQt(env, obj))->removeItemAt((int) index);
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_removeItem(JNIEnv* env, jobject obj, jint id)
-{
- ((TQMenuData*) QtSupport::getQt(env, obj))->removeItem((int) id);
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_setAccel(JNIEnv* env, jobject obj, jobject key, jint id)
-{
- ((TQMenuData*) QtSupport::getQt(env, obj))->setAccel((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, key), (int) id);
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_setId(JNIEnv* env, jobject obj, jint index, jint id)
-{
- ((TQMenuData*) QtSupport::getQt(env, obj))->setId((int) index, (int) id);
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_setItemChecked(JNIEnv* env, jobject obj, jint id, jboolean check)
-{
- ((TQMenuData*) QtSupport::getQt(env, obj))->setItemChecked((int) id, (bool) check);
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_setItemEnabled(JNIEnv* env, jobject obj, jint id, jboolean enable)
-{
- ((TQMenuData*) QtSupport::getQt(env, obj))->setItemEnabled((int) id, (bool) enable);
- return;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_qt_QMenuData_setItemParameter(JNIEnv* env, jobject obj, jint id, jint param)
-{
- jboolean xret = (jboolean) ((TQMenuData*) QtSupport::getQt(env, obj))->setItemParameter((int) id, (int) param);
- return xret;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_setItemVisible(JNIEnv* env, jobject obj, jint id, jboolean visible)
-{
- ((TQMenuData*) QtSupport::getQt(env, obj))->setItemVisible((int) id, (bool) visible);
- return;
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_setWhatsThis(JNIEnv* env, jobject obj, jint id, jstring arg2)
-{
-static TQString* _qstring_arg2 = 0;
- ((TQMenuData*) QtSupport::getQt(env, obj))->setWhatsThis((int) id, (const TQString&)*(TQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2));
- return;
-}
-
-JNIEXPORT jstring JNICALL
-Java_org_kde_qt_QMenuData_text(JNIEnv* env, jobject obj, jint id)
-{
- TQString _qstring;
- _qstring = ((TQMenuData*) QtSupport::getQt(env, obj))->text((int) id);
- return QtSupport::fromTQString(env, &_qstring);
-}
-
-JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_updateItem(JNIEnv* env, jobject obj, jint id)
-{
- ((TQMenuData*) QtSupport::getQt(env, obj))->updateItem((int) id);
- return;
-}
-
-JNIEXPORT jstring JNICALL
-Java_org_kde_qt_QMenuData_whatsThis(JNIEnv* env, jobject obj, jint id)
-{
- TQString _qstring;
- _qstring = ((TQMenuData*) QtSupport::getQt(env, obj))->whatsThis((int) id);
- return QtSupport::fromTQString(env, &_qstring);
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv *env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel, jint identifier, jint index)
-{
- identifier = Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2II(env, obj, text, identifier, index);
-
- if ((bool) Java_org_kde_qt_QMenuData_connectItem(env, obj, identifier, receiver, member)) {
- Java_org_kde_qt_QMenuData_setAccel(env, obj, accel, identifier);
- }
-
- return identifier;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jstring text, jobject receiver, jstring member)
-{
- jint identifier = Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2II(env, obj, text, -1, -1);
- Java_org_kde_qt_QMenuData_connectItem(env, obj, identifier, receiver, member);
-
- return identifier;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member)
-{
-static TQString * _qstring_text = 0;
- jint identifier = Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II(env, obj, icon, text, -1, -1);
- Java_org_kde_qt_QMenuData_connectItem(env, obj, identifier, receiver, member);
-
- return identifier;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject pixmap, jobject receiver, jstring member)
-{
- jint identifier = Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2II(env, obj, pixmap, -1, -1);
- Java_org_kde_qt_QMenuData_connectItem(env, obj, identifier, receiver, member);
-
- return identifier;
-}
-
-JNIEXPORT jint JNICALL
-Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2(JNIEnv *env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member)
-{
- jint identifier = Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II(env, obj, icon, pixmap, -1, -1);
- Java_org_kde_qt_QMenuData_connectItem(env, obj, identifier, receiver, member);
-
- return identifier;
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_qt_QMenuData_connectItem(JNIEnv *env, jobject obj, jint identifier, jobject receiver, jstring member)
-{
- JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member);
-
- if ( ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->connectItem( identifier,
- javaSlot,
- javaSlot->javaToQtSlotName(env, member) ) )
- {
- return(jboolean) JNI_TRUE;
- } else {
- return (jboolean) JNI_FALSE;
- }
-}
-
-JNIEXPORT jboolean JNICALL
-Java_org_kde_qt_QMenuData_disconnectItem(JNIEnv *env, jobject obj, jint identifier, jobject receiver, jstring member)
-{
- JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member);
-
- if ( ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->disconnectItem( identifier,
- javaSlot,
- javaSlot->javaToQtSlotName(env, member) ) )
- {
- return(jboolean) JNI_TRUE;
- } else {
- return (jboolean) JNI_FALSE;
- }
-}
-