diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtjava/javalib/org/kde/qt/QMenuBar.java | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QMenuBar.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QMenuBar.java | 186 |
1 files changed, 93 insertions, 93 deletions
diff --git a/qtjava/javalib/org/kde/qt/QMenuBar.java b/qtjava/javalib/org/kde/qt/QMenuBar.java index 1c23c428..79348358 100644 --- a/qtjava/javalib/org/kde/qt/QMenuBar.java +++ b/qtjava/javalib/org/kde/qt/QMenuBar.java @@ -4,62 +4,62 @@ package org.kde.qt; import org.kde.qt.Qt; /** - See {@link QMenuBarSignals} for signals emitted by QMenuBar + See {@link TQMenuBarSignals} for signals emitted by TQMenuBar */ -public class QMenuBar extends QFrame implements QMenuDataInterface { - protected QMenuBar(Class dummy){super((Class) null);} +public class TQMenuBar extends TQFrame implements TQMenuDataInterface { + protected TQMenuBar(Class dummy){super((Class) null);} public static final int Never = 0; public static final int InWindowsStyle = 1; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QMenuBar(QWidget parent, String name) { + public TQMenuBar(TQWidget parent, String name) { super((Class) null); - newQMenuBar(parent,name); + newTQMenuBar(parent,name); } - private native void newQMenuBar(QWidget parent, String name); - public QMenuBar(QWidget parent) { + private native void newTQMenuBar(TQWidget parent, String name); + public TQMenuBar(TQWidget parent) { super((Class) null); - newQMenuBar(parent); + newTQMenuBar(parent); } - private native void newQMenuBar(QWidget parent); - public QMenuBar() { + private native void newTQMenuBar(TQWidget parent); + public TQMenuBar() { super((Class) null); - newQMenuBar(); + newTQMenuBar(); } - private native void newQMenuBar(); + private native void newTQMenuBar(); public native void updateItem(int id); public native void show(); public native void hide(); - public native boolean eventFilter(QObject arg1, QEvent arg2); + public native boolean eventFilter(TQObject arg1, TQEvent arg2); 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(); - public native QSize sizeHint(); - public native QSize minimumSize(); - public native QSize minimumSizeHint(); + public native TQSize sizeHint(); + public native TQSize minimumSize(); + public native TQSize minimumSizeHint(); public native void activateItemAt(int index); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - protected native void drawContents(QPainter arg1); - protected native void fontChange(QFont 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 resizeEvent(QResizeEvent arg1); - protected native void leaveEvent(QEvent arg1); + 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); protected native void menuContentsChanged(); protected native void menuStateChanged(); - public native void styleChange(QStyle arg1); - protected native int itemAtPos(QPoint arg1); + public native void styleChange(TQStyle arg1); + protected native int itemAtPos(TQPoint arg1); protected native void hidePopups(); - protected native QRect itemRect(int item); + protected native TQRect itemRect(int item); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ @@ -67,74 +67,74 @@ public class QMenuBar extends QFrame implements QMenuDataInterface { /** 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, 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(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 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 QKeySequence accel(int id); - public native void setAccel(QKeySequence key, int id); - public native QIconSet iconSet(int id); + 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 QPixmap pixmap(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, 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(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(QPixmap pixmap, int id); - public native void changeItem(QIconSet icon, 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); @@ -145,14 +145,14 @@ public class QMenuBar extends QFrame implements QMenuDataInterface { 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, QObject receiver, String member); - public native boolean disconnectItem(int id, QObject receiver, String member); + 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 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 menuInsPopup(QPopupMenu arg1); - protected native void menuDelPopup(QPopupMenu arg1); + 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); } |