diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QToolButton.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QToolButton.java | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QToolButton.java b/qtjava/javalib/org/kde/qt/QToolButton.java new file mode 100644 index 00000000..c0b5a3d1 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/QToolButton.java @@ -0,0 +1,92 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +public class QToolButton extends QButton { + protected QToolButton(Class dummy){super((Class) null);} + public static final int BesideIcon = 0; + public static final int BelowIcon = 1; + public static final int Right = BesideIcon; + public static final int Under = BelowIcon; + + public native QMetaObject metaObject(); + public native String className(); + public QToolButton(QWidget parent, String name) { + super((Class) null); + newQToolButton(parent,name); + } + private native void newQToolButton(QWidget parent, String name); + public QToolButton(QWidget parent) { + super((Class) null); + newQToolButton(parent); + } + private native void newQToolButton(QWidget parent); + public QToolButton(QIconSet s, String textLabel, String grouptext, QObject receiver, String slot, QToolBar parent, String name) { + super((Class) null); + newQToolButton(s,textLabel,grouptext,receiver,slot,parent,name); + } + private native void newQToolButton(QIconSet s, String textLabel, String grouptext, QObject receiver, String slot, QToolBar parent, String name); + public QToolButton(QIconSet s, String textLabel, String grouptext, QObject receiver, String slot, QToolBar parent) { + super((Class) null); + newQToolButton(s,textLabel,grouptext,receiver,slot,parent); + } + private native void newQToolButton(QIconSet s, String textLabel, String grouptext, QObject receiver, String slot, QToolBar parent); + public QToolButton(int type, QWidget parent, String name) { + super((Class) null); + newQToolButton(type,parent,name); + } + private native void newQToolButton(int type, QWidget parent, String name); + public QToolButton(int type, QWidget parent) { + super((Class) null); + newQToolButton(type,parent); + } + private native void newQToolButton(int type, QWidget parent); + public native QSize sizeHint(); + public native QSize minimumSizeHint(); + public native void setOnIconSet(QIconSet arg1); + public native void setOffIconSet(QIconSet arg1); + public native void setIconSet(QIconSet arg1, boolean on); + public native QIconSet onIconSet(); + public native QIconSet offIconSet(); + public native QIconSet iconSet(boolean on); + public native void setIconSet(QIconSet arg1); + public native QIconSet iconSet(); + public native boolean usesBigPixmap(); + public native boolean usesTextLabel(); + public native String textLabel(); + public native void setPopup(QPopupMenu popup); + public native QPopupMenu popup(); + public native void setPopupDelay(int delay); + public native int popupDelay(); + public native void openPopup(); + public native void setAutoRaise(boolean enable); + public native boolean autoRaise(); + public native int textPosition(); + public native void setText(String txt); + public native void setUsesBigPixmap(boolean enable); + public native void setUsesTextLabel(boolean enable); + public native void setTextLabel(String arg1, boolean arg2); + public native void setToggleButton(boolean enable); + public native void setOn(boolean enable); + public native void toggle(); + public native void setTextLabel(String arg1); + public native void setTextPosition(int pos); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void mousePressEvent(QMouseEvent arg1); + protected native void drawButton(QPainter arg1); + protected native void drawButtonLabel(QPainter arg1); + protected native void enterEvent(QEvent arg1); + protected native void leaveEvent(QEvent arg1); + protected native void moveEvent(QMoveEvent arg1); + protected native boolean uses3D(); + public native boolean eventFilter(QObject o, QEvent e); + protected native void paletteChange(QPalette 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(); +} |