diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QMenuData.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QMenuData.cpp | 242 |
1 files changed, 121 insertions, 121 deletions
diff --git a/qtjava/javalib/qtjava/QMenuData.cpp b/qtjava/javalib/qtjava/QMenuData.cpp index b8180c23..5d18ae99 100644 --- a/qtjava/javalib/qtjava/QMenuData.cpp +++ b/qtjava/javalib/qtjava/QMenuData.cpp @@ -1,9 +1,9 @@ //Auto-generated by kalyptus. DO NOT EDIT. -#include <qstring.h> -#include <qmenudata.h> -#include <qpixmap.h> -#include <qiconset.h> -#include <qkeysequence.h> +#include <tqstring.h> +#include <tqmenudata.h> +#include <tqpixmap.h> +#include <tqiconset.h> +#include <tqkeysequence.h> #include <qtjava/QtSupport.h> #include <qtjava/JavaSlot.h> @@ -12,21 +12,21 @@ class QMenuDataJBridge : public QMenuData { public: - QMenuDataJBridge() : QMenuData() {}; + QMenuDataJBridge() : TQMenuData() {}; void protected_menuContentsChanged() { - QMenuData::menuContentsChanged(); + TQMenuData::menuContentsChanged(); return; } void protected_menuStateChanged() { - QMenuData::menuStateChanged(); + TQMenuData::menuStateChanged(); return; } - void protected_menuInsPopup(QPopupMenu* arg1) { - QMenuData::menuInsPopup(arg1); + void protected_menuInsPopup(TQPopupMenu* arg1) { + TQMenuData::menuInsPopup(arg1); return; } - void protected_menuDelPopup(QPopupMenu* arg1) { - QMenuData::menuDelPopup(arg1); + void protected_menuDelPopup(TQPopupMenu* arg1) { + TQMenuData::menuDelPopup(arg1); return; } ~QMenuDataJBridge() {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 QKeySequence(((QMenuData*) QtSupport::getQt(env, obj))->accel((int) id)), "org.kde.qt.QKeySequence", 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) { - ((QMenuData*) 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 QString* _qstring_text = 0; - ((QMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text)); +static TQString* _qstring_text = 0; + ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQString&)*(TQString*) QtSupport::toQString(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 QString* _qstring_text = 0; - ((QMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(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::toQString(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) { - ((QMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) 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) { - ((QMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const QPixmap&)*(const QPixmap*) 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 QString* _qstring_text = 0; - ((QMenuData*) QtSupport::getQt(env, obj))->changeItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) id); +static TQString* _qstring_text = 0; + ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((const TQString&)*(TQString*) QtSupport::toQString(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 QString* _qstring_text = 0; - ((QMenuData*) QtSupport::getQt(env, obj))->changeItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(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::toQString(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) { - ((QMenuData*) QtSupport::getQt(env, obj))->changeItem((const QPixmap&)*(const QPixmap*) 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) { - ((QMenuData*) 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) ((QMenuData*) 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 (QMenuData*)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*)((QMenuData*) QtSupport::getQt(env, obj))->findItem((int) id), "org.kde.qt.QMenuItem"); + 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*)((QMenuData*) QtSupport::getQt(env, obj))->findPopup((QPopupMenu*) QtSupport::getQt(env, arg1)), "org.kde.qt.QMenuItem"); + 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*)((QMenuData*) QtSupport::getQt(env, obj))->findPopup((QPopupMenu*) QtSupport::getQt(env, arg1), (int*) _int_index), "org.kde.qt.QMenuItem"); + 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*)((QMenuData*) QtSupport::getQt(env, obj))->iconSet((int) id), "org.kde.qt.QIconSet"); + 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) ((QMenuData*) 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) ((QMenuData*) 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 QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text)); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toQString(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 QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (int) id); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toQString(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 QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(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::toQString(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 QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel)); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toQString(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 QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) QtSupport::getQt(env, accel), (int) id); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toQString(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 QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QPopupMenu*) QtSupport::getQt(env, popup)); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toQString(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 QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QPopupMenu*) QtSupport::getQt(env, popup), (int) id); +static TQString* _qstring_text = 0; + jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toQString(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 QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QPopupMenu*) 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::toQString(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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((QCustomMenuItem*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((QCustomMenuItem*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((QCustomMenuItem*) 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 QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(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::toQString(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 QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(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::toQString(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 QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(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::toQString(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 QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) 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::toQString(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 QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) 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::toQString(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 QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) 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::toQString(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 QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QPopupMenu*) 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::toQString(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 QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QPopupMenu*) 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::toQString(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 QString* _qstring_text = 0; - jint xret = (jint) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QString&)*(QString*) QtSupport::toQString(env, text, &_qstring_text), (QPopupMenu*) 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::toQString(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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (QCustomMenuItem*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (QCustomMenuItem*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (QCustomMenuItem*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (QPopupMenu*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (QPopupMenu*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QIconSet&)*(const QIconSet*) QtSupport::getQt(env, icon), (const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (QPopupMenu*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (const QObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const QKeySequence&)*(const QKeySequence*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (QPopupMenu*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (QPopupMenu*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((const QPixmap&)*(const QPixmap*) QtSupport::getQt(env, pixmap), (QPopupMenu*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((QWidget*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((QWidget*) 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) ((QMenuData*) QtSupport::getQt(env, obj))->insertItem((QWidget*) 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) ((QMenuData*) 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) ((QMenuData*) 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) ((QMenuData*) 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) ((QMenuData*) 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) ((QMenuData*) 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) ((QMenuData*) 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) ((QMenuData*) 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) { - ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuDelPopup((QPopupMenu*) QtSupport::getQt(env, arg1)); + ((QMenuDataJBridge*) 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) { - ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuInsPopup((QPopupMenu*) QtSupport::getQt(env, arg1)); + ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuInsPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)); return; } @@ -595,94 +595,94 @@ Java_org_kde_qt_QMenuData_newQMenuData(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*)((QMenuData*) QtSupport::getQt(env, obj))->pixmap((int) id), "org.kde.qt.QPixmap"); + 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) { - ((QMenuData*) 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) { - ((QMenuData*) 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) { - ((QMenuData*) QtSupport::getQt(env, obj))->setAccel((const QKeySequence&)*(const QKeySequence*) 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) { - ((QMenuData*) 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) { - ((QMenuData*) 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) { - ((QMenuData*) 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) ((QMenuData*) 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) { - ((QMenuData*) 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 QString* _qstring_arg2 = 0; - ((QMenuData*) QtSupport::getQt(env, obj))->setWhatsThis((int) id, (const QString&)*(QString*) QtSupport::toQString(env, arg2, &_qstring_arg2)); +static TQString* _qstring_arg2 = 0; + ((TQMenuData*) QtSupport::getQt(env, obj))->setWhatsThis((int) id, (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2)); return; } JNIEXPORT jstring JNICALL Java_org_kde_qt_QMenuData_text(JNIEnv* env, jobject obj, jint id) { - QString _qstring; - _qstring = ((QMenuData*) QtSupport::getQt(env, obj))->text((int) id); + TQString _qstring; + _qstring = ((TQMenuData*) QtSupport::getQt(env, obj))->text((int) id); return QtSupport::fromQString(env, &_qstring); } JNIEXPORT void JNICALL Java_org_kde_qt_QMenuData_updateItem(JNIEnv* env, jobject obj, jint id) { - ((QMenuData*) 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) { - QString _qstring; - _qstring = ((QMenuData*) QtSupport::getQt(env, obj))->whatsThis((int) id); + TQString _qstring; + _qstring = ((TQMenuData*) QtSupport::getQt(env, obj))->whatsThis((int) id); return QtSupport::fromQString(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 QString * _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); |