You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
159 lines
8.6 KiB
159 lines
8.6 KiB
15 years ago
|
//Auto-generated by kalyptus. DO NOT EDIT.
|
||
|
package org.kde.qt;
|
||
|
|
||
|
import org.kde.qt.Qt;
|
||
|
|
||
|
/**
|
||
13 years ago
|
See {@link TQMenuBarSignals} for signals emitted by TQMenuBar
|
||
15 years ago
|
*/
|
||
13 years ago
|
public class TQMenuBar extends TQFrame implements TQMenuDataInterface {
|
||
|
protected TQMenuBar(Class dummy){super((Class) null);}
|
||
15 years ago
|
public static final int Never = 0;
|
||
|
public static final int InWindowsStyle = 1;
|
||
|
|
||
13 years ago
|
public native TQMetaObject metaObject();
|
||
15 years ago
|
public native String className();
|
||
13 years ago
|
public TQMenuBar(TQWidget parent, String name) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQMenuBar(parent,name);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQMenuBar(TQWidget parent, String name);
|
||
|
public TQMenuBar(TQWidget parent) {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQMenuBar(parent);
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQMenuBar(TQWidget parent);
|
||
|
public TQMenuBar() {
|
||
15 years ago
|
super((Class) null);
|
||
13 years ago
|
newTQMenuBar();
|
||
15 years ago
|
}
|
||
13 years ago
|
private native void newTQMenuBar();
|
||
15 years ago
|
public native void updateItem(int id);
|
||
|
public native void show();
|
||
|
public native void hide();
|
||
13 years ago
|
public native boolean eventFilter(TQObject arg1, TQEvent arg2);
|
||
15 years ago
|
public native int heightForWidth(int arg1);
|
||
|
public native int separator();
|
||
|
public native void setSeparator(int when);
|
||
|
public native void setDefaultUp(boolean arg1);
|
||
|
public native boolean isDefaultUp();
|
||
|
public native boolean customWhatsThis();
|
||
13 years ago
|
public native TQSize sizeHint();
|
||
|
public native TQSize minimumSize();
|
||
|
public native TQSize minimumSizeHint();
|
||
15 years ago
|
public native void activateItemAt(int index);
|
||
|
public static native String tr(String arg1, String arg2);
|
||
|
public static native String tr(String arg1);
|
||
13 years ago
|
protected native void drawContents(TQPainter arg1);
|
||
|
protected native void fontChange(TQFont arg1);
|
||
|
protected native void mousePressEvent(TQMouseEvent arg1);
|
||
|
protected native void mouseReleaseEvent(TQMouseEvent arg1);
|
||
|
protected native void mouseMoveEvent(TQMouseEvent arg1);
|
||
|
protected native void keyPressEvent(TQKeyEvent arg1);
|
||
|
protected native void focusInEvent(TQFocusEvent arg1);
|
||
|
protected native void focusOutEvent(TQFocusEvent arg1);
|
||
|
protected native void resizeEvent(TQResizeEvent arg1);
|
||
|
protected native void leaveEvent(TQEvent arg1);
|
||
15 years ago
|
protected native void menuContentsChanged();
|
||
|
protected native void menuStateChanged();
|
||
13 years ago
|
public native void styleChange(TQStyle arg1);
|
||
|
protected native int itemAtPos(TQPoint arg1);
|
||
15 years ago
|
protected native void hidePopups();
|
||
13 years ago
|
protected native TQRect itemRect(int item);
|
||
15 years ago
|
/** 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();
|
||
|
public native int count();
|
||
13 years ago
|
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);
|
||
15 years ago
|
public native int insertItem(String text, int id, int index);
|
||
|
public native int insertItem(String text, int id);
|
||
|
public native int insertItem(String text);
|
||
13 years ago
|
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);
|
||
15 years ago
|
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();
|
||
13 years ago
|
public native TQKeySequence accel(int id);
|
||
|
public native void setAccel(TQKeySequence key, int id);
|
||
|
public native TQIconSet iconSet(int id);
|
||
15 years ago
|
public native String text(int id);
|
||
13 years ago
|
public native TQPixmap pixmap(int id);
|
||
15 years ago
|
public native void setWhatsThis(int id, String arg2);
|
||
|
public native String whatsThis(int id);
|
||
|
public native void changeItem(int id, String text);
|
||
13 years ago
|
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);
|
||
15 years ago
|
public native void changeItem(String text, int id);
|
||
13 years ago
|
public native void changeItem(TQPixmap pixmap, int id);
|
||
|
public native void changeItem(TQIconSet icon, String text, int id);
|
||
15 years ago
|
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 int indexOf(int id);
|
||
|
public native int idAt(int index);
|
||
|
public native void setId(int index, int id);
|
||
13 years ago
|
public native boolean connectItem(int id, TQObject receiver, String member);
|
||
|
public native boolean disconnectItem(int id, TQObject receiver, String member);
|
||
15 years ago
|
public native boolean setItemParameter(int id, int param);
|
||
|
public native int itemParameter(int id);
|
||
13 years ago
|
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);
|
||
|
protected native void menuInsPopup(TQPopupMenu arg1);
|
||
|
protected native void menuDelPopup(TQPopupMenu arg1);
|
||
15 years ago
|
}
|