diff options
Diffstat (limited to 'qtjava/javalib/org/trinitydesktop/qt/TQToolButton.java')
-rw-r--r-- | qtjava/javalib/org/trinitydesktop/qt/TQToolButton.java | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQToolButton.java b/qtjava/javalib/org/trinitydesktop/qt/TQToolButton.java new file mode 100644 index 00000000..1db010c1 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQToolButton.java @@ -0,0 +1,92 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQToolButton extends TQButton { + protected TQToolButton(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 TQMetaObject metaObject(); + public native String className(); + public TQToolButton(TQWidget parent, String name) { + super((Class) null); + newTQToolButton(parent,name); + } + private native void newTQToolButton(TQWidget parent, String name); + public TQToolButton(TQWidget parent) { + super((Class) null); + newTQToolButton(parent); + } + private native void newTQToolButton(TQWidget parent); + public TQToolButton(TQIconSet s, String textLabel, String grouptext, TQObject receiver, String slot, TQToolBar parent, String name) { + super((Class) null); + newTQToolButton(s,textLabel,grouptext,receiver,slot,parent,name); + } + private native void newTQToolButton(TQIconSet s, String textLabel, String grouptext, TQObject receiver, String slot, TQToolBar parent, String name); + public TQToolButton(TQIconSet s, String textLabel, String grouptext, TQObject receiver, String slot, TQToolBar parent) { + super((Class) null); + newTQToolButton(s,textLabel,grouptext,receiver,slot,parent); + } + private native void newTQToolButton(TQIconSet s, String textLabel, String grouptext, TQObject receiver, String slot, TQToolBar parent); + public TQToolButton(int type, TQWidget parent, String name) { + super((Class) null); + newTQToolButton(type,parent,name); + } + private native void newTQToolButton(int type, TQWidget parent, String name); + public TQToolButton(int type, TQWidget parent) { + super((Class) null); + newTQToolButton(type,parent); + } + private native void newTQToolButton(int type, TQWidget parent); + public native TQSize sizeHint(); + public native TQSize minimumSizeHint(); + public native void setOnIconSet(TQIconSet arg1); + public native void setOffIconSet(TQIconSet arg1); + public native void setIconSet(TQIconSet arg1, boolean on); + public native TQIconSet onIconSet(); + public native TQIconSet offIconSet(); + public native TQIconSet iconSet(boolean on); + public native void setIconSet(TQIconSet arg1); + public native TQIconSet iconSet(); + public native boolean usesBigPixmap(); + public native boolean usesTextLabel(); + public native String textLabel(); + public native void setPopup(TQPopupMenu popup); + public native TQPopupMenu 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(TQMouseEvent arg1); + protected native void drawButton(TQPainter arg1); + protected native void drawButtonLabel(TQPainter arg1); + protected native void enterEvent(TQEvent arg1); + protected native void leaveEvent(TQEvent arg1); + protected native void moveEvent(TQMoveEvent arg1); + protected native boolean uses3D(); + public native boolean eventFilter(TQObject o, TQEvent e); + protected native void paletteChange(TQPalette 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(); +} |