diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QMenuData.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QMenuData.cpp | 232 |
1 files changed, 116 insertions, 116 deletions
diff --git a/qtjava/javalib/qtjava/QMenuData.cpp b/qtjava/javalib/qtjava/QMenuData.cpp index 1c35db21..fac770cf 100644 --- a/qtjava/javalib/qtjava/QMenuData.cpp +++ b/qtjava/javalib/qtjava/QMenuData.cpp @@ -12,21 +12,21 @@ class TQMenuDataJBridge : public TQMenuData { public: - TQMenuDataJBridge() : TTQMenuData() {}; + TQMenuDataJBridge() : TQMenuData() {}; void protected_menuContentsChanged() { - TTQMenuData::menuContentsChanged(); + TQMenuData::menuContentsChanged(); return; } void protected_menuStateChanged() { - TTQMenuData::menuStateChanged(); + TQMenuData::menuStateChanged(); return; } - void protected_menuInsPopup(TTQPopupMenu* arg1) { - TTQMenuData::menuInsPopup(arg1); + void protected_menuInsPopup(TQPopupMenu* arg1) { + TQMenuData::menuInsPopup(arg1); return; } - void protected_menuDelPopup(TTQPopupMenu* arg1) { - TTQMenuData::menuDelPopup(arg1); + void protected_menuDelPopup(TQPopupMenu* arg1) { + TQMenuData::menuDelPopup(arg1); return; } ~TQMenuDataJBridge() {QtSupport::qtKeyDeleted(this);} @@ -35,81 +35,81 @@ public: JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuData_accel(JNIEnv* env, jobject obj, jint id) { - jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQKeySequence(((TTQMenuData*) QtSupport::getQt(env, obj))->accel((int) id)), "org.kde.qt.TTQKeySequence", TRUE); + 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) { - ((TTQMenuData*) QtSupport::getQt(env, obj))->activateItemAt((int) 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 TTQString* _qstring_text = 0; - ((TTQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_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 TTQString* _qstring_text = 0; - ((TTQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_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) { - ((TTQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, 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) { - ((TTQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, 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 TTQString* _qstring_text = 0; - ((TTQMenuData*) QtSupport::getQt(env, obj))->changeItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) 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 TTQString* _qstring_text = 0; - ((TTQMenuData*) QtSupport::getQt(env, obj))->changeItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) 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) { - ((TTQMenuData*) QtSupport::getQt(env, obj))->changeItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (int) 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) { - ((TTQMenuData*) QtSupport::getQt(env, obj))->clear(); + ((TQMenuData*) QtSupport::getQt(env, obj))->clear(); return; } JNIEXPORT jint JNICALL Java_org_kde_qt_QMenuData_count(JNIEnv* env, jobject obj) { - jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->count(); + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->count(); return xret; } @@ -124,7 +124,7 @@ JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { - delete (TTQMenuData*)QtSupport::getQt(env, obj); + delete (TQMenuData*)QtSupport::getQt(env, obj); QtSupport::setQt(env, obj, 0); } return; @@ -133,14 +133,14 @@ Java_org_kde_qt_QMenuData_finalize(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuData_findItem(JNIEnv* env, jobject obj, jint id) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*) QtSupport::getQt(env, obj))->findItem((int) id), "org.kde.qt.TTQMenuItem"); + 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*)((TTQMenuData*) QtSupport::getQt(env, obj))->findPopup((TTQPopupMenu*) QtSupport::getQt(env, arg1)), "org.kde.qt.TTQMenuItem"); + jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*) QtSupport::getQt(env, obj))->findPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQMenuItem"); return xret; } @@ -148,7 +148,7 @@ 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*)((TTQMenuData*) QtSupport::getQt(env, obj))->findPopup((TTQPopupMenu*) QtSupport::getQt(env, arg1), (int*) _int_index), "org.kde.qt.TTQMenuItem"); + 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; } @@ -156,360 +156,360 @@ Java_org_kde_qt_QMenuData_findPopup__Lorg_kde_qt_QPopupMenu_2_3I(JNIEnv* env, jo JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuData_iconSet(JNIEnv* env, jobject obj, jint id) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*) QtSupport::getQt(env, obj))->iconSet((int) id), "org.kde.qt.TTQIconSet"); + 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->idAt((int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->indexOf((int) 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 TTQString* _qstring_text = 0; - jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_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 TTQString* _qstring_text = 0; - jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) 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 TTQString* _qstring_text = 0; - jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) 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 TTQString* _qstring_text = 0; - jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) QtSupport::getQt(env, 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 TTQString* _qstring_text = 0; - jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) QtSupport::getQt(env, accel), (int) 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 TTQString* _qstring_text = 0; - jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) QtSupport::getQt(env, 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 TTQString* _qstring_text = 0; - jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) QtSupport::getQt(env, popup), (int) 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 TTQString* _qstring_text = 0; - jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((TTQCustomMenuItem*) QtSupport::getQt(env, 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((TTQCustomMenuItem*) QtSupport::getQt(env, custom), (int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((TTQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) 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 TTQString* _qstring_text = 0; - jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_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 TTQString* _qstring_text = 0; - jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) 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 TTQString* _qstring_text = 0; - jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id, (int) 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 TTQString* _qstring_text = 0; - jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) QtSupport::getQt(env, 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 TTQString* _qstring_text = 0; - jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) QtSupport::getQt(env, accel), (int) 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 TTQString* _qstring_text = 0; - jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) 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 TTQString* _qstring_text = 0; - jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) QtSupport::getQt(env, 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 TTQString* _qstring_text = 0; - jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) QtSupport::getQt(env, popup), (int) 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 TTQString* _qstring_text = 0; - jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (TTQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (TTQCustomMenuItem*) QtSupport::getQt(env, 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (TTQCustomMenuItem*) QtSupport::getQt(env, custom), (int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (TTQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) QtSupport::getQt(env, 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) QtSupport::getQt(env, accel), (int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) QtSupport::getQt(env, 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) QtSupport::getQt(env, popup), (int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) QtSupport::getQt(env, 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) QtSupport::getQt(env, accel), (int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (const TTQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TTQKeySequence&)*(const TTQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) QtSupport::getQt(env, 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) QtSupport::getQt(env, popup), (int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((TTQWidget*) QtSupport::getQt(env, 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((TTQWidget*) QtSupport::getQt(env, widget), (int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((TTQWidget*) QtSupport::getQt(env, widget), (int) id, (int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertSeparator(); + 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertSeparator((int) index); + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertSeparator((int) index); return xret; } @@ -522,35 +522,35 @@ Java_org_kde_qt_QMenuData_isDisposed(JNIEnv* env, jobject obj) JNIEXPORT jboolean JNICALL Java_org_kde_qt_QMenuData_isItemActive(JNIEnv* env, jobject obj, jint id) { - jboolean xret = (jboolean) ((TTQMenuData*) QtSupport::getQt(env, obj))->isItemActive((int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->isItemChecked((int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->isItemEnabled((int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->isItemVisible((int) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->itemParameter((int) id); + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->itemParameter((int) id); return xret; } @@ -564,14 +564,14 @@ Java_org_kde_qt_QMenuData_menuContentsChanged(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_menuDelPopup(JNIEnv* env, jobject obj, jobject arg1) { - ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuDelPopup((TTQPopupMenu*) QtSupport::getQt(env, 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((TTQPopupMenu*) QtSupport::getQt(env, arg1)); + ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuInsPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); return; } @@ -595,94 +595,94 @@ Java_org_kde_qt_QMenuData_newTQMenuData(JNIEnv* env, jobject obj) JNIEXPORT jobject JNICALL Java_org_kde_qt_QMenuData_pixmap(JNIEnv* env, jobject obj, jint id) { - jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*) QtSupport::getQt(env, obj))->pixmap((int) id), "org.kde.qt.TTQPixmap"); + 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) { - ((TTQMenuData*) QtSupport::getQt(env, obj))->removeItemAt((int) 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) { - ((TTQMenuData*) QtSupport::getQt(env, obj))->removeItem((int) 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) { - ((TTQMenuData*) QtSupport::getQt(env, obj))->setAccel((const TTQKeySequence&)*(const TTQKeySequence*) QtSupport::getQt(env, key), (int) 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) { - ((TTQMenuData*) QtSupport::getQt(env, obj))->setId((int) index, (int) 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) { - ((TTQMenuData*) QtSupport::getQt(env, obj))->setItemChecked((int) id, (bool) 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) { - ((TTQMenuData*) QtSupport::getQt(env, obj))->setItemEnabled((int) id, (bool) 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) ((TTQMenuData*) QtSupport::getQt(env, obj))->setItemParameter((int) id, (int) 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) { - ((TTQMenuData*) QtSupport::getQt(env, obj))->setItemVisible((int) id, (bool) 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 TTQString* _qstring_arg2 = 0; - ((TTQMenuData*) QtSupport::getQt(env, obj))->setWhatsThis((int) id, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_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) { - TTQString _qstring; - _qstring = ((TTQMenuData*) QtSupport::getQt(env, obj))->text((int) 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) { - ((TTQMenuData*) QtSupport::getQt(env, obj))->updateItem((int) 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) { - TTQString _qstring; - _qstring = ((TTQMenuData*) QtSupport::getQt(env, obj))->whatsThis((int) id); + TQString _qstring; + _qstring = ((TQMenuData*) QtSupport::getQt(env, obj))->whatsThis((int) id); return QtSupport::fromTQString(env, &_qstring); } @@ -710,7 +710,7 @@ Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Lj 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 TTQString * _qstring_text = 0; +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); |