diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | 90825e2392b2d70e43c7a25b8a3752299a933894 (patch) | |
tree | e33aa27f02b74604afbfd0ea4f1cfca8833d882a /qtjava/javalib/org/kde/qt/QButton.java | |
download | tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QButton.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QButton.java | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QButton.java b/qtjava/javalib/org/kde/qt/QButton.java new file mode 100644 index 00000000..57a3ab1f --- /dev/null +++ b/qtjava/javalib/org/kde/qt/QButton.java @@ -0,0 +1,85 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; + +/** + See {@link QButtonSignals} for signals emitted by QButton +*/ +public class QButton extends QWidget { + protected QButton(Class dummy){super((Class) null);} + public static final int SingleShot = 0; + public static final int Toggle = 1; + public static final int Tristate = 2; + + public static final int Off = 0; + public static final int NoChange = 1; + public static final int On = 2; + + public native QMetaObject metaObject(); + public native String className(); + public QButton(QWidget parent, String name, int f) { + super((Class) null); + newQButton(parent,name,f); + } + private native void newQButton(QWidget parent, String name, int f); + public QButton(QWidget parent, String name) { + super((Class) null); + newQButton(parent,name); + } + private native void newQButton(QWidget parent, String name); + public QButton(QWidget parent) { + super((Class) null); + newQButton(parent); + } + private native void newQButton(QWidget parent); + public QButton() { + super((Class) null); + newQButton(); + } + private native void newQButton(); + public native String text(); + public native void setText(String arg1); + public native QPixmap pixmap(); + public native void setPixmap(QPixmap arg1); + public native QKeySequence accel(); + public native void setAccel(QKeySequence arg1); + public native boolean isToggleButton(); + public native int toggleType(); + public native void setDown(boolean arg1); + public native boolean isDown(); + public native boolean isOn(); + public native int state(); + public native boolean autoResize(); + public native void setAutoResize(boolean arg1); + public native boolean autoRepeat(); + public native void setAutoRepeat(boolean arg1); + public native boolean isExclusiveToggle(); + public native QButtonGroup group(); + public native void animateClick(); + public native void toggle(); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); + protected native void setToggleButton(boolean arg1); + protected native void setToggleType(int arg1); + protected native void setOn(boolean arg1); + public native void setState(int arg1); + protected native boolean hitButton(QPoint pos); + protected native void drawButton(QPainter arg1); + protected native void drawButtonLabel(QPainter arg1); + protected native void keyPressEvent(QKeyEvent arg1); + protected native void keyReleaseEvent(QKeyEvent arg1); + protected native void mousePressEvent(QMouseEvent arg1); + protected native void mouseReleaseEvent(QMouseEvent arg1); + protected native void mouseMoveEvent(QMouseEvent arg1); + protected native void paintEvent(QPaintEvent arg1); + protected native void focusInEvent(QFocusEvent arg1); + protected native void focusOutEvent(QFocusEvent arg1); + protected native void enabledChange(boolean 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(); +} |