summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QMenuData.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/qtjava/QMenuData.cpp')
-rw-r--r--qtjava/javalib/qtjava/QMenuData.cpp254
1 files changed, 127 insertions, 127 deletions
diff --git a/qtjava/javalib/qtjava/QMenuData.cpp b/qtjava/javalib/qtjava/QMenuData.cpp
index 5d18ae99..1c35db21 100644
--- a/qtjava/javalib/qtjava/QMenuData.cpp
+++ b/qtjava/javalib/qtjava/QMenuData.cpp
@@ -7,109 +7,109 @@
#include <qtjava/QtSupport.h>
#include <qtjava/JavaSlot.h>
-#include <qtjava/QMenuData.h>
+#include <qtjava/TQMenuData.h>
-class QMenuDataJBridge : public QMenuData
+class TQMenuDataJBridge : public TQMenuData
{
public:
- QMenuDataJBridge() : TQMenuData() {};
+ TQMenuDataJBridge() : TTQMenuData() {};
void protected_menuContentsChanged() {
- TQMenuData::menuContentsChanged();
+ TTQMenuData::menuContentsChanged();
return;
}
void protected_menuStateChanged() {
- TQMenuData::menuStateChanged();
+ TTQMenuData::menuStateChanged();
return;
}
- void protected_menuInsPopup(TQPopupMenu* arg1) {
- TQMenuData::menuInsPopup(arg1);
+ void protected_menuInsPopup(TTQPopupMenu* arg1) {
+ TTQMenuData::menuInsPopup(arg1);
return;
}
- void protected_menuDelPopup(TQPopupMenu* arg1) {
- TQMenuData::menuDelPopup(arg1);
+ void protected_menuDelPopup(TTQPopupMenu* arg1) {
+ TTQMenuData::menuDelPopup(arg1);
return;
}
- ~QMenuDataJBridge() {QtSupport::qtKeyDeleted(this);}
+ ~TQMenuDataJBridge() {QtSupport::qtKeyDeleted(this);}
};
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuData_accel(JNIEnv* env, jobject obj, jint id)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)new TQKeySequence(((TQMenuData*) QtSupport::getQt(env, obj))->accel((int) id)), "org.kde.qt.TQKeySequence", TRUE);
+ jobject xret = QtSupport::objectForQtKey(env, (void*)new TTQKeySequence(((TTQMenuData*) QtSupport::getQt(env, obj))->accel((int) id)), "org.kde.qt.TTQKeySequence", TRUE);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_activateItemAt(JNIEnv* env, jobject obj, jint index)
{
- ((TQMenuData*) QtSupport::getQt(env, obj))->activateItemAt((int) index);
+ ((TTQMenuData*) QtSupport::getQt(env, obj))->activateItemAt((int) index);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_changeItem__ILjava_lang_String_2(JNIEnv* env, jobject obj, jint id, jstring text)
{
-static TQString* _qstring_text = 0;
- ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text));
+static TTQString* _qstring_text = 0;
+ ((TTQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_changeItem__ILorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jint id, jobject icon, jstring text)
{
-static TQString* _qstring_text = 0;
- ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_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));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_changeItem__ILorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint id, jobject icon, jobject pixmap)
{
- ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap));
+ ((TTQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_changeItem__ILorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jint id, jobject pixmap)
{
- ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap));
+ ((TTQMenuData*) QtSupport::getQt(env, obj))->changeItem((int) id, (const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_changeItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id)
{
-static TQString* _qstring_text = 0;
- ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) id);
+static TTQString* _qstring_text = 0;
+ ((TTQMenuData*) QtSupport::getQt(env, obj))->changeItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text), (int) id);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_changeItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id)
{
-static TQString* _qstring_text = 0;
- ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) 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);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_changeItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id)
{
- ((TQMenuData*) QtSupport::getQt(env, obj))->changeItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id);
+ ((TTQMenuData*) QtSupport::getQt(env, obj))->changeItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (int) id);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_clear(JNIEnv* env, jobject obj)
{
- ((TQMenuData*) QtSupport::getQt(env, obj))->clear();
+ ((TTQMenuData*) QtSupport::getQt(env, obj))->clear();
return;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_count(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->count();
+ jint xret = (jint) ((TTQMenuData*) 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 (TQMenuData*)QtSupport::getQt(env, obj);
+ delete (TTQMenuData*)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*)((TQMenuData*) QtSupport::getQt(env, obj))->findItem((int) id), "org.kde.qt.TQMenuItem");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*) QtSupport::getQt(env, obj))->findItem((int) id), "org.kde.qt.TTQMenuItem");
return xret;
}
JNIEXPORT jobject JNICALL
Java_org_kde_qt_QMenuData_findPopup__Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject arg1)
{
- jobject xret = QtSupport::objectForQtKey(env, (void*)((TQMenuData*) QtSupport::getQt(env, obj))->findPopup((TQPopupMenu*) QtSupport::getQt(env, arg1)), "org.kde.qt.TQMenuItem");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*) QtSupport::getQt(env, obj))->findPopup((TTQPopupMenu*) QtSupport::getQt(env, arg1)), "org.kde.qt.TTQMenuItem");
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*)((TQMenuData*) QtSupport::getQt(env, obj))->findPopup((TQPopupMenu*) QtSupport::getQt(env, arg1), (int*) _int_index), "org.kde.qt.TQMenuItem");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*) QtSupport::getQt(env, obj))->findPopup((TTQPopupMenu*) QtSupport::getQt(env, arg1), (int*) _int_index), "org.kde.qt.TTQMenuItem");
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*)((TQMenuData*) QtSupport::getQt(env, obj))->iconSet((int) id), "org.kde.qt.TQIconSet");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*) QtSupport::getQt(env, obj))->iconSet((int) id), "org.kde.qt.TTQIconSet");
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_idAt(JNIEnv* env, jobject obj, jint index)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->idAt((int) index);
+ jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->idAt((int) index);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_indexOf(JNIEnv* env, jobject obj, jint id)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->indexOf((int) id);
+ jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->indexOf((int) id);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring text)
{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text));
+static TTQString* _qstring_text = 0;
+ jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQString&)*(TTQString*) QtSupport::toTQString(env, text, &_qstring_text));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2I(JNIEnv* env, jobject obj, jstring text, jint id)
{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) 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);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2II(JNIEnv* env, jobject obj, jstring text, jint id, jint index)
{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) id, (int) 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);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel)
{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, 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));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jstring text, jobject receiver, jstring member, jobject accel, jint id)
{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) 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);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jstring text, jobject popup)
{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, 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));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jstring text, jobject popup, jint id)
{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) 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);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jstring text, jobject popup, jint id, jint index)
{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) 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);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QCustomMenuItem_2(JNIEnv* env, jobject obj, jobject custom)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom));
+ jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((TTQCustomMenuItem*) QtSupport::getQt(env, custom));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QCustomMenuItem_2I(JNIEnv* env, jobject obj, jobject custom, jint id)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id);
+ jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((TTQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QCustomMenuItem_2II(JNIEnv* env, jobject obj, jobject custom, jint id, jint index)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index);
+ jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((TTQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject icon, jstring text)
{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_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));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id)
{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) 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);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jint id, jint index)
{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (int) id, (int) 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);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel)
{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, 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));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel, jint id)
{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) 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);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject receiver, jstring member, jobject accel, jint id, jint index)
{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::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);
+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);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup)
{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, 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));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup, jint id)
{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) 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);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Ljava_lang_String_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject icon, jstring text, jobject popup, jint id, jint index)
{
-static TQString* _qstring_text = 0;
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQString&)*(TQString*) QtSupport::toQString(env, text, &_qstring_text), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) 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);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2(JNIEnv* env, jobject obj, jobject icon, jobject custom)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom));
+ jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (TTQCustomMenuItem*) QtSupport::getQt(env, custom));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2I(JNIEnv* env, jobject obj, jobject icon, jobject custom, jint id)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id);
+ jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQIconSet&)*(const TTQIconSet*) QtSupport::getQt(env, icon), (TTQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QCustomMenuItem_2II(JNIEnv* env, jobject obj, jobject icon, jobject custom, jint id, jint index)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (TQCustomMenuItem*) QtSupport::getQt(env, custom), (int) id, (int) index);
+ 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);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap));
+ 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));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jint id)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id);
+ 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);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jint id, jint index)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index);
+ 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);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel));
+ 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));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id);
+ 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);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id, jint index)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index);
+ 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);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup));
+ 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));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup, jint id)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id);
+ 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);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QIconSet_2Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject icon, jobject pixmap, jobject popup, jint id, jint index)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQIconSet&)*(const TQIconSet*) QtSupport::getQt(env, icon), (const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index);
+ 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);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2(JNIEnv* env, jobject obj, jobject pixmap)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap));
+ jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2I(JNIEnv* env, jobject obj, jobject pixmap, jint id)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id);
+ jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (int) id);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2II(JNIEnv* env, jobject obj, jobject pixmap, jint id, jint index)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index);
+ jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (int) id, (int) index);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel));
+ 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));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id);
+ 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);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QKeySequence_2II(JNIEnv* env, jobject obj, jobject pixmap, jobject receiver, jstring member, jobject accel, jint id, jint index)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (const TQObject*) QtSupport::slotForReceiver(env, receiver, member), "1invoke()", (const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, accel), (int) id, (int) index);
+ 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);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2(JNIEnv* env, jobject obj, jobject pixmap, jobject popup)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup));
+ jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) QtSupport::getQt(env, popup));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2I(JNIEnv* env, jobject obj, jobject pixmap, jobject popup, jint id)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id);
+ jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TTQPixmap&)*(const TTQPixmap*) QtSupport::getQt(env, pixmap), (TTQPopupMenu*) QtSupport::getQt(env, popup), (int) id);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QPixmap_2Lorg_kde_qt_QPopupMenu_2II(JNIEnv* env, jobject obj, jobject pixmap, jobject popup, jint id, jint index)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((const TQPixmap&)*(const TQPixmap*) QtSupport::getQt(env, pixmap), (TQPopupMenu*) QtSupport::getQt(env, popup), (int) id, (int) index);
+ 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);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QWidget_2(JNIEnv* env, jobject obj, jobject widget)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget));
+ jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((TTQWidget*) QtSupport::getQt(env, widget));
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QWidget_2I(JNIEnv* env, jobject obj, jobject widget, jint id)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget), (int) id);
+ jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((TTQWidget*) QtSupport::getQt(env, widget), (int) id);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertItem__Lorg_kde_qt_QWidget_2II(JNIEnv* env, jobject obj, jobject widget, jint id, jint index)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertItem((TQWidget*) QtSupport::getQt(env, widget), (int) id, (int) index);
+ jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertItem((TTQWidget*) QtSupport::getQt(env, widget), (int) id, (int) index);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertSeparator__(JNIEnv* env, jobject obj)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertSeparator();
+ jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertSeparator();
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_insertSeparator__I(JNIEnv* env, jobject obj, jint index)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->insertSeparator((int) index);
+ jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->insertSeparator((int) index);
return xret;
}
@@ -522,71 +522,71 @@ 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) ((TQMenuData*) QtSupport::getQt(env, obj))->isItemActive((int) id);
+ jboolean xret = (jboolean) ((TTQMenuData*) QtSupport::getQt(env, obj))->isItemActive((int) id);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuData_isItemChecked(JNIEnv* env, jobject obj, jint id)
{
- jboolean xret = (jboolean) ((TQMenuData*) QtSupport::getQt(env, obj))->isItemChecked((int) id);
+ jboolean xret = (jboolean) ((TTQMenuData*) QtSupport::getQt(env, obj))->isItemChecked((int) id);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuData_isItemEnabled(JNIEnv* env, jobject obj, jint id)
{
- jboolean xret = (jboolean) ((TQMenuData*) QtSupport::getQt(env, obj))->isItemEnabled((int) id);
+ jboolean xret = (jboolean) ((TTQMenuData*) QtSupport::getQt(env, obj))->isItemEnabled((int) id);
return xret;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuData_isItemVisible(JNIEnv* env, jobject obj, jint id)
{
- jboolean xret = (jboolean) ((TQMenuData*) QtSupport::getQt(env, obj))->isItemVisible((int) id);
+ jboolean xret = (jboolean) ((TTQMenuData*) QtSupport::getQt(env, obj))->isItemVisible((int) id);
return xret;
}
JNIEXPORT jint JNICALL
Java_org_kde_qt_QMenuData_itemParameter(JNIEnv* env, jobject obj, jint id)
{
- jint xret = (jint) ((TQMenuData*) QtSupport::getQt(env, obj))->itemParameter((int) id);
+ jint xret = (jint) ((TTQMenuData*) QtSupport::getQt(env, obj))->itemParameter((int) id);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_menuContentsChanged(JNIEnv* env, jobject obj)
{
- ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuContentsChanged();
+ ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuContentsChanged();
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_menuDelPopup(JNIEnv* env, jobject obj, jobject arg1)
{
- ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuDelPopup((TQPopupMenu*) QtSupport::getQt(env, arg1));
+ ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuDelPopup((TTQPopupMenu*) 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((TQPopupMenu*) QtSupport::getQt(env, arg1));
+ ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuInsPopup((TTQPopupMenu*) QtSupport::getQt(env, arg1));
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_menuStateChanged(JNIEnv* env, jobject obj)
{
- ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuStateChanged();
+ ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->protected_menuStateChanged();
return;
}
JNIEXPORT void JNICALL
-Java_org_kde_qt_QMenuData_newQMenuData(JNIEnv* env, jobject obj)
+Java_org_kde_qt_QMenuData_newTQMenuData(JNIEnv* env, jobject obj)
{
if (QtSupport::getQt(env, obj) == 0) {
- QtSupport::setQt(env, obj, new QMenuDataJBridge());
+ QtSupport::setQt(env, obj, new TQMenuDataJBridge());
QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
}
return;
@@ -595,95 +595,95 @@ 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*)((TQMenuData*) QtSupport::getQt(env, obj))->pixmap((int) id), "org.kde.qt.TQPixmap");
+ jobject xret = QtSupport::objectForQtKey(env, (void*)((TTQMenuData*) QtSupport::getQt(env, obj))->pixmap((int) id), "org.kde.qt.TTQPixmap");
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_removeItemAt(JNIEnv* env, jobject obj, jint index)
{
- ((TQMenuData*) QtSupport::getQt(env, obj))->removeItemAt((int) index);
+ ((TTQMenuData*) QtSupport::getQt(env, obj))->removeItemAt((int) index);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_removeItem(JNIEnv* env, jobject obj, jint id)
{
- ((TQMenuData*) QtSupport::getQt(env, obj))->removeItem((int) id);
+ ((TTQMenuData*) QtSupport::getQt(env, obj))->removeItem((int) id);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_setAccel(JNIEnv* env, jobject obj, jobject key, jint id)
{
- ((TQMenuData*) QtSupport::getQt(env, obj))->setAccel((const TQKeySequence&)*(const TQKeySequence*) QtSupport::getQt(env, key), (int) id);
+ ((TTQMenuData*) QtSupport::getQt(env, obj))->setAccel((const TTQKeySequence&)*(const TTQKeySequence*) QtSupport::getQt(env, key), (int) id);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_setId(JNIEnv* env, jobject obj, jint index, jint id)
{
- ((TQMenuData*) QtSupport::getQt(env, obj))->setId((int) index, (int) id);
+ ((TTQMenuData*) QtSupport::getQt(env, obj))->setId((int) index, (int) id);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_setItemChecked(JNIEnv* env, jobject obj, jint id, jboolean check)
{
- ((TQMenuData*) QtSupport::getQt(env, obj))->setItemChecked((int) id, (bool) check);
+ ((TTQMenuData*) QtSupport::getQt(env, obj))->setItemChecked((int) id, (bool) check);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_setItemEnabled(JNIEnv* env, jobject obj, jint id, jboolean enable)
{
- ((TQMenuData*) QtSupport::getQt(env, obj))->setItemEnabled((int) id, (bool) enable);
+ ((TTQMenuData*) QtSupport::getQt(env, obj))->setItemEnabled((int) id, (bool) enable);
return;
}
JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QMenuData_setItemParameter(JNIEnv* env, jobject obj, jint id, jint param)
{
- jboolean xret = (jboolean) ((TQMenuData*) QtSupport::getQt(env, obj))->setItemParameter((int) id, (int) param);
+ jboolean xret = (jboolean) ((TTQMenuData*) QtSupport::getQt(env, obj))->setItemParameter((int) id, (int) param);
return xret;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_setItemVisible(JNIEnv* env, jobject obj, jint id, jboolean visible)
{
- ((TQMenuData*) QtSupport::getQt(env, obj))->setItemVisible((int) id, (bool) visible);
+ ((TTQMenuData*) QtSupport::getQt(env, obj))->setItemVisible((int) id, (bool) visible);
return;
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_setWhatsThis(JNIEnv* env, jobject obj, jint id, jstring arg2)
{
-static TQString* _qstring_arg2 = 0;
- ((TQMenuData*) QtSupport::getQt(env, obj))->setWhatsThis((int) id, (const TQString&)*(TQString*) QtSupport::toQString(env, arg2, &_qstring_arg2));
+static TTQString* _qstring_arg2 = 0;
+ ((TTQMenuData*) QtSupport::getQt(env, obj))->setWhatsThis((int) id, (const TTQString&)*(TTQString*) QtSupport::toTQString(env, arg2, &_qstring_arg2));
return;
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QMenuData_text(JNIEnv* env, jobject obj, jint id)
{
- TQString _qstring;
- _qstring = ((TQMenuData*) QtSupport::getQt(env, obj))->text((int) id);
- return QtSupport::fromQString(env, &_qstring);
+ TTQString _qstring;
+ _qstring = ((TTQMenuData*) QtSupport::getQt(env, obj))->text((int) id);
+ return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT void JNICALL
Java_org_kde_qt_QMenuData_updateItem(JNIEnv* env, jobject obj, jint id)
{
- ((TQMenuData*) QtSupport::getQt(env, obj))->updateItem((int) id);
+ ((TTQMenuData*) QtSupport::getQt(env, obj))->updateItem((int) id);
return;
}
JNIEXPORT jstring JNICALL
Java_org_kde_qt_QMenuData_whatsThis(JNIEnv* env, jobject obj, jint id)
{
- TQString _qstring;
- _qstring = ((TQMenuData*) QtSupport::getQt(env, obj))->whatsThis((int) id);
- return QtSupport::fromQString(env, &_qstring);
+ TTQString _qstring;
+ _qstring = ((TTQMenuData*) QtSupport::getQt(env, obj))->whatsThis((int) id);
+ return QtSupport::fromTQString(env, &_qstring);
}
JNIEXPORT jint JNICALL
@@ -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 TQString * _qstring_text = 0;
+static TTQString * _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);
@@ -740,7 +740,7 @@ Java_org_kde_qt_QMenuData_connectItem(JNIEnv *env, jobject obj, jint identifier,
{
JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member);
- if ( ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->connectItem( identifier,
+ if ( ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->connectItem( identifier,
javaSlot,
javaSlot->javaToQtSlotName(env, member) ) )
{
@@ -755,7 +755,7 @@ Java_org_kde_qt_QMenuData_disconnectItem(JNIEnv *env, jobject obj, jint identifi
{
JavaSlot * javaSlot = QtSupport::slotForReceiver(env, receiver, member);
- if ( ((QMenuDataJBridge*) QtSupport::getQt(env, obj))->disconnectItem( identifier,
+ if ( ((TQMenuDataJBridge*) QtSupport::getQt(env, obj))->disconnectItem( identifier,
javaSlot,
javaSlot->javaToQtSlotName(env, member) ) )
{