summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQMenuData.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/trinitydesktop/qt/TQMenuData.java')
-rw-r--r--qtjava/javalib/org/trinitydesktop/qt/TQMenuData.java114
1 files changed, 114 insertions, 0 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQMenuData.java b/qtjava/javalib/org/trinitydesktop/qt/TQMenuData.java
new file mode 100644
index 00000000..1eb6e0c0
--- /dev/null
+++ b/qtjava/javalib/org/trinitydesktop/qt/TQMenuData.java
@@ -0,0 +1,114 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.trinitydesktop.qt;
+
+import org.trinitydesktop.qt.Qt;
+
+public class TQMenuData implements QtSupport, TQMenuDataInterface {
+ private long _qt;
+ private boolean _allocatedInJavaWorld = true;
+ protected TQMenuData(Class dummy){}
+
+ public TQMenuData() {
+ newTQMenuData();
+ }
+ private native void newTQMenuData();
+ public native int count();
+ public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id, int index);
+ public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel, int id);
+ public native int insertItem(String text, TQObject receiver, String member, TQKeySequence accel);
+ public native int insertItem(String text, TQObject receiver, String member);
+ public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id, int index);
+ public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel, int id);
+ public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member, TQKeySequence accel);
+ public native int insertItem(TQIconSet icon, String text, TQObject receiver, String member);
+ public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index);
+ public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id);
+ public native int insertItem(TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel);
+ public native int insertItem(TQPixmap pixmap, TQObject receiver, String member);
+ public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id, int index);
+ public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel, int id);
+ public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member, TQKeySequence accel);
+ public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQObject receiver, String member);
+ public native int insertItem(String text, int id, int index);
+ public native int insertItem(String text, int id);
+ public native int insertItem(String text);
+ public native int insertItem(TQIconSet icon, String text, int id, int index);
+ public native int insertItem(TQIconSet icon, String text, int id);
+ public native int insertItem(TQIconSet icon, String text);
+ public native int insertItem(String text, TQPopupMenu popup, int id, int index);
+ public native int insertItem(String text, TQPopupMenu popup, int id);
+ public native int insertItem(String text, TQPopupMenu popup);
+ public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id, int index);
+ public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup, int id);
+ public native int insertItem(TQIconSet icon, String text, TQPopupMenu popup);
+ public native int insertItem(TQPixmap pixmap, int id, int index);
+ public native int insertItem(TQPixmap pixmap, int id);
+ public native int insertItem(TQPixmap pixmap);
+ public native int insertItem(TQIconSet icon, TQPixmap pixmap, int id, int index);
+ public native int insertItem(TQIconSet icon, TQPixmap pixmap, int id);
+ public native int insertItem(TQIconSet icon, TQPixmap pixmap);
+ public native int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id, int index);
+ public native int insertItem(TQPixmap pixmap, TQPopupMenu popup, int id);
+ public native int insertItem(TQPixmap pixmap, TQPopupMenu popup);
+ public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id, int index);
+ public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup, int id);
+ public native int insertItem(TQIconSet icon, TQPixmap pixmap, TQPopupMenu popup);
+ public native int insertItem(TQWidget widget, int id, int index);
+ public native int insertItem(TQWidget widget, int id);
+ public native int insertItem(TQWidget widget);
+ public native int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id, int index);
+ public native int insertItem(TQIconSet icon, TQCustomMenuItem custom, int id);
+ public native int insertItem(TQIconSet icon, TQCustomMenuItem custom);
+ public native int insertItem(TQCustomMenuItem custom, int id, int index);
+ public native int insertItem(TQCustomMenuItem custom, int id);
+ public native int insertItem(TQCustomMenuItem custom);
+ public native int insertSeparator(int index);
+ public native int insertSeparator();
+ public native void removeItem(int id);
+ public native void removeItemAt(int index);
+ public native void clear();
+ public native TQKeySequence accel(int id);
+ public native void setAccel(TQKeySequence key, int id);
+ public native TQIconSet iconSet(int id);
+ public native String text(int id);
+ public native TQPixmap pixmap(int id);
+ public native void setWhatsThis(int id, String arg2);
+ public native String whatsThis(int id);
+ public native void changeItem(int id, String text);
+ public native void changeItem(int id, TQPixmap pixmap);
+ public native void changeItem(int id, TQIconSet icon, String text);
+ public native void changeItem(int id, TQIconSet icon, TQPixmap pixmap);
+ public native void changeItem(String text, int id);
+ public native void changeItem(TQPixmap pixmap, int id);
+ public native void changeItem(TQIconSet icon, String text, int id);
+ public native boolean isItemActive(int id);
+ public native boolean isItemEnabled(int id);
+ public native void setItemEnabled(int id, boolean enable);
+ public native boolean isItemChecked(int id);
+ public native void setItemChecked(int id, boolean check);
+ public native boolean isItemVisible(int id);
+ public native void setItemVisible(int id, boolean visible);
+ public native void updateItem(int id);
+ public native int indexOf(int id);
+ public native int idAt(int index);
+ public native void setId(int index, int id);
+ public native boolean connectItem(int id, TQObject receiver, String member);
+ public native boolean disconnectItem(int id, TQObject receiver, String member);
+ public native boolean setItemParameter(int id, int param);
+ public native int itemParameter(int id);
+ public native TQMenuItem findItem(int id);
+ // TQMenuItem* findItem(int arg1,TQMenuData** arg2); >>>> NOT CONVERTED
+ public native TQMenuItem findPopup(TQPopupMenu arg1, int[] index);
+ public native TQMenuItem findPopup(TQPopupMenu arg1);
+ public native void activateItemAt(int index);
+ protected native void menuContentsChanged();
+ protected native void menuStateChanged();
+ protected native void menuInsPopup(TQPopupMenu arg1);
+ protected native void menuDelPopup(TQPopupMenu arg1);
+ /** Deletes the wrapped C++ instance */
+ protected native void finalize() throws InternalError;
+ /** Delete the wrapped C++ instance ahead of finalize() */
+ public native void dispose();
+ /** Has the wrapped C++ instance been deleted? */
+ public native boolean isDisposed();
+}