#include <JQToolButtonBridge.h>
Public Slots | |
void | setMenu (JNIEnv *env, jlong menuBridge) |
Sets menu. | |
void | setPopupMode (JNIEnv *env, jint popupMode) |
Sets popup mode. | |
void | setToolButtonStyle (JNIEnv *env, jint toolButtonStyle) |
Sets tool button style. | |
Public Member Functions | |
QToolButton * | qToolButton () const |
Returns QToolButton adaptee. | |
Static Public Member Functions | |
static jlong | newInstance (JNIEnv *env, jobject obj) |
Returns new instance of the bridge object. | |
Protected Member Functions | |
JQToolButtonBridge (JNIEnv *env, jobject obj) | |
Constructs new JQToolButtonBridge object. |
JQToolButtonBridge::JQToolButtonBridge | ( | JNIEnv * | env, | |
jobject | obj | |||
) | [protected] |
Constructs new JQToolButtonBridge object.
env | the JNIEnv pointer | |
obj | the JQToolButton object |
void JQToolButtonBridge::setMenu | ( | JNIEnv * | env, | |
jlong | menuBridge | |||
) | [slot] |
Sets menu.
env | the JNIEnv pointer | |
menuBridge | the menu bridge pointer |
void JQToolButtonBridge::setPopupMode | ( | JNIEnv * | env, | |
jint | popupMode | |||
) | [slot] |
Sets popup mode.
env | the JNIEnv pointer | |
popupMode | the popup mode |
void JQToolButtonBridge::setToolButtonStyle | ( | JNIEnv * | env, | |
jint | toolButtonStyle | |||
) | [slot] |
Sets tool button style.
env | the JNIEnv pointer | |
toolButtonStyle | the tool button style |
jlong JQToolButtonBridge::newInstance | ( | JNIEnv * | env, | |
jobject | obj | |||
) | [static] |
Returns new instance of the bridge object.
env | the JNIEnv pointer | |
obj | the QSwing object |
Reimplemented from JQAbstractButtonBridge.
QToolButton * JQToolButtonBridge::qToolButton | ( | ) | const [inline] |
Returns QToolButton adaptee.