diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QAction.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QAction.java | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QAction.java b/qtjava/javalib/org/kde/qt/QAction.java new file mode 100644 index 00000000..365bfc40 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/QAction.java @@ -0,0 +1,115 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link QActionSignals} for signals emitted by QAction +*/ +public class QAction extends QObject { + protected QAction(Class dummy){super((Class) null);} + public native QMetaObject metaObject(); + public native String className(); + public QAction(QObject parent, String name) { + super((Class) null); + newQAction(parent,name); + } + private native void newQAction(QObject parent, String name); + public QAction(QObject parent) { + super((Class) null); + newQAction(parent); + } + private native void newQAction(QObject parent); + public QAction(String menuText, QKeySequence accel, QObject parent, String name) { + super((Class) null); + newQAction(menuText,accel,parent,name); + } + private native void newQAction(String menuText, QKeySequence accel, QObject parent, String name); + public QAction(String menuText, QKeySequence accel, QObject parent) { + super((Class) null); + newQAction(menuText,accel,parent); + } + private native void newQAction(String menuText, QKeySequence accel, QObject parent); + public QAction(QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name) { + super((Class) null); + newQAction(icon,menuText,accel,parent,name); + } + private native void newQAction(QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name); + public QAction(QIconSet icon, String menuText, QKeySequence accel, QObject parent) { + super((Class) null); + newQAction(icon,menuText,accel,parent); + } + private native void newQAction(QIconSet icon, String menuText, QKeySequence accel, QObject parent); + public QAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name, boolean toggle) { + super((Class) null); + newQAction(text,icon,menuText,accel,parent,name,toggle); + } + private native void newQAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name, boolean toggle); + public QAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name) { + super((Class) null); + newQAction(text,icon,menuText,accel,parent,name); + } + private native void newQAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent, String name); + public QAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent) { + super((Class) null); + newQAction(text,icon,menuText,accel,parent); + } + private native void newQAction(String text, QIconSet icon, String menuText, QKeySequence accel, QObject parent); + public QAction(String text, String menuText, QKeySequence accel, QObject parent, String name, boolean toggle) { + super((Class) null); + newQAction(text,menuText,accel,parent,name,toggle); + } + private native void newQAction(String text, String menuText, QKeySequence accel, QObject parent, String name, boolean toggle); + public QAction(String text, String menuText, QKeySequence accel, QObject parent, String name) { + super((Class) null); + newQAction(text,menuText,accel,parent,name); + } + private native void newQAction(String text, String menuText, QKeySequence accel, QObject parent, String name); + public QAction(String text, String menuText, QKeySequence accel, QObject parent) { + super((Class) null); + newQAction(text,menuText,accel,parent); + } + private native void newQAction(String text, String menuText, QKeySequence accel, QObject parent); + public QAction(QObject parent, String name, boolean toggle) { + super((Class) null); + newQAction(parent,name,toggle); + } + private native void newQAction(QObject parent, String name, boolean toggle); + public native void setIconSet(QIconSet arg1); + public native QIconSet iconSet(); + public native void setText(String arg1); + public native String text(); + public native void setMenuText(String arg1); + public native String menuText(); + public native void setToolTip(String arg1); + public native String toolTip(); + public native void setStatusTip(String arg1); + public native String statusTip(); + public native void setWhatsThis(String arg1); + public native String whatsThis(); + public native void setAccel(QKeySequence key); + public native QKeySequence accel(); + public native void setToggleAction(boolean arg1); + public native boolean isToggleAction(); + public native boolean isOn(); + public native boolean isEnabled(); + public native boolean isVisible(); + public native boolean addTo(QWidget arg1); + public native boolean removeFrom(QWidget arg1); + public native void activate(); + public native void toggle(); + public native void setOn(boolean arg1); + public native void setEnabled(boolean arg1); + public native void setDisabled(boolean arg1); + public native void setVisible(boolean arg1); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void addedTo(QWidget actionWidget, QWidget container); + protected native void addedTo(int index, QPopupMenu menu); + /** 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(); +} |