diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 90825e2392b2d70e43c7a25b8a3752299a933894 (patch) | |
tree | e33aa27f02b74604afbfd0ea4f1cfca8833d882a /qtjava/javalib/org/kde/qt/QPopupMenu.java | |
download | tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QPopupMenu.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QPopupMenu.java | 167 |
1 files changed, 167 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QPopupMenu.java b/qtjava/javalib/org/kde/qt/QPopupMenu.java new file mode 100644 index 00000000..a5d4149e --- /dev/null +++ b/qtjava/javalib/org/kde/qt/QPopupMenu.java @@ -0,0 +1,167 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link QPopupMenuSignals} for signals emitted by QPopupMenu +*/ +public class QPopupMenu extends QFrame implements QMenuDataInterface { + protected QPopupMenu(Class dummy){super((Class) null);} + public native QMetaObject metaObject(); + public native String className(); + public QPopupMenu(QWidget parent, String name) { + super((Class) null); + newQPopupMenu(parent,name); + } + private native void newQPopupMenu(QWidget parent, String name); + public QPopupMenu(QWidget parent) { + super((Class) null); + newQPopupMenu(parent); + } + private native void newQPopupMenu(QWidget parent); + public QPopupMenu() { + super((Class) null); + newQPopupMenu(); + } + private native void newQPopupMenu(); + public native void popup(QPoint pos, int indexAtPoint); + public native void popup(QPoint pos); + public native void updateItem(int id); + public native void setCheckable(boolean arg1); + public native boolean isCheckable(); + public native void setFont(QFont arg1); + public native void show(); + public native void hide(); + public native int exec(); + public native int exec(QPoint pos, int indexAtPoint); + public native int exec(QPoint pos); + public native void setActiveItem(int arg1); + public native QSize sizeHint(); + public native int idAt(int index); + public native int idAt(QPoint pos); + public native boolean customWhatsThis(); + public native int insertTearOffHandle(int id, int index); + public native int insertTearOffHandle(int id); + public native int insertTearOffHandle(); + public native void activateItemAt(int index); + public native QRect itemGeometry(int index); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native int itemHeight(int arg1); + protected native int itemHeight(QMenuItem mi); + protected native void drawItem(QPainter p, int tab, QMenuItem mi, boolean act, int x, int y, int w, int h); + protected native void drawContents(QPainter arg1); + protected native void closeEvent(QCloseEvent e); + protected native void paintEvent(QPaintEvent arg1); + protected native void mousePressEvent(QMouseEvent arg1); + protected native void mouseReleaseEvent(QMouseEvent arg1); + protected native void mouseMoveEvent(QMouseEvent arg1); + protected native void keyPressEvent(QKeyEvent arg1); + protected native void focusInEvent(QFocusEvent arg1); + protected native void focusOutEvent(QFocusEvent arg1); + protected native void timerEvent(QTimerEvent arg1); + protected native void leaveEvent(QEvent arg1); + public native void styleChange(QStyle arg1); + protected native void enabledChange(boolean arg1); + protected native int columns(); + protected native boolean focusNextPrevChild(boolean next); + protected native int itemAtPos(QPoint arg1, boolean ignoreSeparator); + protected native int itemAtPos(QPoint 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(); + public native int count(); + public native int insertItem(String text, QObject receiver, String member, QKeySequence accel, int id, int index); + public native int insertItem(String text, QObject receiver, String member, QKeySequence accel, int id); + public native int insertItem(String text, QObject receiver, String member, QKeySequence accel); + public native int insertItem(String text, QObject receiver, String member); + public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel, int id, int index); + public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel, int id); + public native int insertItem(QIconSet icon, String text, QObject receiver, String member, QKeySequence accel); + public native int insertItem(QIconSet icon, String text, QObject receiver, String member); + public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id, int index); + public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id); + public native int insertItem(QPixmap pixmap, QObject receiver, String member, QKeySequence accel); + public native int insertItem(QPixmap pixmap, QObject receiver, String member); + public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id, int index); + public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel, int id); + public native int insertItem(QIconSet icon, QPixmap pixmap, QObject receiver, String member, QKeySequence accel); + public native int insertItem(QIconSet icon, QPixmap pixmap, QObject 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(QIconSet icon, String text, int id, int index); + public native int insertItem(QIconSet icon, String text, int id); + public native int insertItem(QIconSet icon, String text); + public native int insertItem(String text, QPopupMenu popup, int id, int index); + public native int insertItem(String text, QPopupMenu popup, int id); + public native int insertItem(String text, QPopupMenu popup); + public native int insertItem(QIconSet icon, String text, QPopupMenu popup, int id, int index); + public native int insertItem(QIconSet icon, String text, QPopupMenu popup, int id); + public native int insertItem(QIconSet icon, String text, QPopupMenu popup); + public native int insertItem(QPixmap pixmap, int id, int index); + public native int insertItem(QPixmap pixmap, int id); + public native int insertItem(QPixmap pixmap); + public native int insertItem(QIconSet icon, QPixmap pixmap, int id, int index); + public native int insertItem(QIconSet icon, QPixmap pixmap, int id); + public native int insertItem(QIconSet icon, QPixmap pixmap); + public native int insertItem(QPixmap pixmap, QPopupMenu popup, int id, int index); + public native int insertItem(QPixmap pixmap, QPopupMenu popup, int id); + public native int insertItem(QPixmap pixmap, QPopupMenu popup); + public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup, int id, int index); + public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup, int id); + public native int insertItem(QIconSet icon, QPixmap pixmap, QPopupMenu popup); + public native int insertItem(QWidget widget, int id, int index); + public native int insertItem(QWidget widget, int id); + public native int insertItem(QWidget widget); + public native int insertItem(QIconSet icon, QCustomMenuItem custom, int id, int index); + public native int insertItem(QIconSet icon, QCustomMenuItem custom, int id); + public native int insertItem(QIconSet icon, QCustomMenuItem custom); + public native int insertItem(QCustomMenuItem custom, int id, int index); + public native int insertItem(QCustomMenuItem custom, int id); + public native int insertItem(QCustomMenuItem 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 QKeySequence accel(int id); + public native void setAccel(QKeySequence key, int id); + public native QIconSet iconSet(int id); + public native String text(int id); + public native QPixmap 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, QPixmap pixmap); + public native void changeItem(int id, QIconSet icon, String text); + public native void changeItem(int id, QIconSet icon, QPixmap pixmap); + public native void changeItem(String text, int id); + public native void changeItem(QPixmap pixmap, int id); + public native void changeItem(QIconSet 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 int indexOf(int id); + public native void setId(int index, int id); + public native boolean connectItem(int id, QObject receiver, String member); + public native boolean disconnectItem(int id, QObject receiver, String member); + public native boolean setItemParameter(int id, int param); + public native int itemParameter(int id); + public native QMenuItem findItem(int id); + // QMenuItem* findItem(int arg1,QMenuData** arg2); >>>> NOT CONVERTED + public native QMenuItem findPopup(QPopupMenu arg1, int[] index); + public native QMenuItem findPopup(QPopupMenu arg1); + protected native void menuContentsChanged(); + protected native void menuStateChanged(); + protected native void menuInsPopup(QPopupMenu arg1); + protected native void menuDelPopup(QPopupMenu arg1); +} |