diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QToolButton.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QToolButton.java | 82 |
1 files changed, 41 insertions, 41 deletions
diff --git a/qtjava/javalib/org/kde/qt/QToolButton.java b/qtjava/javalib/org/kde/qt/QToolButton.java index c0b5a3d1..8ffdfc67 100644 --- a/qtjava/javalib/org/kde/qt/QToolButton.java +++ b/qtjava/javalib/org/kde/qt/QToolButton.java @@ -3,60 +3,60 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QToolButton extends QButton { - protected QToolButton(Class dummy){super((Class) null);} +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 QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); - public QToolButton(QWidget parent, String name) { + public TQToolButton(TQWidget parent, String name) { super((Class) null); - newQToolButton(parent,name); + newTQToolButton(parent,name); } - private native void newQToolButton(QWidget parent, String name); - public QToolButton(QWidget parent) { + private native void newTQToolButton(TQWidget parent, String name); + public TQToolButton(TQWidget parent) { super((Class) null); - newQToolButton(parent); + newTQToolButton(parent); } - private native void newQToolButton(QWidget parent); - public QToolButton(QIconSet s, String textLabel, String grouptext, QObject receiver, String slot, QToolBar parent, String name) { + 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); - newQToolButton(s,textLabel,grouptext,receiver,slot,parent,name); + newTQToolButton(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) { + 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); - newQToolButton(s,textLabel,grouptext,receiver,slot,parent); + newTQToolButton(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) { + 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); - newQToolButton(type,parent,name); + newTQToolButton(type,parent,name); } - private native void newQToolButton(int type, QWidget parent, String name); - public QToolButton(int type, QWidget parent) { + private native void newTQToolButton(int type, TQWidget parent, String name); + public TQToolButton(int type, TQWidget parent) { super((Class) null); - newQToolButton(type,parent); + newTQToolButton(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(); + 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(QPopupMenu popup); - public native QPopupMenu popup(); + public native void setPopup(TQPopupMenu popup); + public native TQPopupMenu popup(); public native void setPopupDelay(int delay); public native int popupDelay(); public native void openPopup(); @@ -74,15 +74,15 @@ public class QToolButton extends QButton { 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 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(QObject o, QEvent e); - protected native void paletteChange(QPalette arg1); + 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() */ |